Re: promise reported kept even when not.

2009-12-09 Thread Eystein Måløy Stenberg
Hi, The reason for this behaviour is that the outcome status of the parts of the promise may get overwritten when multiple parameters are set. If you want to keep each status, you can code multiple promises. See the notes in classes, http://www.cfengine.org/manuals/cf3-reference.html#classes-in-_0

promise reported kept even when not.

2009-12-08 Thread NWatson
Conside a promise that confirms file ownership and permissions. That is three things to check. Primise is that /tmp/foo should be nwatson:bin and 0600. owner is wrong: [r...@unxxhd01 inputs]# ls -l /tmp/foo -rw--- 1 root bin 0 Dec 7 14:13 /tmp/foo [r...@unxxhd01 inputs]# cf-agent -Kf ./bar.