Issue #13204 has been updated by Matthaus Litteken. Status changed from Merged - Pending Release to Closed
Released in Puppet 2.7.14rc1 ---------------------------------------- Bug #13204: Augeas save under /boot causes no such file or directory errror https://projects.puppetlabs.com/issues/13204#change-60763 Author: Dominic Cleal Status: Closed Priority: Normal Assignee: Dominic Cleal Category: augeas Target version: 2.7.14 Affected Puppet version: 2.7.12 Keywords: augeas enoent grub Branch: https://github.com/puppetlabs/puppet/pull/587 The following snippet generates an error: augeas { "grub": context => "/files/boot/grub/menu.lst", changes => "set timeout 3", } err: /Stage[main]//Augeas[grub]: Could not evaluate: No such file or directory - /home/dcleal/code/puppet/augeas-examples/fakeroot/boot/grub/menu.lst.augnew /boot/grub/menu.lst is a symlink to /boot/grub/grub.conf. Root cause was due to bug [#264](https://fedorahosted.org/augeas/ticket/264) in Augeas, which caused it to return the saved path twice from /augeas/events/saved. Because Puppet loops around this in 2.7.x, diffing and unlinking the new files, it errors on the second iteration. Since this happens in need_to_run?, no changes are made. As a workaround, edit via /files/etc/grub.conf or /files/boot/grub/grub.conf (with lens/incl) instead of /files/boot/grub/menu.lst. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
