rvlinden
2011-Oct-07 10:52 UTC
[Puppet Users] puppet 2.7.5 and augeas break grub.conf on RHEL5
Hi, I was running puppet (2.7.5) on a host which needed to have some settings changed in it''s /boot/grub/menu.lst file. This file is however a link to /boot/grub/grub.conf When I used augeas in puppet like shown below augeas { "${dom0::params::module_label}_menu.lst_memory": incl => ''/ boot/grub/menu.lst'', lens => ''Grub.lns'', changes => [ ''set title[1]/ kernel/dom0_mem 2G'', ''set title[last()]/kernel/dom0_mem 2G'', ], } it updated the menu.lst, but menu.lst is now a file and not a link anymore to grub.conf After changing the puppet module to incl => ''/boot/grub/grub.conf'', augeas handled it well Was this a mistake my side that I included a link instead of a real file, or is this someting that changed in augeas. I have used this setup for a long time now and on older servers the link was not broken. I use the following software # augeas-0.8.1-2.el5 # augeas-libs-0.8.1-2.el5 # ruby- augeas-0.4.1-1.el5 # puppet-2.7.5-1.el5 Rene -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Possibly Parallel Threads
- [PATCH 1/2] Add new augeas directory with grub device.map lens
- [PATCH] daemon: Remove custom Augeas lenses.
- I can't seem to create mountpoint and change permissions after mounting in 2.7.3
- Augeas XML trouble
- augeas error: Could not evaluate: unknown error - Failed to initialize Augeas