http://cfwiki.org/cfwiki/index.php/Editfiles_Examples claims:
 
editfiles:

    any::

        { /etc/hosts

            EmptyEntireFilePlease

            Append "127.0.0.1       localhost"
            Append "192.168.1.254   myrouter"
        }
 
 
but that gives en error:
 
 cfagent -f ./xxx1.conf
cf:cfengine::./xxx1.conf:19: Append used outside of Group - non-convergent
cf:cfengine::./xxx1.conf:20: Append used outside of Group - non-convergent
 
 

--
Dmitry Sazonov
Systems Administrator, AAMC
(202)862-6168

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

Reply via email to