Hi there,

I wonder if there is an easy way to change variables in the standard linux config files in /etc/sysconfig/* on RHEL or /etc/defaults/* on Debian.

For instance I would like to set the host name in /etc/sysconfig/network with something like:

configoption { "/etc/sysconfig/network":
    option => "HOSTNAME",
    value => "host.example.com",
    ensure => exact,        # or "includes" or "remove" or "commentout"
}

Is there an easy way to do that? Or should I invent the wheel?

Thanks

GiBo

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to