Hi,
I think you can use "file_line" from stdlib
https://forge.puppetlabs.com/puppetlabs/stdlib#file_line
It's really more simple than Augeas and it works better.
For multi-line I also use "editfile" a custom module, but you need to be
good with regex =) https://github.com/mstrauss/puppet-edit
Hello, all!
I am trying to add some new modules to an openSuse 13.1 host with Puppet
and Augeas with no luck. The modules themselves are already installed by
the example42/apache module, but I can't get the apache::module syntax to
properly add the modules to the proper openSuse config files.