Issue #16108 has been updated by Seb Insua.

<pre>
~/puppetry: sudo /usr/sbin/puppetmasterd --no-daemonize --verbose --debug
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderUseradd: file chage does not exist
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -list /Users'
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -read /Users/puppet'
debug: Puppet::Type::User::ProviderDirectoryservice: 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.
err: Could not create resources for managing Puppet's files and directories in 
sections [:main, :master, :ssl, :metrics]: undefined method `string' for 
nil:NilClass
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -list /Users'
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -read /Users/puppet'
debug: Puppet::Type::User::ProviderDirectoryservice: 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.
err: Could not create resources for managing Puppet's files and directories in 
sections [:ca]: undefined method `string' for nil:NilClass
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -list /Users'
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -read /Users/puppet'
debug: Puppet::Type::User::ProviderDirectoryservice: 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.
err: Could not create resources for managing Puppet's files and directories in 
sections [:main, :ssl, :ca]: undefined method `string' for nil:NilClass
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -list /Users'
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -read /Users/puppet'
debug: Puppet::Type::User::ProviderDirectoryservice: 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.
err: Could not create resources for managing Puppet's files and directories in 
sections [:main, :ssl]: undefined method `string' for nil:NilClass
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -list /Users'
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -read /Users/puppet'
debug: Puppet::Type::User::ProviderDirectoryservice: 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.
err: Could not create resources for managing Puppet's files and directories in 
sections [:main, :ssl]: undefined method `string' for nil:NilClass
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -list /Users'
debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl 
-plist . -read /Users/puppet'
debug: Puppet::Type::User::ProviderDirectoryservice: 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.
err: Could not create resources for managing Puppet's files and directories in 
sections [:main, :ssl]: undefined method `string' for nil:NilClass
debug: Using cached certificate for ca
debug: Using cached certificate for ca
debug: Using cached certificate for seb-mac-2.local
/Library/Ruby/Site/1.8/puppet/network/server.rb:100:in `register_xmlrpc': 
uninitialized constant Puppet::Network::Handler (NameError)
        from /Library/Ruby/Site/1.8/puppet/network/server.rb:99:in `each'
        from /Library/Ruby/Site/1.8/puppet/network/server.rb:99:in 
`register_xmlrpc'
        from /Library/Ruby/Site/1.8/puppet/network/server.rb:67:in `initialize'
        from /Library/Ruby/Site/1.8/puppet/application/master.rb:192:in `new'
        from /Library/Ruby/Site/1.8/puppet/application/master.rb:192:in `main'
        from /Library/Ruby/Site/1.8/puppet/application/master.rb:146: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 /usr/sbin/puppetmasterd:4
</pre>

I'm also on 10.8. I believe I installed from the package on the website -- I 
also had to manually create users and groups.

As you can see it happens when I run the puppetmaster daemon. :)
----------------------------------------
Bug #16108: Puppet 2.7.19 failure - `register_xmlrpc': uninitialized constant 
Puppet::Network::Handler (NameError)
https://projects.puppetlabs.com/issues/16108#change-72325

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


<pre>
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/network/server.rb:100:in 
`register_xmlrpc': uninitialized constant Puppet::Network::Handler (NameError)
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/network/server.rb:99:in 
`each'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/network/server.rb:99:in 
`register_xmlrpc'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/network/server.rb:67:in 
`initialize'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/application/master.rb:192:in
 `new'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/application/master.rb:192:in
 `main'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/application/master.rb:146:in
 `run_command'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:416:in 
`hook'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:407:in 
`exit_on_fail'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
        from 
/Library/Ruby/Gems/1.8/gems/puppet-2.7.19/lib/puppet/util/command_line.rb:69:in 
`execute'
        from /Library/Ruby/Gems/1.8/gems/puppet-2.7.19/bin/puppet:4
        from /usr/bin/puppet:23:in `load'
        from /usr/bin/puppet:23
</pre>

The platform is OSX 10.8. Puppet installed via gem.



-- 
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