Skip to content

Instantly share code, notes, and snippets.

@ody
Created February 5, 2013 19:40
Show Gist options
  • Save ody/4717014 to your computer and use it in GitHub Desktop.
Save ody/4717014 to your computer and use it in GitHub Desktop.
root@ningyo:~# puppet cert --list --trace
Error: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl, :ca]: undefined method `exists?' for #<Puppet::Type::Group:0x7f50216fd5d8>
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:725:in `service_group_available?'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:54:in `send'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:54:in `safe_to_use_settings_value?'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:45:in `value'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:102:in `group'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:157:in `to_resource'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:847:in `to_catalog'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:844:in `each'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:844:in `to_catalog'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:906:in `use'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:900:in `use'
/usr/lib/ruby/vendor_ruby/puppet/ssl/certificate_authority.rb:165:in `initialize'
/usr/lib/ruby/vendor_ruby/puppet/application/cert.rb:217:in `new'
/usr/lib/ruby/vendor_ruby/puppet/application/cert.rb:217:in `setup'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:362:in `run'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:456:in `plugin_hook'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:362:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:504:in `exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:362:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:132:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:86:in `execute'
/usr/bin/puppet:4
Error: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl, :ca]: undefined method `exists?' for #<Puppet::Type::Group:0x7f50216fd5d8>
undefined method `exists?' for #<Puppet::Type::Group:0x7f50216fd5d8>
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:725:in `service_group_available?'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:54:in `send'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:54:in `safe_to_use_settings_value?'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:45:in `value'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:102:in `group'
/usr/lib/ruby/vendor_ruby/puppet/settings/file_setting.rb:157:in `to_resource'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:847:in `to_catalog'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:844:in `each'
require 'puppet'
require 'sync'
require 'getoptlong'
require 'puppet/util/loadedfile'
require 'puppet/util/command_line/puppet_option_parser'
require 'puppet/settings/errors'
require 'puppet/settings/string_setting'
require 'puppet/settings/file_setting'
require 'puppet/settings/directory_setting'
require 'puppet/settings/path_setting'
require 'puppet/settings/boolean_setting'
require 'puppet/settings/terminus_setting'
require 'puppet/settings/duration_setting'
require 'puppet/settings/config_file'
require 'puppet/settings/value_translator'
# The class for handling configuration files.
:725
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:844:in `to_catalog'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:906:in `use'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:900:in `use'
/usr/lib/ruby/vendor_ruby/puppet/ssl/certificate_authority.rb:165:in `initialize'
/usr/lib/ruby/vendor_ruby/puppet/application/cert.rb:217:in `new'
/usr/lib/ruby/vendor_ruby/puppet/application/cert.rb:217:in `setup'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:362:in `run'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:456:in `plugin_hook'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:362:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:504:in `exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:362:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:132:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:86:in `execute'
/usr/bin/puppet:4
root@ningyo:~# puppet master --verbose --no-daemonize
Error: Could not create resources for managing Puppet's files and directories in sections [:main, :master, :ssl, :metrics]: undefined method `exists?' for #<Puppet::Type::Group:0x7fb42bcfedd8>
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 `exists?' for #<Puppet::Type::Group:0x7fb42bcfedd8>
undefined method `exists?' for #<Puppet::Type::Group:0x7fb42bcfedd8>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment