[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "tidy" not deleting files from the future
From: |
Brendan Strejcek |
Subject: |
Re: "tidy" not deleting files from the future |
Date: |
Tue, 13 Dec 2005 15:53:32 -0600 |
User-agent: |
Mutt/1.5.6+20040818i |
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
Re: "tidy" not deleting files from the future, Mark Burgess, 2005/12/14