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
Forum: Cfengine Help
Subject: Re: Cfengine Help: Read input files after update
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18906,18913#msg-18913
That's what you use cfengine to check. You should not have to log onto machines
ever
Forum: Cfengine Help
Subject: Re: Cfengine Help: Read input files after update
Author: Lars.O
Link to topic: https://cfengine.com/forum/read.php?3,18906,18912#msg-18912
Ok, thanks :-). Now I know how it works, and I think I know what to do.
(But I for one am not going to log into hundreds of
Forum: Cfengine Help
Subject: Re: Cfengine Help: Read input files after update
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18906,18911#msg-18911
One possibility is:
Cf-agent can restart execd after an update
After a reboot, you use an init script to restart,
Cfexecd will
Forum: Cfengine Help
Subject: Re: Cfengine Help: Read input files after update
Author: Lars.O
Link to topic: https://cfengine.com/forum/read.php?3,18906,18910#msg-18910
It's true that cfengine is much easier to manage than cron.
But who starts cf-execd if it stops running, unless cron does
Forum: Cfengine Help
Subject: Re: Cfengine Help: Read input files after update
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18906,18909#msg-18909
Lars
Cfengine is much easier to manage than cron. With cron you have to edit one
file on every computer. With Cfengine you just
Forum: Cfengine Help
Subject: Re: Cfengine Help: Read input files after update
Author: Lars.O
Link to topic: https://cfengine.com/forum/read.php?3,18906,18908#msg-18908
I see.
I just thought that as I have no plans to send mails, (syslog I'm not sure of),
and still need something like cr
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, wrote:
> Forum: Cfengine Help
> Subj
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 update