Skip to content

Instantly share code, notes, and snippets.

@3h4x
Created July 27, 2014 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3h4x/286958274f1176550025 to your computer and use it in GitHub Desktop.
Save 3h4x/286958274f1176550025 to your computer and use it in GitHub Desktop.
root@b6f44c9a3d3e:/# puppet apply test.pp --trace --debug
Notice: Compiled catalog for b6f44c9a3d3e in environment production in 0.02 seconds
Debug: Creating default schedules
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'
Debug: Failed to load library 'shadow' for feature 'libshadow'
Debug: Puppet::Type::User::ProviderUseradd: file useradd 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::ProviderDirectoryservice: file /usr/bin/dsimport does not exist
Debug: Puppet::Type::User::ProviderUser_role_add: file useradd does not exist
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Debug: Puppet::Type::User::ProviderUseradd: file useradd 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::ProviderDirectoryservice: file /usr/bin/dsimport does not exist
Debug: Puppet::Type::User::ProviderUser_role_add: file useradd does not exist
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Error: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl, :agent]: undefined method `exists?' for nil:NilClass
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/type/user.rb:381:in `exists?'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:777:in `service_user_available?'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings/file_setting.rb:52:in `safe_to_use_settings_value?'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings/file_setting.rb:43:in `value'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings/file_setting.rb:106:in `owner'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings/file_setting.rb:160:in `to_resource'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:893:in `block in to_catalog'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:890:in `each'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:890:in `to_catalog'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:951:in `use'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/configurer.rb:48:in `initialize'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:287:in `new'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:287:in `apply_catalog'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:228:in `block in main'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/context.rb:64:in `override'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet.rb:234:in `override'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:190:in `main'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:151:in `run_command'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application.rb:371:in `block (2 levels) in run'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application.rb:477:in `plugin_hook'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application.rb:371:in `block in run'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/util.rb:479:in `exit_on_fail'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application.rb:371:in `run'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/util/command_line.rb:137:in `run'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/util/command_line.rb:91:in `execute'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/bin/puppet:8:in `<top (required)>'
/usr/bin/puppet:23:in `load'
/usr/bin/puppet:23:in `<main>'
Error: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl, :agent]: undefined method `exists?' for nil:NilClass
undefined method `exists?' for nil:NilClass
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/type/user.rb:381:in `exists?'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:777:in `service_user_available?'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings/file_setting.rb:52:in `safe_to_use_settings_value?'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings/file_setting.rb:43:in `value'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings/file_setting.rb:106:in `owner'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings/file_setting.rb:160:in `to_resource'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:893:in `block in to_catalog'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:890:in `each'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:890:in `to_catalog'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/settings.rb:951:in `use'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/configurer.rb:48:in `initialize'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:287:in `new'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:287:in `apply_catalog'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:228:in `block in main'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/context.rb:64:in `override'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet.rb:234:in `override'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:190:in `main'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application/apply.rb:151:in `run_command'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application.rb:371:in `block (2 levels) in run'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application.rb:477:in `plugin_hook'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application.rb:371:in `block in run'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/util.rb:479:in `exit_on_fail'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/application.rb:371:in `run'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/util/command_line.rb:137:in `run'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/lib/puppet/util/command_line.rb:91:in `execute'
/usr/lib64/ruby/gems/1.9.1/gems/puppet-3.6.2/bin/puppet:8:in `<top (required)>'
/usr/bin/puppet:23:in `load'
/usr/bin/puppet:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment