Hi Paul, I created a ticket to track this issue, thanks for posting the trace output and manifest.
http://projects.puppetlabs.com/issues/16772 -=Eric On Wednesday, October 3, 2012 6:27:41 AM UTC-7, Paul Tötterman wrote: > > > Ubuntu released a backport of 0.3.0 into lucid-backports which will > > resolve the issue for you here: > > http://packages.ubuntu.com/lucid-backports/libaugeas-ruby > > Unfortunately upgrading the package did not solve the problem. Also the > error message doesn't match the bug report. > > --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\'"'], > } > > Cheers, > Paul > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/wcOTxmRY01IJ. 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-users?hl=en.
