Check and install promises: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
Once created, the script runs <code>[[cf-promises]]</code> to validate the new <code>promises.cf</code>. Once validated, the file is copied to <code>[[/var/lib/cfengine3/inputs]]/</code> from whence it is distributed to all the [[cfengine]] client hosts as part of their regular <code>[[cf-agent]]</code> update runs. | Once created, the script runs <code>[[cf-promises]]</code> to validate the new <code>promises.cf</code>. Once validated, the file is copied to <code>[[/var/lib/cfengine3/inputs]]/</code> from whence it is distributed to all the [[cfengine]] client hosts as part of their regular <code>[[cf-agent]]</code> update runs. | ||
<code>check_and_install_promises</code> must be run manually on the cfengine hub after | <code>check_and_install_promises</code> must be run manually on the cfengine hub after any changes are made to the <code>promises.cf</code> components. |
Latest revision as of 10:33, 5 September 2023
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
file to create the cfengine promises.cf
from component *.inc
files in the same directory.
Once created, the script runs cf-promises
to validate the new promises.cf
. Once validated, the file is copied to /var/lib/cfengine3/inputs/
from whence it is distributed to all the cfengine client hosts as part of their regular cf-agent
update runs.
check_and_install_promises
must be run manually on the cfengine hub after any changes are made to the promises.cf
components.