Forum: CFEngine Help
Subject: warnings and promise compliance
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23315,23315#msg-23315

Today I wrote a files promise to keep a file's mode and ownership.  The
promise's action was 'warn_only'. I also have a commands promise that is warn
only. What I noticed was that if either promise needed repairing the files
promise was noted as promise kept while the commands promise was noted as
promise repaired.

Perhaps a promise that is warn only is always kept.  However, that is not very
practical.  Typically, warn only proimses are used in early deployments and
audits for the customer to get their feet wet while staying in the shallow end.
If the promise is always kept it can be difficult to see any type of compliance
report. This can lead to passive type promises that are so different to normal
active promises that the rewrites from one to the other are costly. I think
that warn only promises, that need action, should be marked as not kept.  What
is the view of the group?  What is the official view of Cfnegine?

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

Reply via email to