On 05/04/2011 02:52 PM, Ari Constancio wrote: > I'm trying the example from > http://www.cfengine.org/manuals/cf3-solutions.html#Postfix-mail-configuration > . > However, /etc/postfix/sasl-passwd needs to be converted with postmap > before restarting Postfix. > > What's the proper way to deal with this? I thought of defining a new > class ("changed_sasl-passwd") if the file was successfully edited. > Then, postmap would be executed only if this class was defined:
Have a look at "transformer" attribute for files promise to run a postmap and kept_returncodes/repair_returncodes to define a class if portmap was executed succesfully. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine