Michael Potter <[email protected]> writes:
> I think the problem is you are using if_ok to set "SomeSMTPHostReplaced".
> Try using if_repaired instead...
Seemes that the problem is that the promise is repaired at every run.
The difference between if_ok and if_repaired body classes is for the
definition of "NoSMTPHostReplaced" in my example:
#v+
body classes if_ok(notchanged, changed)
{
promise_kept => { "$(notchanged)" };
promise_repaired => { "$(changed)" };
}
#v-
Seems there is something[1] I did not understand.
Regards.
Footnotes:
[1] some things is more accurate ;-)
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine