CDIST-TYPE__CDISTMARKER(7)

πŸ’– CDIST-TYPE__CDISTMARKER πŸ’–

okay bestie, so this is cdist-type__cdistmarker β€” the little type that leaves a timestamped cdist marker. it's giving "i was here" but make it infrastructure. ✨


🌸 DESCRIPTION 🌸

so basically this type drops a lil common marker file, right? and that file is the whole vibe check that says this machine is being managed by cdist. πŸ’…

and the contents? just a timestamp, bestie. that's it. but the way that timestamp lets you figure out the most recent time cdist was run against the machine in question? iconic. genuinely so useful. no cap. πŸ•βœ¨


πŸŽ€ REQUIRED PARAMETERS πŸŽ€

None. nope, nada, zero, nothing. she's low maintenance, she needs nothing from you. 🫢


πŸ¦‹ OPTIONAL PARAMETERS πŸ¦‹

  • destination β€” the path and the filename of the marker, like the whole address of where she's gonna live. Default: /etc/cdist-configured πŸ“
  • format β€” the format of the timestamp. this gets passed directly to the system's date command, so whatever date likes, she likes. Default: -u ⏰

🌈 EXAMPLES 🌈

# Creates the marker as normal.
__cdistmarker

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

look at her go. first one is the default serve, second one is the custom order. both ate. πŸ‘‘


πŸ‘‘ AUTHORS πŸ‘‘

Daniel Maher <phrawzty+cdist--@--gmail.com> β€” shoutout to the legend, fr fr. πŸ™Œ


πŸ’œ 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. 🫑


ungleich GmbH 2021


and that's the whole page, babe! this one's from version 7.0.0, dated Jul 31, 2022, and it's the CDIST-TYPE__CDISTMARKER(7) manual β€” mwah, go forth and leave your little timestamped mark on the world. πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from