Hello,

I've just installed cfengine 3 under ubuntu lucid, and I was looking at the 
supplied .cf files. It seems that the "update" bundle is run twice every time:

body executor control
{
...
# Instead of a separate update script, now do this
exec_command => 
  "$(sys.workdir)/bin/cf-agent -f failsafe.cf && $(sys.workdir)/bin/cf-agent";
}

In failsafe.cf we have:

bundlesequence => { "update" };

and in promises.cf:

bundlesequence => { "update", "garbage_collection", "main", "cfengine" };

which effectively means running the "update" bundle twice. I know that the 
second run of "update" will probably do nothing due to locking, but I was 
wondering if there is a special reason for doing things this way. 

-- 
D.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to