Hi.

I'd like to modify certain values in the config files on client machines.

For example:

in /boot/grub/menu.lst, change "timeout   10" to "timeout   3"

I'd prefer not to create a template, since there's no guarantee that the 
rest of menu.lst is the same (e.g., a kernel is updated on one client 
machine but not another).

The sloppy solution I'm using now is exec'ing a sed command if 
/timeout\s+3/ is not found in the file. But it just seems tacky.

Any suggestions on how to do this more properly?

Good weekend to all.

Kelly

--~--~---------~--~----~------------~-------~--~----~
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