[Puppet Users] Re: using file_line with match

2013-01-21 Thread Stefan Wiederoder
Hello Ellison, yes, you´re right, now it´s working: file_line { "xxx": line => "ALLOWHOST server1|server2", path => "/tmp/sw", match => "ALLOWHOST.*$", ensure => present } thanks , Stefan Am Freitag, 18. Januar 2013 18:50:36 UTC+1 schrieb Ellison Marks: > > @Stephan, as it stands, the match p

[Puppet Users] Re: using file_line with match

2013-01-18 Thread Ellison Marks
@Stephan, as it stands, the match parameter must be able to regex match the line parameter. I think this is so you can only replace similar lines. You could drop the $ at the end and it would probably work. @bernard, I think something is wrong with the client you use to access the group. Your r