thanks a lot for webmin, it's good!!!

Le lundi 29 avril 2013 14:52:42 UTC+2, Stan a écrit :
>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to