Joachim Schrod
2014-Apr-21 22:25 UTC
[Puppet Users] Augeas lens to change an arbitrary line in a file?
Hi,
I'm new to Puppet, and also new to Augeas.
I want to change a line in a file. In particular, the file is
/usr/share/ghostscript/${gs_version}/Resource/Init/gs_init.ps
and the line is
% /DEFAULTPAPERSIZE (a4) def
that I want to change into
/DEFAULTPAPERSIZE (a4) def
Is Augeas the right tool for such a task? I looked through its
available lenses, but there ain't no Postscript lens.
Of course, the other approach would be to use an exec resource to
change that line.
What is best practice?
Joachim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod, Roedermark, Germany
Email: jschrod@acm.org
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/lj45s9%24t7q%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.