Issue #12960 has been updated by Matthaus Litteken. Target version changed from 2.7.13 to 2.7.14
---------------------------------------- Bug #12960: Puppet resource maillist stack traces without a source https://projects.puppetlabs.com/issues/12960#change-60530 Author: Ben Ford Status: Merged - Pending Release Priority: Normal Assignee: Category: Target version: 2.7.14 Affected Puppet version: 2.7.9 Keywords: resource maillist Branch: https://github.com/puppetlabs/puppet/pull/562 If you don't have a provider, the mail list resource stack traces instead of giving a useful error. <pre> [root@andrew puppet-enterprise]# puppet resource maillist /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:902:in `providers_by_source': undefined method `source' for nil:NilClass (NoMethodError) from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:901:in `collect' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:901:in `providers_by_source' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:873:in `instances' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/resource/ral.rb:14:in `search' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:249:in `search' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/resource.rb:234:in `find_or_save_resources' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/resource.rb:144:in `main' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:314:in `run_command' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `run' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:410:in `hook' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `run' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:401:in `exit_on_fail' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `run' from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:69:in `execute' from /usr/local/bin/puppet:4 </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.
