Bug #8483
puppet gives could not create resources error in osx 10.7 GM release
| Status: | Closed | Start date: | 07/18/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | OSX | |||
| Target version: | 2.7.4 | |||
| Affected Puppet version: | 2.7.1 | Branch: | ||
| Keywords: | Mac OS X 10.7 lion | |||
| Votes: | 3 |
Description
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
[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
I try to run puppetd with the following command.
puppetd --server puppetserver --test
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
Related issues
History
Updated by Robert Pictures 10 months ago
- Target version set to 2.6.x
Updated by Robert Pictures 10 months ago
- Category set to Darwin
Updated by Robert Pictures 10 months ago
- Category changed from Darwin to OSX
Updated by Daniel Pittman 10 months ago
Hey. Could you try that again, as written, with the --debug --trace options added? That would give a bunch of extra debugging information to us.
Updated by Robert Pictures 10 months ago
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
Updated by Daniel Pittman 10 months ago
Awesome. No promises about when we can get to investigating further, but that narrows the problem down to the bit of code that failed. Thanks for the prompt response.
Updated by Christian Caterham 10 months ago
- Affected Puppet version set to 2.7.1
- Keywords set to Mac OS X 10.7 Lion
mac:~ root# puppetd -t --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 $server 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 'shadow' for feature 'libshadow'
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderUseradd: file chage does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:254:in `get_exec_preamble'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:117:in `list_all_present'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:208:in `single_report'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:526:in `getinfo'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice.rb:200:in `exists?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/type/user.rb:315:in `exists?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:459:in `service_user_available?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:45:in `use_service_user?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:40:in `owner'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:97:in `to_resource'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:564:in `to_catalog'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:562:in `each'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:562:in `to_catalog'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/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.7.1/lib/puppet/util/settings.rb:615:in `use'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:442:in `setup'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:411:in `hook'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:402:in `exit_on_fail'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/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.7.1/lib/puppet/provider/nameservice/directoryservice.rb:254:in `get_exec_preamble'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:117:in `list_all_present'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:208:in `single_report'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:526:in `getinfo'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice.rb:200:in `exists?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/type/user.rb:315:in `exists?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:459:in `service_user_available?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:45:in `use_service_user?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:40:in `owner'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:97:in `to_resource'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:564:in `to_catalog'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:562:in `each'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:562:in `to_catalog'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/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.7.1/lib/puppet/util/settings.rb:615:in `use'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/ssl_file.rb:50:in `initialize'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:314:in `new'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:314:in `make_terminus'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:123:in `terminus'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:302:in `prepare'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:181:in `find'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/ssl/host.rb:138:in `key'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/ssl/host.rb:176:in `certificate'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/ssl/host.rb:263:in `wait_for_cert'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:416:in `setup_host'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:480:in `setup'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:411:in `hook'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:402:in `exit_on_fail'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/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
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:254:in `get_exec_preamble'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:117:in `list_all_present'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:208:in `single_report'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:526:in `getinfo'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice.rb:200:in `exists?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/type/user.rb:315:in `exists?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:459:in `service_user_available?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:45:in `use_service_user?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:40:in `owner'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:97:in `to_resource'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:564:in `to_catalog'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:562:in `each'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:562:in `to_catalog'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/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.7.1/lib/puppet/util/settings.rb:615:in `use'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/ssl_file.rb:50:in `initialize'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:314:in `new'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:314:in `make_terminus'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:123:in `terminus'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:39:in `cache'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:214:in `find_in_cache'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/indirector/indirection.rb:183:in `find'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/ssl/host.rb:180:in `certificate'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/ssl/host.rb:263:in `wait_for_cert'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:416:in `setup_host'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:480:in `setup'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:411:in `hook'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:402:in `exit_on_fail'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:305:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/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
debug: Using cached certificate for ca
debug: Using cached certificate for leica-mac-im.inf.susx.ac.uk
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:254:in `get_exec_preamble'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:117:in `list_all_present'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:208:in `single_report'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice/directoryservice.rb:526:in `getinfo'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/provider/nameservice.rb:200:in `exists?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/type/user.rb:315:in `exists?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:459:in `service_user_available?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:45:in `use_service_user?'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:40:in `owner'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings/file_setting.rb:97:in `to_resource'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:564:in `to_catalog'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:562:in `each'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/settings.rb:562:in `to_catalog'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/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.7.1/lib/puppet/util/settings.rb:615:in `use'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/configurer.rb:68:in `initialize'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent.rb:95:in `new'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent.rb:95:in `with_client'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent.rb:37:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:172:in `call'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:172:in `controlled_run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent.rb:35:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:336:in `onetime'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:310:in `run_command'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:307:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:411:in `hook'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:307:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:402:in `exit_on_fail'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:307:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/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, :agent]: undefined method `<<' for nil:NilClass
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/pidlock.rb:33:in `initialize'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/pidlock.rb:33:in `open'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/util/pidlock.rb:33:in `lock'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent/locker.rb:19:in `lock'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent.rb:39:in `run'
/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.7.1/lib/puppet/agent.rb:39:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent.rb:103:in `with_client'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent.rb:37:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:172:in `call'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:172:in `controlled_run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/agent.rb:35:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:336:in `onetime'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application/agent.rb:310:in `run_command'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:307:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:411:in `hook'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:307:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:402:in `exit_on_fail'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/lib/puppet/application.rb:307:in `run'
/Library/Ruby/Gems/1.8/gems/puppet-2.7.1/bin/puppetd:4
/usr/bin/puppetd:19:in `load'
/usr/bin/puppetd:19
err: Could not run Puppet configuration client: No such file or directory - /var/lib/puppet/state/puppetdlock
Updated by Clay Caviness 9 months ago
This is still an issue in 2.7.3. Adding “—waitforcert 60” to the initial run works, but is a pretty gross workaround. I have a vague recollection of this happening previously, in the 0.25/0.24 time frame.
Updated by James Turnbull 9 months ago
- Status changed from Unreviewed to Needs Decision
- Assignee set to Nigel Kersten
- Priority changed from Normal to Urgent
Updated by Nigel Kersten 9 months ago
- Target version changed from 2.6.x to 2.7.x
Clay Caviness wrote:
This is still an issue in 2.7.3. Adding “—waitforcert 60” to the initial run works, but is a pretty gross workaround. I have a vague recollection of this happening previously, in the 0.25/0.24 time frame.
I can reproduce this in 2.7.3, but not in 2.7.x , which means 2.7.4 will resolve this.
Anyone else able to test 2.7.x?
Updated by Nigel Kersten 9 months ago
- Keywords changed from Mac OS X 10.7 Lion to Mac OS X 10.7 lion
Updated by Nigel Kersten 9 months ago
- Status changed from Needs Decision to Needs More Information
Updated by Nigel Kersten 9 months ago
- Priority changed from Urgent to Normal
Updated by Eamon B 8 months ago
Installing from git clone of the puppetlabs/puppet repository on Mac Mini running 10.7.1 (+Server). No longer receive this message, may require further testing.
Will update when i have installed 2.7.x on some other machines.
Updated by Nigel Kersten 8 months ago
Excellent. The 2.7.4 rcs should also be good for testing this.
Updated by Eamon B 7 months ago
Confirmed working with puppet 2.7.5 and facter 1.6.2, installed from source to Mac OS X 10.7.1 + Server on Mac Mini.
Updated by Nigel Kersten 7 months ago
- Assignee changed from Nigel Kersten to Gary Larizza
Updated by James Turnbull 6 months ago
- Status changed from Needs More Information to Closed
Closed. Resolved in 2.7.4.
Updated by Daniel Pittman 2 months ago
- Target version changed from 2.7.x to 2.7.4