Issue #4393 has been updated by James Turnbull. Status changed from Accepted to Duplicate
Duplicate of #4637. ---------------------------------------- Bug #4393: /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:133:in `format_attrs': undefined method `namevar' for Puppet::Type::User:Class (NoMethodError) http://projects.puppetlabs.com/issues/4393 Author: joy huang Status: Duplicate Priority: High Assignee: Markus Roberts Category: Target version: 2.6.1 Affected version: 2.6.0 Keywords: Branch: i update puppet from 0.25.5 to 2.6 release when i type pi resource,it show some error below: but it works well under 0.25.5 release,waiting for fix **[r...@ctc92 puppet-2.6.0]# pi user** user ==== Manage users. This type is mostly built to manage system users, so it is lacking some features useful for managing normal users. This resource type uses the prescribed native tools for creating groups and generally uses POSIX APIs for retrieving information about them. It does not directly modify /etc/passwd or anything. Parameters ---------- /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:133:in `format_attrs': undefined method `namevar' for Puppet::Type::User: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:309:in `run_command' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:398:in `exit_on_fail' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run' from /usr/bin/pi:5 -- 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.
