I´m using stdlib 3.2 on my 3.0.1 master/agent

my goal is to replace a line within a configuration file to add one more 
server like this:
file_line { "xxx": line => "ALLOWHOST server1|server2", path => "/tmp/sw", 
match => "^ALLOWHOST$", ensure => present }

I´ve tried to use match to ensure that the existing line is changed, but 
I´m getting this error message:
Error: Failed to apply catalog: When providing a 'match' parameter, the 
value must be a regex that matches against the value of your 'line' 
parameter

how can I solve this?

thanks
,
Stefan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/Tm05hnL9shcJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to