> augeas {"/boot/grub/grub.conf":
> context => "/files/boot/grub/grub.conf",
> changes => [ "set timeout 3",
> ],
> require => File["/usr/share/augeas/lenses/grub.aug"]
> }
>
> Because of a bug in the current Augeas I have a copy of
> /usr/share/augeas/lenses/dist/grub.aug in
> /usr/share/augeas/lenses/grub.aug where I've edited the hard coded
> location of /etc/grub.conf to /boot/grub/grub/conf, hence the require on
> the above. If your /etc is on the same disk partition as your /boot then
> you won't need this.
Automateit handles these in ruby. I wonder of some of the code that's
in automateit can be incorporated into puppet since they are both
GPLed (automateit is GPL3).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---