help-cfengine
[Top][All Lists]
Advanced

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

copy rules w/checksum & w/timestamp


From: Lyndon C. Lim
Subject: copy rules w/checksum & w/timestamp
Date: Tue, 28 Sep 2004 16:04:30 -0700

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?

-- 
Lyndon C. Lim;  lyndon@artisan.com;  408.734.5600;  408.734.5050 (fax)
Artisan Components; 141 Caspian Court; Sunnyvale, CA 94089-1013; USA



reply via email to

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