Forum: CFEngine Help Subject: Re: seek second thought Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24549,24550#msg-24550
I would strongly prefer the second method - that is what cf-runagent and its ability to define classes are for. Modifying policies automatically feels dangerous and full of failure opportunities. What if the update process fails and the client never removes the marker file, for example? Any promise can be conditioned with ifvarclass, it's one of the common attributes: https://cfengine.com/manuals/cf3-reference.html#ifvarclass-in-_002a _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine