cdist/cdist/conf/type/__cdistmarker/man.rst

56 lines
1.2 KiB
ReStructuredText
Raw Normal View History

2012-01-06 15:58:58 +00:00
cdist-type__cdistmarker(7)
==========================
NAME
----
cdist-type__cdistmarker - Add a timestamped cdist marker.
2012-01-06 15:58:58 +00:00
DESCRIPTION
-----------
This type is used to add a common marker file which indicates that a given
machine is being managed by cdist. The contents of this file consist of a
timestamp, which can be used to determine the most recent time at which cdist
was run against the machine in question.
REQUIRED PARAMETERS
-------------------
None.
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
destination
2012-01-06 15:58:58 +00:00
The path and filename of the marker.
Default: /etc/cdist-configured
2016-05-20 06:50:56 +00:00
format
2012-01-06 15:58:58 +00:00
The format of the timestamp. This is passed directly to system 'date'.
Default: -u
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
# Creates the marker as normal.
__cdistmarker
2012-01-06 15:58:58 +00:00
2016-05-20 06:50:56 +00:00
# Creates the marker differently.
__cdistmarker --destination /tmp/cdist_marker --format '+%s'
2012-01-06 15:58:58 +00:00
AUTHORS
-------
Daniel Maher <phrawzty+cdist--@--gmail.com>
2012-01-06 15:58:58 +00:00
COPYING
-------
2016-08-10 16:15:54 +00:00
Copyright \(C) 2011 Daniel Maher. You can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.