Forum: Cfengine Help
Subject: Re: Seperating copy_from and permission promise
Author: pieterb
Link to topic: https://cfengine.com/forum/read.php?3,16834,16911#msg-16911


$ rm /tmp/test.cf 
$ ~/cfengine/bin/cf-agent -IKf ./test.cf 
 -> Copying from localhost:/home/nwatson/.cfagent/inputs/test.cf
R: promised repaired
R: promise kept


Why does it report promise kept? The file was deleted, and needed repairing. If 
you look at the verbose output you will see that Cfengine will report that the 
permissions are as expected; while the file was deleted?

It seems like odd behaviour to me that Cfengine reports that a promise was kept 
that I did not make. I do not want it to look a the permissions of the file, I 
have a different bundle for that. I just want it to check the file, and if it 
is different or missing, to repair it.

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

Reply via email to