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


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to