Issue #18213 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to Ben Ford
What OSX version are you on, Ben? If it's Mountain Lion/10.8, this is a manifestation of the https://projects.puppetlabs.com/issues/12833 I've put this ticket's status into "Needs more Information" and assigned it to you. Please either (a) update it with the information I've requested and re-assign it to me if you need more help, or (b) change the status to "Closed" if you were able to resolve the issue on your own. ---------------------------------------- Bug #18213: OSX user resource type stack traces on empty password https://projects.puppetlabs.com/issues/18213#change-79722 Author: Ben Ford Status: Needs More Information Priority: Normal Assignee: Ben Ford Category: Target version: Affected Puppet version: 2.7.20 Keywords: Branch: Following the OSX install instructions on http://docs.puppetlabs.com/guides/installation.html#mac-os-x leads you to this gem: puppetlabs18:~ ben$ sudo puppet resource user puppet ensure=present gid=puppet shell='/sbin/nologin' notice: /User[puppet]/ensure: created /Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:385:in `get_password': undefined method `string' for nil:NilClass (NoMethodError) from /Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:199:in `generate_attribute_hash' from /Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:235:in `single_report' from /Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:643:in `getinfo' from /Library/Ruby/Site/1.8/puppet/provider/nameservice.rb:200:in `exists?' from /Library/Ruby/Site/1.8/puppet/type/user.rb:74:in `retrieve' from /Library/Ruby/Site/1.8/puppet/type/user.rb:366:in `retrieve' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `inject' from /Library/Ruby/Site/1.8/puppet/type/user.rb:360:in `each' from /Library/Ruby/Site/1.8/puppet/type/user.rb:360:in `inject' from /Library/Ruby/Site/1.8/puppet/type/user.rb:360:in `retrieve' from /Library/Ruby/Site/1.8/puppet/type.rb:728:in `retrieve_resource' from /Library/Ruby/Site/1.8/puppet/type.rb:1935:in `to_trans' from /Library/Ruby/Site/1.8/puppet/type.rb:1960:in `to_resource' from /Library/Ruby/Site/1.8/puppet/indirector/resource/ral.rb:32:in `save' from /Library/Ruby/Site/1.8/puppet/indirector/indirection.rb:271:in `save' from /Library/Ruby/Site/1.8/puppet/application/resource.rb:227:in `find_or_save_resources' from /Library/Ruby/Site/1.8/puppet/application/resource.rb:144:in `main' from /Library/Ruby/Site/1.8/puppet/application.rb:317:in `run_command' from /Library/Ruby/Site/1.8/puppet/application.rb:309:in `run' from /Library/Ruby/Site/1.8/puppet/application.rb:416:in `hook' from /Library/Ruby/Site/1.8/puppet/application.rb:309:in `run' from /Library/Ruby/Site/1.8/puppet/application.rb:407:in `exit_on_fail' from /Library/Ruby/Site/1.8/puppet/application.rb:309:in `run' from /Library/Ruby/Site/1.8/puppet/util/command_line.rb:69:in `execute' from /usr/bin/puppet:4 puppetlabs18:~ ben$ I should point out that this is after the nasty symlink workaround from earlier today. -- 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.
