I presume, it's left there because of cf-runagent command which cannot use sequenced shell actions.
2010/9/16 Eystein Måløy Stenberg <eystein.stenb...@gmail.com>: > Hi, > > I don't think so. In the Nova policies, update is only in failsafe.cf. > Probably it's just a left-over from somewhere. > > -- > Regards, > Eystein > > On Thu, Sep 16, 2010 at 12:30 PM, Davide Brini <dave...@gmx.com> wrote: >> 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 >> > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine