help-cfengine
[Top][All Lists]
Advanced

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

copy and editfiles on the same file


From: Etienne Chove
Subject: copy and editfiles on the same file
Date: Mon, 30 Jan 2006 22:45:48 +0100
User-agent: Mutt/1.5.9i

Hello,

I'd like to copy a file from my main server and then edit it (add lines
containing the name of the server).

So my conf files seems to :

copy:
  ${basefiles}/etc/test       dest=/etc/test
                              server=${policyhost}
editfiles:
  { /etc/test
    ...
  }
                                      
But the copy/editfiles is done every time if run cfrun, because copy see
that the files changed so copy it again, and edit file too.

Is there a solution for editfiles not changes informations used by copy
directive ?

Thanks.

-- 
Etienne




reply via email to

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