Hello
I use augeas to replace a value in a config file:
example (this example is good) :
/etc/ssh/sshd_config file
LogLevel INFO
class ssh::redhat {
augeas { "sshd_config":
context => "/files/etc/ssh/sshd_config",
changes => [
"set LogLevel VERBOSE",
],
notify => Service["sshd"],
}
This configuration is good
but how do when the file is written like this:
parameter = value (with =)
/etc/webmin/config file
lang = us
class webmin::redhat {
augeas { "config":
context => "/files/etc/webmin/config",
changes => [
"set "lang =" fr]",
],
}
}
this configuration is not good, did you have an idea?
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.