help-cfengine
[Top][All Lists]
Advanced

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

Re: action copy options


From: Mark . Burgess
Subject: Re: action copy options
Date: Tue, 23 Jul 2002 17:32:27 +0200 (MET DST)

>> 
>> I've tried the following with the purge option set to yes:
>> --------------------------------------------
>> copy:
>>   <cfengine_root>/network  dest=/etc
>>                            r=1
>>                            include=hostname.*
>>                            purge=true
>>                            server=<server_name>
>> --------------------------------------------
>> 
>> But this gives the following result:
>> --------------------------------------------
>> server side              client side
>>   hostname.eri0            hostname.eri0
>> --------------------------------------------
>> It removes all files which are not hostname.eri0... the thing is
>> that I don't want files toto and tutu to be removed.

Then why not 

include=tot include=tutu


also?

 
> Your problem is that you want to delete only some files on the client
> side, and cfengine has no way of specifying that easily. 

I think it does - I think the docs on this could be better. But
try the above.

M


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





reply via email to

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