Issue #11414 has been updated by Dominic Cleal.
The above RHBZ covers the update of Puppet 2.6 in EPEL and Fedora. For other users stuck on 2.6.x, this patch can be used: https://github.com/domcleal/puppet/commit/e3fc5c49.patch ---------------------------------------- Bug #11414: augeas provider version checks fails when version >0.9 https://projects.puppetlabs.com/issues/11414 Author: Theo Cabrerizo Diem Status: Merged - Pending Release Priority: High Assignee: Dominic Cleal Category: augeas Target version: 2.7.x Affected Puppet version: 0.24.8 Keywords: augeas Branch: https://github.com/puppetlabs/puppet/pull/283 Just found that augeas resource isn't saving my changes, although reporting successful in my environment (libaugeas 0.10.0). Looking into lib/puppet/provider/augeas/augeas.rb , I've found some occurrences of like : if get_augeas_version >= "0.3.6" Using irb shell : irb> "0.9.0" >= "0.3.6" => true irb> "0.10.0" >= "0.3.6" => false irb> require 'augeas' => true irb> aug = Augeas::open('/').get('/augeas/version') => "0.10.0" I'm not a ruby expert thus I cannot provide a patch, but I take that would be a better approach to compare versions using versioncmp from lib/puppet/util/package.rb ? This bug makes augeas resource being unusable on environments that have upgraded augeas libraries to >= 0.10.0 . Also it doesn't produce any errors but changes don't get applied. Sample output (when using 0.10.0, it does not apply changes) : # puppet apply -d -v -e 'augeas { "abc": context => "/files/etc/puppet/puppet.conf", force => "true", changes => ["set agent/server changeme",], }' <snip> debug: Augeas[abc](provider=augeas): Opening augeas with root /, lens path , flags 0 debug: Augeas[abc](provider=augeas): Closed the augeas connection debug: Augeas[abc](provider=augeas): Opening augeas with root /, lens path , flags 0 debug: Augeas[abc](provider=augeas): Closed the augeas connection notice: /Stage[main]//Augeas[abc]/returns: executed successfully <snip> -- 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.
