help-cfengine
[Top][All Lists]
Advanced

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

How to code conditional copy


From: Morgan Ives
Subject: How to code conditional copy
Date: Thu, 15 Jan 2004 10:48:44 -0600

I am trying to code conditional copies based upon the existance of
 a file on each client.   For example if:

  /.XXX exists then
copy::
 /local/masterfiles/.example.xxx dest=/usr/local/bin/example mode=600

 /.YYY exists then
copy::
 /local/masterfiles/.example.yyy dest=/usr/local/bin/example mode=600

I am thinking this can be done with filters but I am having trouble with the syntax.
Does anyone have a quick example of this?
 
              Morgan
 


 





reply via email to

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