Issue #16772 has been updated by Andrew Parker. Target version deleted (3.0.1)
---------------------------------------- Bug #16772: Augeas resource on Puppet 3.0.0 gives "uninitialized constant Augeas::NO_LOAD" https://projects.puppetlabs.com/issues/16772#change-73387 Author: eric sorenson Status: Rejected Priority: Normal Assignee: Category: Target version: Affected Puppet version: 3.0.0 Keywords: lucid augeas telly Branch: >From mailing list: My manifests used to work with 2.7.19 but after upgrading to 3.0.0 I keep getting: `Error: /Stage[main]/.../Augeas[...]: Could not evaluate: uninitialized constant Augeas::NO_LOAD ` Anyone else had and solved this problem? On precise I just get: `Warning: Augeas[...](provider=augeas): Loading failed for one or more files, see debug for /augeas//error output ` <pre> --trace gives: Error: /Stage[main]/Grub::Server/Augeas[grub-serial]: Could not evaluate: uninitialized constant Augeas::NO_LOAD /usr/lib/ruby/vendor_ruby/puppet/provider/augeas/augeas.rb:152:in `open_augeas' /usr/lib/ruby/vendor_ruby/puppet/provider/augeas/augeas.rb:342:in `need_to_run?' /usr/lib/ruby/vendor_ruby/puppet/type/augeas.rb:205:in `retrieve' /usr/lib/ruby/vendor_ruby/puppet/type.rb:685:in `retrieve' /usr/lib/ruby/vendor_ruby/puppet/type.rb:680:in `each' /usr/lib/ruby/vendor_ruby/puppet/type.rb:680:in `retrieve' /usr/lib/ruby/vendor_ruby/puppet/type.rb:693:in `retrieve_resource' /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:32:in `perform_changes' /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:133:in `evaluate' /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:49:in `apply' /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:84:in `eval_resource' /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:104:in `evaluate' /usr/lib/ruby/vendor_ruby/puppet/util.rb:348:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/vendor_ruby/puppet/util.rb:347:in `thinmark' /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:104:in `evaluate' /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:383:in `traverse' /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:99:in `evaluate' /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:144:in `apply' /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:122:in `apply_catalog' /usr/lib/ruby/vendor_ruby/puppet/util.rb:179:in `benchmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/vendor_ruby/puppet/util.rb:178:in `benchmark' /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:121:in `apply_catalog' /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:179:in `run' /usr/lib/ruby/vendor_ruby/puppet/agent.rb:45 /usr/lib/ruby/vendor_ruby/puppet/agent/locker.rb:20:in `lock' /usr/lib/ruby/vendor_ruby/puppet/agent.rb:45 /usr/lib/ruby/1.8/sync.rb:230:in `synchronize' /usr/lib/ruby/vendor_ruby/puppet/agent.rb:45 /usr/lib/ruby/vendor_ruby/puppet/agent.rb:119:in `with_client' /usr/lib/ruby/vendor_ruby/puppet/agent.rb:42 /usr/lib/ruby/vendor_ruby/puppet/agent.rb:84:in `run_in_fork' /usr/lib/ruby/vendor_ruby/puppet/agent.rb:41 /usr/lib/ruby/vendor_ruby/puppet/application.rb:175:in `call' /usr/lib/ruby/vendor_ruby/puppet/application.rb:175:in `controlled_run' /usr/lib/ruby/vendor_ruby/puppet/agent.rb:39:in `run' /usr/lib/ruby/vendor_ruby/puppet/application/agent.rb:338:in `onetime' /usr/lib/ruby/vendor_ruby/puppet/application/agent.rb:311:in `run_command' /usr/lib/ruby/vendor_ruby/puppet/application.rb:346:in `run' /usr/lib/ruby/vendor_ruby/puppet/application.rb:438:in `plugin_hook' /usr/lib/ruby/vendor_ruby/puppet/application.rb:346:in `run' /usr/lib/ruby/vendor_ruby/puppet/util.rb:500:in `exit_on_fail' /usr/lib/ruby/vendor_ruby/puppet/application.rb:346:in `run' /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:76:in `execute' /usr/bin/puppet:10 And the augeas definition from the manifest is: $grub_console = 'console serial' augeas { 'grub-serial': context => '/files/etc/default/grub', changes => ["set GRUB_TERMINAL \"'$grub_console'\"", 'set GRUB_SERIAL_COMMAND "\'serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1\'"', 'set GRUB_CMDLINE_LINUX_DEFAULT ""', 'set GRUB_CMDLINE_LINUX "\'console=tty1 console=ttyS0,115200n8\'"'], } </pre> -- 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.
