help-cfengine
[Top][All Lists]
Advanced

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

Re: copy rules w/checksum & w/timestamp


From: Mark . Burgess
Subject: Re: copy rules w/checksum & w/timestamp
Date: Sat, 9 Oct 2004 11:06:29 +0200 (MEST)

Adding copy type "any" in 2.1.11

On 28 Sep, Lyndon C. Lim wrote:
> 
> I have this:
> 
> 
> copy:
>         $(templates)/nsswitch.conf
>             dest=/etc/nsswitch.conf
>             server=$(cf_master)
>             type=checksum
>             mode=644
>             owner=root
>             group=root
>             timestamps=preserve
>             verify=true
>             define=confirm_nsswitch
> 
>         $(templates)/nsswitch.conf
>             dest=/etc/nsswitch.conf
>             server=$(cf_master)
>             type=ctime
>             mode=644
>             owner=root
>             group=root
>             timestamps=preserve
>             verify=true
>             define=confirm_nsswitch
> 
> 
> I want to update the destination file if
> either the checksum or the timestamp changes.
> 
> But, it doesn't work.  I can delete either
> rule, and it works.  But, they won't work
> in conjunction.
> 
> Any suggestions how to implement these rules?
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]