Another way you could implement this is:
Make sure your actionsequence has copy before files:
control:
actionsequence = ( copy files )
copy:
(copy entire /etc directory here)
files:
/etc
owner=root,daemon
mode=644
action=fixall
On second thought, that might not help too much, because the files in /etc
have a variety of owners and a variety of file modes. But, by putting the
copy before the files section in actionsequence, you can ensure that the
files will be copied and the modes fixed all in one cfagent pass.
Regards,
Luke
-----Original Message-----
From: Josh Lothian [mailto:[EMAIL PROTECTED]
Sent: Monday, May 09, 2005 3:58 PM
To: Luke Youngblood
Cc: [email protected]
Subject: Re: cfengine and revision control
The problem with this approach, at least at our site, is that there are
(apparently) over 5000 unique filenames we're pushing out... I inherited
this from someone else and we're still running Cfengine V1, etc...
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine