The following promises.cf file: body common control { bundlesequence => {"configurePhase"}; }
bundle agent configurePhase { methods: "any" usebundle => configure1(), ifvarclass => fileexists("/etc/group"); "any" usebundle => configure2(), ifvarclass => fileexists("/etc/fstab"); } bundle agent configure1() { reports: linux:: "Hi World"; } bundle agent configure2() { reports: linux:: "Hello World"; } does not produce the expected result. Normally as both /etc/group and /etc/fstab exist on the system, both configure1 and configure2 should be executed. For some reason only configure1 is. The file argument on the second ifvarclass does not matter (always fail). If I remove the ifvarclass or use something else than fileexists though, it will work ok. Can you please acknowledge this bug, fix it and maybe provide a workaround until the next version ? This bug is quite critical I would say, I am running 3.0.2. -- Jean-Noël Rivasseau
_______________________________________________ Bug-cfengine mailing list Bug-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/bug-cfengine