Issue #13204 has been updated by Dominic Cleal. Status changed from Unreviewed to In Topic Branch Pending Review Branch set to https://github.com/puppetlabs/puppet/pull/587
Opened pull request [#587](https://github.com/puppetlabs/puppet/pull/587) with a workaround to check that the file exists first. ---------------------------------------- Bug #13204: Augeas save under /boot causes no such file or directory errror https://projects.puppetlabs.com/issues/13204#change-57405 Author: Dominic Cleal Status: In Topic Branch Pending Review Priority: Low Assignee: Dominic Cleal Category: augeas Target version: 2.7.x Affected Puppet version: 2.7.12rc2 Keywords: 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.
