Issue #16109 has been updated by Gary Larizza.

Yeah, I'm wondering what the vardir setting is.  We already know puppet.conf 
doesn't get dropped in our Mac packages (this needs fixed, but I'm failing at 
finding the bug number), but I think as long as it's SET in puppet.conf it will 
be created just fine.  If it doesn't, I'm not sure.  Also, did you run puppet 
with sudo or as a local user?
----------------------------------------
Bug #16109: Puppet fails on OSX 3.0.0rc3
https://projects.puppetlabs.com/issues/16109#change-70125

Author: James Turnbull
Status: Needs More Information
Priority: Normal
Assignee: James Turnbull
Category: OSX
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


<pre>
Debug: Failed to load library 'shadow' for feature 'libshadow'
Debug: Puppet::Type::User::ProviderUseradd: file usermod does not exist
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Debug: Failed to load library 'ldap' for feature 'ldap'
Debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
Debug: Puppet::Type::User::ProviderUser_role_add: file usermod does not exist
Debug: Executing '/usr/bin/dscl -plist . -list /Users'
Debug: Executing '/usr/bin/dscl -plist . -read /Users/puppet'
Debug: Executing '/usr/bin/plutil -convert xml1 -o /dev/stdout 
/var/db/dslocal/nodes/Default/users/puppet.plist'
Debug: Converting binary plist to XML
Debug: Executing: 'plutil -convert xml1 -o - -'
Debug: Converting XML values to a hash.
Error: Could not create resources for managing Puppet's files and directories 
in sections [:main, :master, :ssl, :metrics]: undefined method `string' for 
nil:NilClass
/Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:330
/Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:156
/Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:184
/Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:588
/Library/Ruby/Site/1.8/puppet/provider/nameservice.rb:200
/Library/Ruby/Site/1.8/puppet/type/user.rb:355
/Library/Ruby/Site/1.8/puppet/settings.rb:746
/Library/Ruby/Site/1.8/puppet/settings/file_setting.rb:45
/Library/Ruby/Site/1.8/puppet/settings/file_setting.rb:40
/Library/Ruby/Site/1.8/puppet/settings/file_setting.rb:93
/Library/Ruby/Site/1.8/puppet/settings.rb:882
/Library/Ruby/Site/1.8/puppet/settings.rb:879
/Library/Ruby/Site/1.8/puppet/settings.rb:879
/Library/Ruby/Site/1.8/puppet/settings.rb:941
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/sync.rb:230
/Library/Ruby/Site/1.8/puppet/settings.rb:935
/Library/Ruby/Site/1.8/puppet/application/master.rb:226
/Library/Ruby/Site/1.8/puppet/application.rb:340
/Library/Ruby/Site/1.8/puppet/application.rb:436
/Library/Ruby/Site/1.8/puppet/application.rb:340
/Library/Ruby/Site/1.8/puppet/util.rb:529
/Library/Ruby/Site/1.8/puppet/application.rb:340
/Library/Ruby/Site/1.8/puppet/util/command_line.rb:74
/usr/bin/puppet:10
Error: Could not prepare for execution: Could not create resources for managing 
Puppet's files and directories in sections [:main, :master, :ssl, :metrics]: 
undefined method `string' for nil:NilClass
undefined method `string' for nil:NilClass
/Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:330
/Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:156
/Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:184
/Library/Ruby/Site/1.8/puppet/provider/nameservice/directoryservice.rb:588
/Library/Ruby/Site/1.8/puppet/provider/nameservice.rb:200
/Library/Ruby/Site/1.8/puppet/type/user.rb:355
/Library/Ruby/Site/1.8/puppet/settings.rb:746
/Library/Ruby/Site/1.8/puppet/settings/file_setting.rb:45
/Library/Ruby/Site/1.8/puppet/settings/file_setting.rb:40
/Library/Ruby/Site/1.8/puppet/settings/file_setting.rb:93
/Library/Ruby/Site/1.8/puppet/settings.rb:882
/Library/Ruby/Site/1.8/puppet/settings.rb:879
/Library/Ruby/Site/1.8/puppet/settings.rb:879
/Library/Ruby/Site/1.8/puppet/settings.rb:941
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/sync.rb:230
/Library/Ruby/Site/1.8/puppet/settings.rb:935
/Library/Ruby/Site/1.8/puppet/application/master.rb:226
/Library/Ruby/Site/1.8/puppet/application.rb:340
/Library/Ruby/Site/1.8/puppet/application.rb:436
/Library/Ruby/Site/1.8/puppet/application.rb:340
/Library/Ruby/Site/1.8/puppet/util.rb:529
/Library/Ruby/Site/1.8/puppet/application.rb:340
/Library/Ruby/Site/1.8/puppet/util/command_line.rb:74
/usr/bin/puppet:10
</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.

Reply via email to