On 04/23/14 18:29, Joachim Schrod wrote:

I don't understand why the match regex must match the line value.

Your match needs to be:

match => '^(% )*/DEFAULTPAPERSIZE \(a4\)',

It has to match the line value, otherwise on the next puppet run
your modified line won't match and puppet will insert a new
(unwanted) line at the end of the file .


--
Ian

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53589509.5070509%40uq.edu.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to