Paul Krizak wrote:

> Is there some way to tell cfengine, "Irregardless of anything about
> the file except for its existence, please delete this file"? I don't
> see anything like a "force" in the documentation.

I know this is probably not what you are looking for, but I like it
because it is concentually simpler.

    classes:
        foo_exists = ( FileExists(/path/to/foo) )
    
    shellcommands:
        foo_exists::
            "/bin/rm -f /path/to/foo"

Best,
Brendan

--
Senior System Administrator
The University of Chicago
Department of Computer Science

http://www.cs.uchicago.edu/people/brendan
http://people.cs.uchicago.edu/~brendan


_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to