Hello,

I am analyzing my promises that are in state repaired and notkept.

I consider that:
- 'kept' state are promises that were evaluated correctly and the system 
was in an expected state,
- 'repaired' are promises that show that something was wrong and 
corrected and may require manual intervention if these reapper,
- 'notkept' are promises that need user intervention.

Most of my promises work as expected - if there was any change, the 
state is set to 'repaired' and I may have a look at what was actually 
repaired. For commands: promises which actually test if everything is 
fine I set the kept_returncode to 0 and I am good.

I have some actions which are expected and I would not like to be 
bothered about. Mostly these are file: promises like tidying old files 
etc. I expect them to happen and would not like to be bothered about them.

Meanwhile on some runs these tidy-like rules constitute a majority of 
promises and my policy compliance drops to 25% kept, 50% repaired.

Is there a way to make files: promise report state 'kept' while it has 
performed some actions?

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

Reply via email to