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 replace "root" by "admin" in /etc/files/toto > > regards > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.