Forum: CFEngine Help
Subject: Re: Avoid warning if file does not exist
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26654,26658#msg-26658

If you don't want and edit attempt of the file does not exist then set a class 
if the file exists.
http://cfengine.com/manuals/cf3-Reference#Function-fileexists

If you want the file to be created if it does not exist then use create => 
"true" in your files promise.

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

Reply via email to