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

53 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2012-01-06 15:58:58 +00:00
cdist-type__cdistmarker(7)
==========================
2016-05-20 06:50:56 +00:00
Add a timestamped cdist marker.
2012-01-06 15:58:58 +00:00
2016-05-20 06:50:56 +00:00
Daniel Maher <phrawzty+cdist--@--gmail.com>
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
SEE ALSO
--------
2016-05-20 06:50:56 +00:00
- `cdist-type(7) <cdisty-type.html>`_
2012-01-06 15:58:58 +00:00
COPYING
-------
Copyright \(C) 2011 Daniel Maher. Free use of this software is granted under
the terms of the GNU General Public License version 3 (GPLv3).