Check and install promises

From techdocs
Revision as of 14:31, 14 Haziran 2022 by Plinich (talk | contribs) (Created page with "Type: file, executable script Location: <code>/usr/local/administration/check_and_install_promises</code> on the cfengine hub. <code>check_and_install_promises</code> is a shell script which runs <code>m4</code> to process the <code>/var/lib/cfengine/masterfiles/promises.m4</code> to create <code>promises.cf</code> from component <code>*.inc</code> in the same directory. Once created, the script runs <code>cf-promises</code> to validate the new <co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Type: file, executable script

Location: /usr/local/administration/check_and_install_promises on the cfengine hub.

check_and_install_promises is a shell script which runs m4 to process the /var/lib/cfengine/masterfiles/promises.m4 to create promises.cf from component *.inc in the same directory.

Once created, the script runs cf-promises to validate the new promises.cf. Once passed, the file is copied to /var/lib/cfengine/inputs/ from whence it is distributed to all the cfengine client hosts as part of their regular cf-agent update runs.