(export-datum->tar-item entity datum)Inputs: [entity datum] Returns: utils/tar-item
Creates a tar-item map for a PuppetDB entity
Inputs: [entity datum] Returns: utils/tar-item Creates a tar-item map for a PuppetDB entity
(export-filename {:keys [certname producer_timestamp]})For anything we store historically and need unique names
For anything we store historically and need unique names
Order is important here because we have to make sure the fact expiration status makes it into the exported tarball first, so that it is later imported first. This will ensure factsets belonging to nodes with expiration set to false are not subject to garbage collection during the import.
Order is important here because we have to make sure the fact expiration status makes it into the exported tarball first, so that it is later imported first. This will ensure factsets belonging to nodes with expiration set to false are not subject to garbage collection during the import.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |