Issue #5204 has been updated by Nigel Kersten. Status changed from Unreviewed to Accepted
---------------------------------------- Bug #5204: puppet describe type throws error unless --short is used https://projects.puppetlabs.com/issues/5204 Author: Garrett Honeycutt Status: Accepted Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.6.1 Keywords: describe Branch: This happens with all types, just using zpool as an example to reproduce the error. <pre> $ puppet describe zpool zpool ===== Manage zpools. Create and delete zpools. The provider WILL NOT SYNC, only report differences. Supports vdevs with mirrors, raidz, logs and spares. Parameters ---------- /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:133:in `format_attrs': undefined method `namevar' for Puppet::Type::Zpool:Class (NoMethodError) from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:129:in `each' from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:129:in `format_attrs' from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:97:in `format_type' from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:193:in `main' from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:193:in `each' from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:193:in `main' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:308:in `run_command' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:397:in `exit_on_fail' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run' from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute' from /usr/bin/puppet:4 - **disk** </pre> <pre> $ puppet describe zpool --short zpool ===== Manage zpools. Create and delete zpools. The provider WILL NOT SYNC, only report differences. Supports vdevs with mirrors, raidz, logs and spares. </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.
