Issue #14105 has been updated by Daniel Pittman.
Looking at the code in master, it looks like this problem is solved. Can you confirm that? ---------------------------------------- Bug #14105: aug object is closed on need_to_run but is neede after that in execute_changes. https://projects.puppetlabs.com/issues/14105#change-70439 Author: Jorge Eduardo Cardona Status: Accepted Priority: Normal Assignee: Category: Doh! Target version: 3.x Affected Puppet version: Keywords: Branch: First I'm using Debian with puppet 2.7.13-1 and libaugeas0 0.9.0-1, and ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] I'm just trying to set some sudoers settings but fails with this behavior: 1) need_to_run is called and it calls the method close at the end because @aug.save returns a nil, and everyone knows that not nil is true ;) 2) after that the execute_changes method needs the @aug object but is not there then fails with a "change from need_to_run to 0 failed: undefined method `match' for nil:NilClass" I commented the all the code in the conditional in provider/augeas/augeas.rb with the "if not return_value or resource.noop? or not save_result", then close is not called and works perfectly, I don't really know what is going on since http://augeas.net/docs/api.html says that save must return 0 or 1. Maybe I'm skipping something obvious here, but the augeas code runs perfectly using augtool, so. I have no idea what it is, and this seems as a bug for me. Hope this can help. Greetings. -- 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.
