2008/9/8 Darryl Ross <[EMAIL PROTECTED]>: > > Hi All, > > What is the recommended way of managing something like the postfix > configuration file? I would prefer _not_ to overwrite the config file with one > stored centrally or using the templating system. > > Ideally I'd like to use the 'postconf' and 'postconf -e' programs to get and > set options.
The ugly way is to write some exec+onlyif/unless defines that accept the parameters you need. This is how I deal with Glassfishv2, since the included asadmin tool does all of the validation required to write the correct XML out. The less ugly way is probably an augeas lens. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
