Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1568

Error reporting within augeas provider fails

    XMLWordPrintable

    Details

    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-2-26 to 2014-3-5

      Description

      If the augeas provider fails to store a change to a file it's error reporting is broken due to the refactoring that happened in https://github.com/puppetlabs/puppet/commit/000b8fef6a33e5c9f56c0801523de15a0e5bc30b

      # cat foo.pp 
      augeas{'enable_shorewall':
        context => '/files/etc/sysconfig/shorewall',
        changes => 'set startup 1',
        lens    => 'Shellvars.lns',
        incl    => '/etc/sysconfig/shorewall',
      }
      # lsattr /etc/sysconfig/shorewall
      ----i--------e- /etc/sysconfig/shorewall
      # puppet apply --debug --trace foo.pp 
      Notice: Compiled catalog for foo in environment production in 0.10 seconds
      Debug: Creating default schedules
      Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport does not exist
      Debug: Puppet::Type::User::ProviderPw: file pw does not exist
      Debug: Puppet::Type::User::ProviderLdap: true value when expecting false
      Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
      Debug: Using settings: adding file resource 'privatekeydir': 'File[/var/lib/puppet/ssl/private_keys]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"750", :path=>"/var/lib/puppet/ssl/private_keys", :backup=>false}'
      Debug: Using settings: adding file resource 'plugindest': 'File[/var/lib/puppet/lib]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/lib", :backup=>false}'
      Debug: Using settings: adding file resource 'lastrunreport': 'File[/var/lib/puppet/state/last_run_report.yaml]{:ensure=>:file, :loglevel=>:debug, :links=>:follow, :mode=>"640", :path=>"/var/lib/puppet/state/last_run_report.yaml", :backup=>false}'
      Debug: Using settings: adding file resource 'clientbucketdir': 'File[/var/lib/puppet/clientbucket]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/clientbucket", :backup=>false}'
      Debug: Using settings: adding file resource 'pluginfactdest': 'File[/var/lib/puppet/facts.d]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/facts.d", :backup=>false}'
      Debug: Using settings: adding file resource 'graphdir': 'File[/var/lib/puppet/state/graphs]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/state/graphs", :backup=>false}'
      Debug: Using settings: adding file resource 'ssldir': 'File[/var/lib/puppet/ssl]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"771", :path=>"/var/lib/puppet/ssl", :backup=>false}'
      Debug: Using settings: adding file resource 'statefile': 'File[/var/lib/puppet/state/state.yaml]{:ensure=>:file, :loglevel=>:debug, :links=>:follow, :mode=>"660", :path=>"/var/lib/puppet/state/state.yaml", :backup=>false}'
      Debug: Using settings: adding file resource 'statedir': 'File[/var/lib/puppet/state]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"1755", :path=>"/var/lib/puppet/state", :backup=>false}'
      Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/etc/puppet", :backup=>false}'
      Debug: Using settings: adding file resource 'requestdir': 'File[/var/lib/puppet/ssl/certificate_requests]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :path=>"/var/lib/puppet/ssl/certificate_requests", :backup=>false}'
      Debug: Using settings: adding file resource 'client_datadir': 'File[/var/lib/puppet/client_data]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/client_data", :backup=>false}'
      Debug: Using settings: adding file resource 'lastrunfile': 'File[/var/lib/puppet/state/last_run_summary.yaml]{:ensure=>:file, :loglevel=>:debug, :links=>:follow, :mode=>"644", :path=>"/var/lib/puppet/state/last_run_summary.yaml", :backup=>false}'
      Debug: Using settings: adding file resource 'privatedir': 'File[/var/lib/puppet/ssl/private]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"750", :path=>"/var/lib/puppet/ssl/private", :backup=>false}'
      Debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist
      Debug: Puppet::Type::Group::ProviderPw: file pw does not exist
      Debug: Puppet::Type::Group::ProviderLdap: true value when expecting false
      Debug: Using settings: adding file resource 'rundir': 'File[/var/run/puppet]{:ensure=>:directory, :group=>"puppet", :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"755", :path=>"/var/run/puppet", :backup=>false}'
      Debug: Using settings: adding file resource 'certdir': 'File[/var/lib/puppet/ssl/certs]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :path=>"/var/lib/puppet/ssl/certs", :backup=>false}'
      Debug: Using settings: adding file resource 'logdir': 'File[/var/log/puppet]{:ensure=>:directory, :group=>"puppet", :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"750", :path=>"/var/log/puppet", :backup=>false}'
      Debug: Using settings: adding file resource 'publickeydir': 'File[/var/lib/puppet/ssl/public_keys]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :path=>"/var/lib/puppet/ssl/public_keys", :backup=>false}'
      Debug: Using settings: adding file resource 'clientyamldir': 'File[/var/lib/puppet/client_yaml]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/client_yaml", :backup=>false}'
      Debug: Using settings: adding file resource 'vardir': 'File[/var/lib/puppet]{:ensure=>:directory, :group=>"puppet", :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :path=>"/var/lib/puppet", :backup=>false}'
      Debug: /File[/var/lib/puppet/ssl/private_keys]/seluser: Found seluser default 'system_u' for /var/lib/puppet/ssl/private_keys
      Debug: /File[/var/lib/puppet/ssl/private_keys]/selrole: Found selrole default 'object_r' for /var/lib/puppet/ssl/private_keys
      Debug: /File[/var/lib/puppet/ssl/private_keys]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/ssl/private_keys
      Debug: /File[/var/lib/puppet/ssl/private_keys]/selrange: Found selrange default 's0' for /var/lib/puppet/ssl/private_keys
      Debug: /File[/var/lib/puppet/lib]/seluser: Found seluser default 'system_u' for /var/lib/puppet/lib
      Debug: /File[/var/lib/puppet/lib]/selrole: Found selrole default 'object_r' for /var/lib/puppet/lib
      Debug: /File[/var/lib/puppet/lib]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/lib
      Debug: /File[/var/lib/puppet/lib]/selrange: Found selrange default 's0' for /var/lib/puppet/lib
      Debug: /File[/var/lib/puppet/state/last_run_report.yaml]/seluser: Found seluser default 'system_u' for /var/lib/puppet/state/last_run_report.yaml
      Debug: /File[/var/lib/puppet/state/last_run_report.yaml]/selrole: Found selrole default 'object_r' for /var/lib/puppet/state/last_run_report.yaml
      Debug: /File[/var/lib/puppet/state/last_run_report.yaml]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/state/last_run_report.yaml
      Debug: /File[/var/lib/puppet/state/last_run_report.yaml]/selrange: Found selrange default 's0' for /var/lib/puppet/state/last_run_report.yaml
      Debug: /File[/var/lib/puppet/clientbucket]/seluser: Found seluser default 'system_u' for /var/lib/puppet/clientbucket
      Debug: /File[/var/lib/puppet/clientbucket]/selrole: Found selrole default 'object_r' for /var/lib/puppet/clientbucket
      Debug: /File[/var/lib/puppet/clientbucket]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/clientbucket
      Debug: /File[/var/lib/puppet/clientbucket]/selrange: Found selrange default 's0' for /var/lib/puppet/clientbucket
      Debug: /File[/var/lib/puppet/facts.d]/seluser: Found seluser default 'system_u' for /var/lib/puppet/facts.d
      Debug: /File[/var/lib/puppet/facts.d]/selrole: Found selrole default 'object_r' for /var/lib/puppet/facts.d
      Debug: /File[/var/lib/puppet/facts.d]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/facts.d
      Debug: /File[/var/lib/puppet/facts.d]/selrange: Found selrange default 's0' for /var/lib/puppet/facts.d
      Debug: /File[/var/lib/puppet/state/graphs]/seluser: Found seluser default 'system_u' for /var/lib/puppet/state/graphs
      Debug: /File[/var/lib/puppet/state/graphs]/selrole: Found selrole default 'object_r' for /var/lib/puppet/state/graphs
      Debug: /File[/var/lib/puppet/state/graphs]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/state/graphs
      Debug: /File[/var/lib/puppet/state/graphs]/selrange: Found selrange default 's0' for /var/lib/puppet/state/graphs
      Debug: /File[/var/lib/puppet/ssl]/seluser: Found seluser default 'system_u' for /var/lib/puppet/ssl
      Debug: /File[/var/lib/puppet/ssl]/selrole: Found selrole default 'object_r' for /var/lib/puppet/ssl
      Debug: /File[/var/lib/puppet/ssl]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/ssl
      Debug: /File[/var/lib/puppet/ssl]/selrange: Found selrange default 's0' for /var/lib/puppet/ssl
      Debug: /File[/var/lib/puppet/state/state.yaml]/seluser: Found seluser default 'system_u' for /var/lib/puppet/state/state.yaml
      Debug: /File[/var/lib/puppet/state/state.yaml]/selrole: Found selrole default 'object_r' for /var/lib/puppet/state/state.yaml
      Debug: /File[/var/lib/puppet/state/state.yaml]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/state/state.yaml
      Debug: /File[/var/lib/puppet/state/state.yaml]/selrange: Found selrange default 's0' for /var/lib/puppet/state/state.yaml
      Debug: /File[/var/lib/puppet/state]/seluser: Found seluser default 'system_u' for /var/lib/puppet/state
      Debug: /File[/var/lib/puppet/state]/selrole: Found selrole default 'object_r' for /var/lib/puppet/state
      Debug: /File[/var/lib/puppet/state]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/state
      Debug: /File[/var/lib/puppet/state]/selrange: Found selrange default 's0' for /var/lib/puppet/state
      Debug: /File[/etc/puppet]/seluser: Found seluser default 'system_u' for /etc/puppet
      Debug: /File[/etc/puppet]/selrole: Found selrole default 'object_r' for /etc/puppet
      Debug: /File[/etc/puppet]/seltype: Found seltype default 'puppet_etc_t' for /etc/puppet
      Debug: /File[/etc/puppet]/selrange: Found selrange default 's0' for /etc/puppet
      Debug: /File[/var/lib/puppet/ssl/certificate_requests]/seluser: Found seluser default 'system_u' for /var/lib/puppet/ssl/certificate_requests
      Debug: /File[/var/lib/puppet/ssl/certificate_requests]/selrole: Found selrole default 'object_r' for /var/lib/puppet/ssl/certificate_requests
      Debug: /File[/var/lib/puppet/ssl/certificate_requests]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/ssl/certificate_requests
      Debug: /File[/var/lib/puppet/ssl/certificate_requests]/selrange: Found selrange default 's0' for /var/lib/puppet/ssl/certificate_requests
      Debug: /File[/var/lib/puppet/client_data]/seluser: Found seluser default 'system_u' for /var/lib/puppet/client_data
      Debug: /File[/var/lib/puppet/client_data]/selrole: Found selrole default 'object_r' for /var/lib/puppet/client_data
      Debug: /File[/var/lib/puppet/client_data]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/client_data
      Debug: /File[/var/lib/puppet/client_data]/selrange: Found selrange default 's0' for /var/lib/puppet/client_data
      Debug: /File[/var/lib/puppet/state/last_run_summary.yaml]/seluser: Found seluser default 'system_u' for /var/lib/puppet/state/last_run_summary.yaml
      Debug: /File[/var/lib/puppet/state/last_run_summary.yaml]/selrole: Found selrole default 'object_r' for /var/lib/puppet/state/last_run_summary.yaml
      Debug: /File[/var/lib/puppet/state/last_run_summary.yaml]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/state/last_run_summary.yaml
      Debug: /File[/var/lib/puppet/state/last_run_summary.yaml]/selrange: Found selrange default 's0' for /var/lib/puppet/state/last_run_summary.yaml
      Debug: /File[/var/lib/puppet/ssl/private]/seluser: Found seluser default 'system_u' for /var/lib/puppet/ssl/private
      Debug: /File[/var/lib/puppet/ssl/private]/selrole: Found selrole default 'object_r' for /var/lib/puppet/ssl/private
      Debug: /File[/var/lib/puppet/ssl/private]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/ssl/private
      Debug: /File[/var/lib/puppet/ssl/private]/selrange: Found selrange default 's0' for /var/lib/puppet/ssl/private
      Debug: /File[/var/run/puppet]/seluser: Found seluser default 'system_u' for /var/run/puppet
      Debug: /File[/var/run/puppet]/selrole: Found selrole default 'object_r' for /var/run/puppet
      Debug: /File[/var/run/puppet]/seltype: Found seltype default 'puppet_var_run_t' for /var/run/puppet
      Debug: /File[/var/run/puppet]/selrange: Found selrange default 's0' for /var/run/puppet
      Debug: /File[/var/lib/puppet/ssl/certs]/seluser: Found seluser default 'system_u' for /var/lib/puppet/ssl/certs
      Debug: /File[/var/lib/puppet/ssl/certs]/selrole: Found selrole default 'object_r' for /var/lib/puppet/ssl/certs
      Debug: /File[/var/lib/puppet/ssl/certs]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/ssl/certs
      Debug: /File[/var/lib/puppet/ssl/certs]/selrange: Found selrange default 's0' for /var/lib/puppet/ssl/certs
      Debug: /File[/var/log/puppet]/seluser: Found seluser default 'system_u' for /var/log/puppet
      Debug: /File[/var/log/puppet]/selrole: Found selrole default 'object_r' for /var/log/puppet
      Debug: /File[/var/log/puppet]/seltype: Found seltype default 'puppet_log_t' for /var/log/puppet
      Debug: /File[/var/log/puppet]/selrange: Found selrange default 's0' for /var/log/puppet
      Debug: /File[/var/lib/puppet/ssl/public_keys]/seluser: Found seluser default 'system_u' for /var/lib/puppet/ssl/public_keys
      Debug: /File[/var/lib/puppet/ssl/public_keys]/selrole: Found selrole default 'object_r' for /var/lib/puppet/ssl/public_keys
      Debug: /File[/var/lib/puppet/ssl/public_keys]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/ssl/public_keys
      Debug: /File[/var/lib/puppet/ssl/public_keys]/selrange: Found selrange default 's0' for /var/lib/puppet/ssl/public_keys
      Debug: /File[/var/lib/puppet/client_yaml]/seluser: Found seluser default 'system_u' for /var/lib/puppet/client_yaml
      Debug: /File[/var/lib/puppet/client_yaml]/selrole: Found selrole default 'object_r' for /var/lib/puppet/client_yaml
      Debug: /File[/var/lib/puppet/client_yaml]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/client_yaml
      Debug: /File[/var/lib/puppet/client_yaml]/selrange: Found selrange default 's0' for /var/lib/puppet/client_yaml
      Debug: /File[/var/lib/puppet]/seluser: Found seluser default 'system_u' for /var/lib/puppet
      Debug: /File[/var/lib/puppet]/selrole: Found selrole default 'object_r' for /var/lib/puppet
      Debug: /File[/var/lib/puppet]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet
      Debug: /File[/var/lib/puppet]/selrange: Found selrange default 's0' for /var/lib/puppet
      Debug: /File[/var/lib/puppet/facts.d]: Autorequiring File[/var/lib/puppet]
      Debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl]
      Debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl]
      Debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl]
      Debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
      Debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/var/lib/puppet/state]
      Debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
      Debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
      Debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
      Debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
      Debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
      Debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl]
      Debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/var/lib/puppet/state]
      Debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
      Debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state]
      Debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
      Debug: /File[/var/lib/puppet/state/last_run_report.yaml]/seluser: seluser changed 'unconfined_u' to 'system_u'
      Debug: /File[/var/lib/puppet/state/state.yaml]/seluser: seluser changed 'unconfined_u' to 'system_u'
      Debug: /File[/var/lib/puppet/state/last_run_summary.yaml]/seluser: seluser changed 'unconfined_u' to 'system_u'
      Debug: Finishing transaction 70304989357000
      Debug: Loaded state in 0.05 seconds
      Debug: Loaded state in 0.06 seconds
      Info: Applying configuration version '1391346399'
      Debug: Augeas[enable_shorewall](provider=augeas): Opening augeas with root /, lens path , flags 64
      Debug: Augeas[enable_shorewall](provider=augeas): Augeas version 1.0.0 is installed
      Debug: Augeas[enable_shorewall](provider=augeas): Will attempt to save and only run if files changed
      Debug: Augeas[enable_shorewall](provider=augeas): sending command 'set' with params ["/files/etc/sysconfig/shorewall/startup", "1"]
      Debug: Augeas[enable_shorewall](provider=augeas): Files changed, should execute
      Debug: Augeas[enable_shorewall](provider=augeas): sending command 'set' with params ["/files/etc/sysconfig/shorewall/startup", "1"]
      Debug: Augeas[enable_shorewall](provider=augeas): Closed the augeas connection
      Error: undefined local variable or method `success' for #<Puppet::Type::Augeas::ProviderAugeas:0x7fe24e60e8d8>
      /usr/lib/ruby/site_ruby/1.8/puppet/provider/augeas/augeas.rb:430:in `execute_changes'
      /usr/lib/ruby/site_ruby/1.8/puppet/type/augeas.rb:184:in `sync'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:193:in `sync'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:130:in `sync_if_needed'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:82:in `perform_changes'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:81:in `each'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:81:in `perform_changes'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:18:in `evaluate'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:174:in `apply'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:187:in `eval_resource'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:117:in `call'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:117:in `evaluate'
      /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:327:in `thinmark'
      /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
      /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:326:in `thinmark'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:117:in `evaluate'
      /usr/lib/ruby/site_ruby/1.8/puppet/graph/relationship_graph.rb:118:in `traverse'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:108:in `evaluate'
      /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:164:in `apply'
      /usr/lib/ruby/site_ruby/1.8/puppet/util/log.rb:149:in `with_destination'
      /usr/lib/ruby/site_ruby/1.8/puppet/transaction/report.rb:108:in `as_logging_destination'
      /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:163:in `apply'
      /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:125:in `apply_catalog'
      /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:in `benchmark'
      /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
      /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in `benchmark'
      /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:124:in `apply_catalog'
      /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:192:in `run'
      /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:268:in `apply_catalog'
      /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:218:in `main'
      /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:146:in `run_command'
      /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
      /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:470:in `plugin_hook'
      /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
      /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:478:in `exit_on_fail'
      /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
      /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:137:in `run'
      /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:91:in `execute'
      /usr/bin/puppet:4
      Error: /Stage[main]/Main/Augeas[enable_shorewall]/returns: change from need_to_run to 0 failed: undefined local variable or method `success' for #<Puppet::Type::Augeas::ProviderAugeas:0x7fe24e60e8d8>
      Debug: Finishing transaction 70304966438380
      Debug: Storing state
      Debug: Stored state in 0.35 seconds
      Notice: Finished catalog run in 1.50 seconds
      Debug: Using settings: adding file resource 'rrddir': 'File[/var/lib/puppet/rrd]{:ensure=>:directory, :group=>"puppet", :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"750", :path=>"/var/lib/puppet/rrd", :backup=>false}'
      Debug: /File[/var/lib/puppet/rrd]/seluser: Found seluser default 'system_u' for /var/lib/puppet/rrd
      Debug: /File[/var/lib/puppet/rrd]/selrole: Found selrole default 'object_r' for /var/lib/puppet/rrd
      Debug: /File[/var/lib/puppet/rrd]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/rrd
      Debug: /File[/var/lib/puppet/rrd]/selrange: Found selrange default 's0' for /var/lib/puppet/rrd
      Debug: Finishing transaction 70304966207300
      Debug: Received report to process from foo
      Debug: Processing report from foo with processor Puppet::Reports::Store
      

      This is on CentOS 6 using latest packages of puppetlabs:

      # rpm -qi puppet ruby-augeas augeas-libs
      Name        : puppet                       Relocations: (not relocatable)
      Version     : 3.4.2                             Vendor: Puppet Labs
      Release     : 1.el6                         Build Date: Mon 06 Jan 2014 11:41:42 PM CET
      Install Date: Fri 24 Jan 2014 11:27:46 AM CET      Build Host: rpm-builder-3
      Group       : System Environment/Base       Source RPM: puppet-3.4.2-1.el6.src.rpm
      Size        : 3796646                          License: ASL 2.0
      Signature   : RSA/10, Tue 07 Jan 2014 01:28:53 AM CET, Key ID 1054b7a24bd6ec30
      URL         : http://puppetlabs.com
      Summary     : A network tool for managing many disparate systems
      Description :
      Puppet lets you centrally manage every important aspect of your system using a
      cross-platform specification language that manages all the separate elements
      normally aggregated in different files, like users, cron jobs, and hosts,
      along with obviously discrete elements like packages, services, and files.
      Name        : ruby-augeas                  Relocations: (not relocatable)
      Version     : 0.4.1                             Vendor: Fedora Project
      Release     : 1.el6                         Build Date: Tue 14 Feb 2012 01:43:04 AM CET
      Install Date: Thu 19 Dec 2013 11:58:30 PM CET      Build Host: x86-17.phx2.fedoraproject.org
      Group       : Development/Languages         Source RPM: ruby-augeas-0.4.1-1.el6.src.rpm
      Size        : 45845                            License: LGPLv2+
      Signature   : RSA/8, Tue 14 Feb 2012 05:45:43 PM CET, Key ID 3b49df2a0608b895
      Packager    : Fedora Project
      URL         : http://augeas.net
      Summary     : Ruby bindings for Augeas
      Description :
      Ruby bindings for augeas.
      Name        : augeas-libs                  Relocations: (not relocatable)
      Version     : 1.0.0                             Vendor: CentOS
      Release     : 5.el6_5.1                     Build Date: Mon 20 Jan 2014 06:41:25 PM CET
      Install Date: Fri 24 Jan 2014 11:27:48 AM CET      Build Host: c6b10.bsys.dev.centos.org
      Group       : System Environment/Libraries   Source RPM: augeas-1.0.0-5.el6_5.1.src.rpm
      Size        : 957408                           License: LGPLv2+
      Signature   : RSA/SHA1, Mon 20 Jan 2014 06:58:04 PM CET, Key ID 0946fca2c105b9de
      Packager    : CentOS BuildSystem <http://bugs.centos.org>
      URL         : http://augeas.net/
      Summary     : Libraries for augeas
      Description :
      The libraries for augeas.
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            duritong Peter Meier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support