> you could negate the FileExists(file) function
> (http://cfengine.com/manuals/cf2-Reference.html#FileExists).
>
> untested example:
>
> classes:
>       missingfile = ( !FileExists(/path/to/file) )
>
> copy:
>      missingfile::
>            source
>            dest

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

Reply via email to