help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disable: actually deletes files???


From: Mark . Burgess
Subject: Re: disable: actually deletes files???
Date: Sat, 2 Oct 2004 08:39:32 +0200 (MEST)

Seems to work for me:

--

control:

actionsequence = ( disable )

disable:

 $(HOME)/tmp/cftest 


% cfagent -v

...
Disable/rename checking /iu/nexus/ud/mark/tmp/cftest
cfengine:: Disabling/renaming file /iu/nexus/ud/mark/tmp/cftest to 
/iu/nexus/ud/mark/tmp/cftest.cfdisabled
...

% ls
cftest.cfdisabled


--

On  1 Oct, Harry Hoffman wrote:
> I don't have repository set.
>  
> I was under the impression that by *not* setting repository disabled 
> files would be left in the directory that contained the file to be 
> disabled (which was the behavior I was looking for).
> 
> This way I can easily see that certain files (i.e. /etc/rc?.d/) have 
> been made to be disabled.
> 
> Thanks,
> Harry
> 
> 
> Brendan Strejcek wrote:
> 
>>Did you set a value for Repository?
>>
>>http://www.cfengine.org/docs/cfengine-Reference.html#repository
>>  
>>
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]