CFEngine has a server component where configuration changes are written to, and a client side component that downloads and applies them. When testing around, it’s useful to be able to tell the client to download and execute these “promises” (as they are called in cfengine speak) immediately rather than waiting for the various daemons to kick in. This is how it can be done:
On the hub:
cf-agent -K -f failsafe.cf cf-promises
On the client
rm -f /var/cfengine/inputs/cf_promises_validated cf-agent -K -f failsafe.cf # Download new promises cf-agent -vK #execute new promises in verbose mode
Happy configuration managing !