Michael is certainly correct, but the other side of the answer is: why worry about it? Cfengine is designed to be convergent - if you make a change to your masterfiles, your inputs will be updated soon enough.
If you're worried about testing your changes, then the better way to do it is have a sandbox directory, with a copy of all your promises. Do all of your testing there (cf-agent -f ./promises.cf while in the sandbox), and only update masterfiles when you're satisfied the changes are correct (all "inputs" are relative to the promises being executed). -Dan On Oct 27, 2010, at 8:17 AM, Michael Potter wrote: > Generally cf-execd executes cf-agent like this: cf-agent -f failsafe.cf && > cf-agent - the effect being what you described. Of course you are free to > change how cf-execd calls cf-agent, or maybe you dont use cf-execd at all... > > On Wed, Oct 27, 2010 at 11:11 PM, <no-re...@cfengine.com> wrote: > Forum: Cfengine Help > Subject: Read input files after update > Author: Lars.O > Link to topic: https://cfengine.com/forum/read.php?3,18905,18905#msg-18905 > > Is there a way to tell Cfengine 3 to update input files from the master > before reading them? > Now I always need to run cfengine twice for the updates to be applied. > Or do I need a script containing something like > /var/cfengine/bin/cf-agent -f /var/cfengine/inputs/failsafe.cf > /var/cfengine/bin/cf-agent -K > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine