On 29 November 2011 01:17, Graham Leggett <[email protected]> wrote: > On 27 Nov 2011, at 20:04, Graham Leggett wrote: > > > I have a task to convince puppet and augeas to modify multiple postfix > > files, most specifically /etc/postfix/main.cf and /etc/postifx/ > > acceptdomains.cf (and other LDAP related files), and I'm struggling to > > find out how to do that. I have found examples on how to use augeas to >
Graham - the initial allure of Augeas is attractive, but we ended up using puppet's File resource with files and templates. It enabled us to have the files & templates under version control (big win) and gave us the flexibility if we need to change other parts of the config file - you don't end up with an Augeas resource per line of the file! And its much more intuitive at a glance as to what is going on Regards John -- 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.
