---
name: "cdist-type__cdistmarker"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__cdistmarker"
---

# cdist-type\_\_cdistmarker(7)

Add a timestamped cdist marker.

## NAME

cdist-type\_\_cdistmarker - Add a timestamped cdist marker.

## 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

- **destination**

  The path and filename of the marker. Default: /etc/cdist-configured

- **format**

  The format of the timestamp. This is passed directly to system 'date'. Default: -u

## EXAMPLES

```
# Creates the marker as normal.
__cdistmarker
# Creates the marker differently.
__cdistmarker --destination /tmp/cdist_marker --format '+%s'
```

## AUTHORS

Daniel Maher \<*phrawzty+cdist--@--gmail.com*\>

## COPYING

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.

## COPYRIGHT

ungleich GmbH 2021
