Issue #8483 has been updated by Robert Pictures.
Thanks for your help. Here is the output you asked for ws-091:~ root# puppetd --test --server puppetserver01. --debug --trace warning: You have configuration parameter $localconfig specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent] warning: You have configuration parameter $classfile specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent] debug: Failed to load library 'selinux' for feature 'selinux' debug: Failed to load library 'shadow' for feature 'libshadow' debug: Puppet::Type::User::ProviderUser_role_add: file roleadd 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::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice/directoryservice.rb:268:in `get_exec_preamble' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice/directoryservice.rb:131:in `list_all_present' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice/directoryservice.rb:222:in `single_report' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice/directoryservice.rb:508:in `getinfo' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice.rb:200:in `exists?' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/type/user.rb:312:in `exists?' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:459:in `service_user_available?' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings/file_setting.rb:45:in `use_service_user?' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings/file_setting.rb:40:in `owner' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings/file_setting.rb:97:in `to_resource' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:564:in `to_catalog' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:562:in `each' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:562:in `to_catalog' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:621:in `use' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/sync.rb:230:in `synchronize' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:615:in `use' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application/agent.rb:220:in `setup' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:420:in `hook' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:411:in `exit_on_fail' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/bin/puppetd:4 /usr/bin/puppetd:19:in `load' /usr/bin/puppetd:19 err: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `<<' for nil:NilClass /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice/directoryservice.rb:268:in `get_exec_preamble' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice/directoryservice.rb:131:in `list_all_present' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice/directoryservice.rb:222:in `single_report' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice/directoryservice.rb:508:in `getinfo' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/provider/nameservice.rb:200:in `exists?' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/type/user.rb:312:in `exists?' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:459:in `service_user_available?' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings/file_setting.rb:45:in `use_service_user?' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings/file_setting.rb:40:in `owner' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings/file_setting.rb:97:in `to_resource' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:564:in `to_catalog' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:562:in `each' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:562:in `to_catalog' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:621:in `use' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/sync.rb:230:in `synchronize' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/util/settings.rb:615:in `use' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/ssl_file.rb:50:in `initialize' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/indirection.rb:314:in `new' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/indirection.rb:314:in `make_terminus' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/indirection.rb:123:in `terminus' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/indirection.rb:302:in `prepare' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/indirection.rb:181:in `find' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector.rb:50:in `find' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/ssl/host.rb:120:in `key' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/ssl/host.rb:158:in `certificate' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/ssl/host.rb:227:in `wait_for_cert' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application/agent.rb:194:in `setup_host' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application/agent.rb:259:in `setup' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:420:in `hook' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:411:in `exit_on_fail' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/bin/puppetd:4 /usr/bin/puppetd:19:in `load' /usr/bin/puppetd:19 err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: undefined method `<<' for nil:NilClass info: Creating a new SSL key for ws-091. /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/ssl_file.rb:163:in `write' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/ssl_file.rb:98:in `save' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/key/file.rb:34:in `save' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector/indirection.rb:264:in `save' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/indirector.rb:68:in `save' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/ssl/host.rb:129:in `generate_key' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/ssl/host.rb:158:in `certificate' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/ssl/host.rb:227:in `wait_for_cert' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application/agent.rb:194:in `setup_host' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application/agent.rb:259:in `setup' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:420:in `hook' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:411:in `exit_on_fail' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/lib/puppet/application.rb:304:in `run' /Library/Ruby/Gems/1.8/gems/puppet-2.6.8/bin/puppetd:4 /usr/bin/puppetd:19:in `load' /usr/bin/puppetd:19 err: Could not request certificate: Could not write /private/var/puppet/ssl/private_keys/ws-091. .pem to privatekeydir: undefined method `<<' for nil:NilClass Exiting; failed to retrieve certificate and waitforcert is disabled ---------------------------------------- Bug #8483: puppet gives could not create resources error in osx 10.7 GM release https://projects.puppetlabs.com/issues/8483 Author: Robert Pictures Status: Unreviewed Priority: Normal Assignee: Category: OSX Target version: 2.6.x Affected Puppet version: Keywords: Branch: I have installed puppet on my new OSX 10.7 machine I have installed Puppet version 2.6.8 from a gem and facter 1.6.0 installed from a gem my puppet.conf file is as follows <pre> [main] vardir = /private/var/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl pluginsync = true factpath = $vardir/lib/facter [puppetd] classfile = $vardir/classes.txt localconfig = $vardir/localconfig </pre> I try to run puppetd with the following command. `puppetd --server puppetserver --test` <pre> ws-091:~ root# puppetd --test --server puppetserver warning: You have configuration parameter $localconfig specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent] warning: You have configuration parameter $classfile specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent] err: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `<<' for nil:NilClass err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: undefined method `<<' for nil:NilClass info: Creating a new SSL key for workstation name err: Could not request certificate: Could not write /private/var/puppet/ssl/private_keys/workstationname.pem to privatekeydir: undefined method `<<' for nil:NilClass Exiting; failed to retrieve certificate and waitforcert is disabled </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.
