[Puppet Users] Re: replace a word in config file

2013-04-30 Thread Stan
a text file example text file : *root*: acl adsl-client apache at backup-config bacula-backup bandwidth bind8 burner cfengine change-user cluster-copy cluster-cron cluster-passwd cluster-shell replace root by admin *admin*: acl adsl-client apache at backup-config bacula-backup bandwidth bi

[Puppet Users] Re: replace a word in config file

2013-04-30 Thread Raphink
Hi, Depending on the config format, you can use Augeas for that. What is the format you need to edit? Regards, Raphaƫl On Tuesday, April 30, 2013 11:25:21 AM UTC+2, Stan wrote: > > Hi > > What is a solution with puppet to replace one word in a config file? > > for example i would like replac