This may not be the Cf-approved way but based on some on other thread I 
have been getting by doing the following:

files:

     "/etc/mail/sendmail.mc"
         copy_from => 
mycopy("${g.masterfiles}/farm/etc/mail/sendmail.mc","${g.phost}"),
         classes => satisfied("sendmailmake");

  commands:
         sendmailmake::
         "cd /etc/mail";
         "/usr/bin/make";
         "/sbin/service sendmail restart";


Cheers,
Frans

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

Reply via email to