Skip to content

Instantly share code, notes, and snippets.

@evan4498
Created June 11, 2012 14:44
Show Gist options
  • Save evan4498/2910412 to your computer and use it in GitHub Desktop.
Save evan4498/2910412 to your computer and use it in GitHub Desktop.
apt
root@cmtest:~# chef-client -l debug
[2012-06-11T14:54:50+00:00] INFO: *** Chef 0.10.10 ***
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin os
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin kernel
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin ruby
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin languages
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %Q(host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},bin_dir=#{::Config::CONFIG['bindir']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_os=#{::Config::CONFIG['target_os']},version=#{RUBY_VERSION},host_cpu=#{::Config::CONFIG['host_cpu']},)" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: host_vendor=pc,target=x86_64-pc-linux-gnu,release_date=2010-08-16,ruby_bin=/usr/bin/ruby1.8,bin_dir=/usr/bin,target_cpu=x86_64,host_os=linux-gnu,target_vendor=pc,platform=x86_64-linux,host=x86_64-pc-linux-gnu,target_os=linux,version=1.8.7,host_cpu=x86_64,
[2012-06-11T14:54:50+00:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %Q(host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},bin_dir=#{::Config::CONFIG['bindir']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_os=#{::Config::CONFIG['target_os']},version=#{RUBY_VERSION},host_cpu=#{::Config::CONFIG['host_cpu']},)" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %Q(host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},bin_dir=#{::Config::CONFIG['bindir']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_os=#{::Config::CONFIG['target_os']},version=#{RUBY_VERSION},host_cpu=#{::Config::CONFIG['host_cpu']},)" STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %Q(host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},bin_dir=#{::Config::CONFIG['bindir']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_os=#{::Config::CONFIG['target_os']},version=#{RUBY_VERSION},host_cpu=#{::Config::CONFIG['host_cpu']},)" STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (ruby -e "require 'rbconfig'; puts %Q(host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},bin_dir=#{::Config::CONFIG['bindir']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_os=#{::Config::CONFIG['target_os']},version=#{RUBY_VERSION},host_cpu=#{::Config::CONFIG['host_cpu']},)") returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: gem1.8
[2012-06-11T14:54:50+00:00] DEBUG: ---- End ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'" STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'") returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: /usr/lib/ruby/gems/1.8
[2012-06-11T14:54:50+00:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!" STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!" STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (ruby -e "require 'rbconfig'; puts %x{/usr/bin/ruby1.8 /usr/bin/gem1.8 env gemdir}.chomp!") returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -s STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: Linux
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -s STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -s STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -s STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (uname -s) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -r STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: 2.6.32-5-xen-amd64
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -r STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -r STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -r STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (uname -r) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -v STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: #1 SMP Tue Mar 8 00:01:30 UTC 2011
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -v STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -v STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -v STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (uname -v) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -m STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: x86_64
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -m STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -m STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -m STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (uname -m) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin ip_scopes
[2012-06-11T14:54:50+00:00] DEBUG: ip_scopes: cannot load gem, plugin disabled: no such file to load -- ipaddr_extensions
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin perl
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin perl -V:version -V:archname STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: version='5.10.1';
archname='x86_64-linux-gnu-thread-multi';
[2012-06-11T14:54:50+00:00] DEBUG: ---- End perl -V:version -V:archname STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin perl -V:version -V:archname STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End perl -V:version -V:archname STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (perl -V:version -V:archname) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin dmi_common
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin network_listeners
[2012-06-11T14:54:50+00:00] DEBUG: Plugin network_listeners threw exception #<LoadError: no such file to load -- sigar> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/network_listeners.rb:19:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin virtualization
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::virtualization
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin php
[2012-06-11T14:54:50+00:00] DEBUG: Plugin php threw exception #<Ohai::Exceptions::Exec: command php -v doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/php.rb:27:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin platform
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::platform
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::lsb
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin dmi
[2012-06-11T14:54:50+00:00] DEBUG: unrecognized output line; discarding:
# No SMBIOS nor DMI entry point found, sorry.
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin lua
[2012-06-11T14:54:50+00:00] DEBUG: Plugin lua threw exception #<Ohai::Exceptions::Exec: command lua -v doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/lua.rb:27:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin command
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin erlang
[2012-06-11T14:54:50+00:00] DEBUG: Plugin erlang threw exception #<Ohai::Exceptions::Exec: command erl +V doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/erlang.rb:26:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin hostname
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::hostname
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin hostname -s STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: cmtest
[2012-06-11T14:54:50+00:00] DEBUG: ---- End hostname -s STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin hostname -s STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End hostname -s STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (hostname -s) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin hostname --fqdn STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: cmtest.linuxhorn.com
[2012-06-11T14:54:50+00:00] DEBUG: ---- End hostname --fqdn STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin hostname --fqdn STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End hostname --fqdn STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (hostname --fqdn) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin ohai
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin python
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin python -c "import sys; print sys.version" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5]
[2012-06-11T14:54:50+00:00] DEBUG: ---- End python -c "import sys; print sys.version" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin python -c "import sys; print sys.version" STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End python -c "import sys; print sys.version" STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (python -c "import sys; print sys.version") returned 0
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin rackspace
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin network
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::network
[2012-06-11T14:54:50+00:00] DEBUG: default_interface set to eth0
[2012-06-11T14:54:50+00:00] DEBUG: default_gateway set to 108.171.161.1
[2012-06-11T14:54:50+00:00] DEBUG: Unable to determine default inet6 interface
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin ohai_time
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin eucalyptus
[2012-06-11T14:54:50+00:00] DEBUG: has_euca_mac? == false
[2012-06-11T14:54:50+00:00] DEBUG: has_euca_mac? == false
[2012-06-11T14:54:50+00:00] DEBUG: has_euca_mac? == false
[2012-06-11T14:54:50+00:00] DEBUG: has_euca_mac? == false
[2012-06-11T14:54:50+00:00] DEBUG: looks_like_euca? == false
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin passwd
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin uptime
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin java
[2012-06-11T14:54:50+00:00] DEBUG: Plugin java threw exception #<Ohai::Exceptions::Exec: command java -version doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/java.rb:30:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin groovy
[2012-06-11T14:54:50+00:00] DEBUG: Plugin groovy threw exception #<Ohai::Exceptions::Exec: command groovy -v doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/groovy.rb:27:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin mono
[2012-06-11T14:54:50+00:00] DEBUG: Plugin mono threw exception #<Ohai::Exceptions::Exec: command mono -V doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/mono.rb:27:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin cloud
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin ec2
[2012-06-11T14:54:50+00:00] DEBUG: has_ec2_mac? == false
[2012-06-11T14:54:50+00:00] DEBUG: looks_like_ec2? == false
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin chef
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin c
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin gcc -v STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End gcc -v STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin gcc -v STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)
[2012-06-11T14:54:50+00:00] DEBUG: ---- End gcc -v STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (gcc -v) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin /lib/libc.so.6 STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: GNU C Library (Debian EGLIBC 2.11.3-3) stable release version 2.11.3, by Roland McGrath et al.
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.5.
Compiled on a Linux 2.6.32 system on 2012-02-12.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
[2012-06-11T14:54:50+00:00] DEBUG: ---- End /lib/libc.so.6 STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin /lib/libc.so.6 STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End /lib/libc.so.6 STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (/lib/libc.so.6) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin cl /? STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End cl /? STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin cl /? STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: sh: cl: not found
[2012-06-11T14:54:50+00:00] DEBUG: ---- End cl /? STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (cl /?) returned 127
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin devenv.com /? STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End devenv.com /? STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin devenv.com /? STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: sh: devenv.com: not found
[2012-06-11T14:54:50+00:00] DEBUG: ---- End devenv.com /? STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (devenv.com /?) returned 127
[2012-06-11T14:54:50+00:00] DEBUG: Plugin c threw exception #<Ohai::Exceptions::Exec: command xlc -qversion doesn't exist or is not in the PATH> /usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:341:in `popen4'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:98:in `run_command_backend'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:50:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `chdir'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/mixin/command.rb:49:in `run_command'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/plugins/c.rb:77:in `from_file'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:215:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:210:in `require_plugin'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:139:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:132:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `each'
/usr/lib/ruby/gems/1.8/gems/ohai-6.14.0/lib/ohai/system.rb:130:in `all_plugins'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:216:in `run_ohai'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:152:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin keys
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::ssh_host_key
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::cpu
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::block_device
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::kernel
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -o STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: GNU/Linux
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -o STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin uname -o STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG:
[2012-06-11T14:54:50+00:00] DEBUG: ---- End uname -o STDERR ----
[2012-06-11T14:54:50+00:00] DEBUG: Ran (uname -o) returned 0
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::filesystem
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::ps
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::uptime
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin linux::memory
[2012-06-11T14:54:50+00:00] DEBUG: Client key /etc/chef/client.pem is present - skipping registration
[2012-06-11T14:54:50+00:00] DEBUG: Building node object for cmtest.linuxhorn.com
[2012-06-11T14:54:50+00:00] DEBUG: Signing the request as cmtest.linuxhorn.com
[2012-06-11T14:54:50+00:00] DEBUG: String to sign: 'Method:GET
Hashed Path:j3W77/VrtXvXOGc0D8CFL+3kHnQ=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2012-06-11T14:54:50Z
X-Ops-UserId:cmtest.linuxhorn.com'
Header hash: {"X-Ops-Content-Hash"=>"2jmj7l5rSw0yVb/vlWAYkK/YBwk=", "X-Ops-Authorization-1"=>"Vvn/V9ZYfXjaMiXehyRajVSBtAdeoWZ6EMzBfhhQg9jNOHfXbSZN/V1bVZkD", "X-Ops-Userid"=>"cmtest.linuxhorn.com", "X-Ops-Sign"=>"version=1.0", "X-Ops-Authorization-2"=>"TLctRfaNT3EDfmC6YjncvgmXDGJrLDeH7CK554ZZdceeRLA23g3A/srPdeQu", "X-Ops-Authorization-3"=>"E9FJo07la2OmBfeF49FCR7xmEAzILkPHd//aTGNIEXkJAfujklnzaRDmiAvk", "X-Ops-Authorization-4"=>"bzxeI3dDGoezeh6sATadP6Ze2uGGjPOqG7urRtDNGwDz/hJpcL2MfDskLg8U", "X-Ops-Authorization-5"=>"Jkc0yq8KAc0CuKy3y6v069S/BRKSD3PikO2nixDC9el0beRiRRXQMMf/Pgnk", "X-Ops-Authorization-6"=>"h42bnkSs2DZ4xyjO2ZnNFgWDKpXYxrUALIlszAED7g==", "X-Ops-Timestamp"=>"2012-06-11T14:54:50Z"}
[2012-06-11T14:54:50+00:00] DEBUG: Sending HTTP Request via GET to api.opscode.com:443/organizations/evan4498/nodes/cmtest.linuxhorn.com
[2012-06-11T14:54:50+00:00] DEBUG: decompressing gzip response
[2012-06-11T14:54:50+00:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2012-06-11T14:54:50+00:00] DEBUG: Applying attributes from json file
[2012-06-11T14:54:50+00:00] DEBUG: Platform is debian version 6.0.1
[2012-06-11T14:54:50+00:00] DEBUG: Signing the request as cmtest.linuxhorn.com
[2012-06-11T14:54:51+00:00] DEBUG: String to sign: 'Method:GET
Hashed Path:0G5jH/RICS3faCA9dEOSZpdX6R4=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2012-06-11T14:54:50Z
X-Ops-UserId:cmtest.linuxhorn.com'
Header hash: {"X-Ops-Content-Hash"=>"2jmj7l5rSw0yVb/vlWAYkK/YBwk=", "X-Ops-Authorization-1"=>"GGdrwzW09mObFRY2oMZFp2ivO+p8lq4BRcSM5kyi5a/5mz7n+pw62LOIob2i", "X-Ops-Userid"=>"cmtest.linuxhorn.com", "X-Ops-Sign"=>"version=1.0", "X-Ops-Authorization-2"=>"5ZzCqf24jCifMW1//b/RWZ/MOBVAE2KtabNqhR9DFJD3gNXBQZbK2lxhOGi9", "X-Ops-Authorization-3"=>"tZhLsRRH45/7mOVT4DPJKMK777BGozxok4l7boXQNLGZokGYO1W27OKH9hNO", "X-Ops-Authorization-4"=>"zwxeXu6yeSsxciWjM4GQStBM1p1Ed2lt2nx/4yu6/RM4MsoBoyaFjZuHbWmW", "X-Ops-Authorization-5"=>"RmAgR/5X8/npeNlyVmBGVNfMPuKpKptdHPQa5gMbq47542JDfzZz78oXSMHD", "X-Ops-Authorization-6"=>"GVVUUneVqRi1ARyJL/HWdblInp4y1MFhJMVK9ARbmw==", "X-Ops-Timestamp"=>"2012-06-11T14:54:50Z"}
[2012-06-11T14:54:51+00:00] DEBUG: Sending HTTP Request via GET to api.opscode.com:443/organizations/evan4498/roles/base
[2012-06-11T14:54:51+00:00] DEBUG: decompressing gzip response
[2012-06-11T14:54:51+00:00] INFO: Run List is [role[base]]
[2012-06-11T14:54:51+00:00] INFO: Run List expands to [apt, users::sysadmins, chef-client, autoetchosts, cloud_monitoring, rsdns]
[2012-06-11T14:54:51+00:00] INFO: Starting Chef Run for cmtest.linuxhorn.com
[2012-06-11T14:54:51+00:00] INFO: Running start handlers
[2012-06-11T14:54:51+00:00] INFO: Start handlers complete.
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbooks
[2012-06-11T14:54:51+00:00] DEBUG: Signing the request as cmtest.linuxhorn.com
[2012-06-11T14:54:51+00:00] DEBUG: String to sign: 'Method:POST
Hashed Path:hPSrcKLzQXiV/WVgTkCLZa7x6zY=
X-Ops-Content-Hash:McPWapLu7gkQ8XUs9ADwh3zEbWU=
X-Ops-Timestamp:2012-06-11T14:54:51Z
X-Ops-UserId:cmtest.linuxhorn.com'
Header hash: {"X-Ops-Content-Hash"=>"McPWapLu7gkQ8XUs9ADwh3zEbWU=", "X-Ops-Authorization-1"=>"Cm4GM8tiMPU08rGA9oFXYzQaJM/NlA0Xb0f0fPiPgRTUAWyeEmAdDRHKKqVF", "X-Ops-Userid"=>"cmtest.linuxhorn.com", "X-Ops-Sign"=>"version=1.0", "X-Ops-Authorization-2"=>"6m5TgSUyeWkhvi1nOPm7Hqan0suWCa2R/5stwCPjhdMksnhNNcK1TRbn2rui", "X-Ops-Authorization-3"=>"sroq3riG2Gg3+NbFnliWhis3K6XmY+TePMPpNfP6U8t+JlJRrLwnyUCukZY4", "X-Ops-Authorization-4"=>"44D5nYGe9iuZo0L13lb1VgDGsGsXc9XEklUL24yGnvF1lnzAS2BjzSfhXxF0", "X-Ops-Authorization-5"=>"3qSKqLxAucq3wJG9xKWi/6D09EsyU/US8gfqnp+NFywdDk1E1kVZ28VNrJej", "X-Ops-Authorization-6"=>"gu60eaDPXZ9XLRbsXe8NWY8o/rIpcrQqrNqodKeHng==", "X-Ops-Timestamp"=>"2012-06-11T14:54:51Z"}
[2012-06-11T14:54:51+00:00] DEBUG: Sending HTTP Request via POST to api.opscode.com:443/organizations/evan4498/environments/_default/cookbook_versions
[2012-06-11T14:54:51+00:00] DEBUG: decompressing gzip response
[2012-06-11T14:54:51+00:00] INFO: Loading cookbooks [apt, autoetchosts, build-essential, chef-client, cloud_monitoring, python, rsdns, users]
[2012-06-11T14:54:51+00:00] DEBUG: Cookbooks detail: {"apt"=>#<Chef::CookbookVersion:0x7f021fd0df90 @couchdb=#<Chef::CouchDB:0x7f021fd0dd60 @rest=#<Chef::REST:0x7f021fd0dd10 @auth_credentials=#<Chef::REST::AuthCredentials:0x7f021fd0dc70 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db="chef">, @resource_filenames=["preference.rb", "repository.rb"], @file_filenames=["apt-proxy-v2.conf"], @root_filenames=["CONTRIBUTING", "LICENSE", "README.md", "metadata.rb", "CHANGELOG.md", "metadata.json"], @metadata_filenames=[], @frozen=false, @checksums={"f8cd741ce300625b155467f3dca4d388"=>nil, "a67a0204d4c54848aad67a8e9de5cad1"=>nil, "ff993665f95b8b69e41b97ce3f16fbdb"=>nil, "9a3f7a80b7c25429bc10e107804f2d38"=>nil, "b708c868ee34db744a6beabcca3b9fc2"=>nil, "51fea7faa2582e0edc16a22160bea56e"=>nil, "e5600a5296cb1b69f978b6c2c4a1b1c1"=>nil, "9d5e006e4a02592bd9821c911dd76cb3"=>nil, "256a1d4eff83835fa58f38b8583176d5"=>nil, "50ce3f9b83085e6628617215bccfeed3"=>nil, "07b5b59e452259a1cfd055f1e8e65937"=>nil, "e4bcd8d228a65708636a96d83956b6c7"=>nil, "8f7bb094c7232b058c7e9f2e431f389c"=>nil, "fb50812eb39a4731290fa6032837bc87"=>nil}, @couchdb_id=nil, @library_filenames=[], @attribute_filenames_by_short_filename={}, @metadata=#<Chef::Cookbook::Metadata:0x7f021fd0cf00 @recipes={"apt"=>"Runs apt-get update during compile phase and sets up preseed directories", "apt::cacher-ng"=>"Set up an apt-cacher-ng caching proxy", "apt::cacher-client"=>"Client for the apt::cacher-ng caching proxy"}, @dependencies={}, @platforms={"debian"=>">= 0.0.0", "ubuntu"=>">= 0.0.0"}, @long_description="Description\n===========\n\nThis cookbook includes recipes to execute apt-get update to ensure the\nlocal APT package cache is up to date. There are recipes for managing\nthe apt-cacher-ng caching proxy and proxy clients. It also includes a\nLWRP for managing APT repositories in /etc/apt/sources.list.d as well as\nan LWRP for pinning packages via /etc/apt/preferences.d.\n\nRecipes\n=======\n\ndefault\n-------\n\nThis recipe installs the `update-notifier-common` package to provide\nthe timestamp file used to only run `apt-get update` if the cache is\nmore than one day old.\n\nThis recipe should appear first in the run list of Debian or Ubuntu\nnodes to ensure that the package cache is up to date before managing\nany `package` resources with Chef.\n\nThis recipe also sets up a local cache directory for preseeding packages.\n\ncacher-ng\n---------\n\nInstalls the `apt-cacher-ng` package and service so the system can\nprovide APT caching. You can check the usage report at\nhttp://{hostname}:3142/acng-report.html. The `cacher-ng` recipe\nincludes the `cacher-client` recipe, so it helps seed itself.\n\ncacher-client\n-------------\nConfigures the node to use the `apt-cacher-ng` server as a client.\n\nResources/Providers\n===================\n\nManaging repositories\n---------------------\n\nThis LWRP provides an easy way to manage additional APT repositories.\nAdding a new repository will notify running the\n`execute[apt-get-update]` resource.\n\n# Actions\n\n- :add: creates a repository file and builds the repository listing\n- :remove: removes the repository file\n\n# Attribute Parameters\n\n- repo_name: name attribute. The name of the channel to discover\n- uri: the base of the Debian distribution\n- distribution: this is usually your release's codename...ie something\n like `karmic`, `lucid` or `maverick`\n- components: package groupings..when it doubt use `main`\n- deb_src: whether or not to add the repository as a source repo as\n well - value can be `true` or `false`, default `false`.\n- key_server: the GPG keyserver where the key for the repo should be retrieved\n- key: if a `key_server` is provided, this is assumed to be the\n fingerprint, otherwise it can be either the URI to the GPG key for\n the repo, or a cookbook_file.\n- cookbook: if key should be a cookbook_file, specify a cookbook where\n the key is located for files/default. Defaults to nil, so it will\n use the cookbook where the resource is used.\n\n# Examples\n\n # add the Zenoss repo\n apt_repository \"zenoss\" do\n uri \"http://dev.zenoss.org/deb\"\n components [\"main\",\"stable\"]\n end\n\n # add the Nginx PPA; grab key from keyserver\n apt_repository \"nginx-php\" do\n uri \"http://ppa.launchpad.net/nginx/php5/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n keyserver \"keyserver.ubuntu.com\"\n key \"C300EE8C\"\n end\n\n # add the Nginx PPA; grab key from keyserver, also add source repo\n apt_repository \"nginx-php\" do\n uri \"http://ppa.launchpad.net/nginx/php5/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n keyserver \"keyserver.ubuntu.com\"\n key \"C300EE8C\"\n deb_src true\n end\n\n # add the Cloudkick Repo\n apt_repository \"cloudkick\" do\n uri \"http://packages.cloudkick.com/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n key \"http://packages.cloudkick.com/cloudkick.packages.key\"\n end\n\n # add the Cloudkick Repo with the key downloaded in the cookbook\n apt_repository \"cloudkick\" do\n uri \"http://packages.cloudkick.com/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n key \"cloudkick.packages.key\"\n end\n\n # remove Zenoss repo\n apt_repository \"zenoss\" do\n action :remove\n end\n\nPinning packages\n----------------\n\nThis LWRP provides an easy way to pin packages in /etc/apt/preferences.d.\nAlthough apt-pinning is quite helpful from time to time please note that Debian\ndoes not encourage its use without thorough consideration.\n\nFurther information regarding apt-pinning is available via\nhttp://wiki.debian.org/AptPreferences.\n\n# Actions\n\n- :add: creates a preferences file under /etc/apt/preferences.d\n- :remove: Removes the file, therefore unpin the package\n\n# Attribute Parameters\n\n- package_name: name attribute. The name of the package\n- pin: The package version/repository to pin\n- pin_priority: The pinning priority aka \"the highest package version wins\"\n\n# Examples\n\n # Pin libmysqlclient16 to version 5.1.49-3\n apt_preference \"libmysqlclient16\" do\n pin \"version 5.1.49-3\"\n pin_priority \"700\"\n end\n\n # Unpin libmysqlclient16\n apt_preference \"libmysqlclient16\" do\n action :remove\n end\n\nUsage\n=====\n\nPut `recipe[apt]` first in the run list. If you have other recipes\nthat you want to use to configure how apt behaves, like new sources,\nnotify the execute resource to run, e.g.:\n\n template \"/etc/apt/sources.list.d/my_apt_sources.list\" do\n notifies :run, resources(:execute => \"apt-get update\"), :immediately\n end\n\nThe above will run during execution phase since it is a normal\ntemplate resource, and should appear before other package resources\nthat need the sources in the template.\n\nPut `recipe[apt::cacher-ng]` in the run_list for a server to provide\nAPT caching and add `recipe[apt::cacher-client]` on the rest of the\nDebian-based nodes to take advantage of the caching server.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<[email protected]>)\nAuthor:: Matt Ray (<[email protected]>)\nAuthor:: Seth Chisamore (<[email protected]>)\n\nCopyright 2009-2012 Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", @conflicting={}, @license="Apache 2.0", @version="1.4.2", @attributes={}, @cookbook=nil, @groupings={}, @suggestions={}, @maintainer_email="[email protected]", @name="apt", @replacing={}, @recommendations={}, @maintainer="Opscode, Inc.", @providing={"apt"=>">= 0.0.0", "apt::cacher-ng"=>">= 0.0.0", "apt::cacher-client"=>">= 0.0.0"}, @description="Configures apt and apt services and LWRPs for managing apt repositories and preferences">, @status=:ready, @template_filenames=[], @root_dir=nil, @couchdb_rev=nil, @recipe_filenames_by_name={"cacher-client"=>"cacher-client.rb", "default"=>"default.rb", "cacher-ng"=>"cacher-ng.rb"}, @name="apt", @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-50ce3f9b83085e6628617215bccfeed3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=rT6p04rGTqzPYSSXju%2B5Ny%2Bwh6I%3D", "checksum"=>"50ce3f9b83085e6628617215bccfeed3", "path"=>"recipes/default.rb", "specificity"=>"default"}, "CONTRIBUTING"=>{"name"=>"CONTRIBUTING", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-e5600a5296cb1b69f978b6c2c4a1b1c1?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=MZbuAQipH7GeFooKEcc3iaxo5VQ%3D", "checksum"=>"e5600a5296cb1b69f978b6c2c4a1b1c1", "path"=>"CONTRIBUTING", "specificity"=>"default"}, "files/default/apt-proxy-v2.conf"=>{"name"=>"apt-proxy-v2.conf", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a67a0204d4c54848aad67a8e9de5cad1?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=e0OBxEOfY9jwrXUX9G8kEacfODo%3D", "checksum"=>"a67a0204d4c54848aad67a8e9de5cad1", "path"=>"files/default/apt-proxy-v2.conf", "specificity"=>"default"}, "recipes/cacher-client.rb"=>{"name"=>"cacher-client.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f8cd741ce300625b155467f3dca4d388?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=qh%2B4sqswUBo31rswyJPFRl27Md8%3D", "checksum"=>"f8cd741ce300625b155467f3dca4d388", "path"=>"recipes/cacher-client.rb", "specificity"=>"default"}, "LICENSE"=>{"name"=>"LICENSE", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pu3dfBMfEx5wGbbxWGSzeaxK2s4%3D", "checksum"=>"8f7bb094c7232b058c7e9f2e431f389c", "path"=>"LICENSE", "specificity"=>"default"}, "providers/preference.rb"=>{"name"=>"preference.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-9d5e006e4a02592bd9821c911dd76cb3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=iDhzPZSxNOoJfWe2Wzv6O2leGs8%3D", "checksum"=>"9d5e006e4a02592bd9821c911dd76cb3", "path"=>"providers/preference.rb", "specificity"=>"default"}, "README.md"=>{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-ff993665f95b8b69e41b97ce3f16fbdb?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2B0RH39xKzTPmkmtGURxbi8Xjx5w%3D", "checksum"=>"ff993665f95b8b69e41b97ce3f16fbdb", "path"=>"README.md", "specificity"=>"default"}, "resources/preference.rb"=>{"name"=>"preference.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-fb50812eb39a4731290fa6032837bc87?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=wHKItl6zI1PWq5FLvJWCpGhvx0E%3D", "checksum"=>"fb50812eb39a4731290fa6032837bc87", "path"=>"resources/preference.rb", "specificity"=>"default"}, "CHANGELOG.md"=>{"name"=>"CHANGELOG.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-9a3f7a80b7c25429bc10e107804f2d38?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=Tz3tNbEJ9ZkTtuK02LoNkhHboio%3D", "checksum"=>"9a3f7a80b7c25429bc10e107804f2d38", "path"=>"CHANGELOG.md", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-51fea7faa2582e0edc16a22160bea56e?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=H4Jbcmt7yz%2FIm7irbR2Nzo2cEF8%3D", "checksum"=>"51fea7faa2582e0edc16a22160bea56e", "path"=>"metadata.rb", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-b708c868ee34db744a6beabcca3b9fc2?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=Hd8DwqceumgT7JeBmGXuzd4wXMg%3D", "checksum"=>"b708c868ee34db744a6beabcca3b9fc2", "path"=>"metadata.json", "specificity"=>"default"}, "recipes/cacher-ng.rb"=>{"name"=>"cacher-ng.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-256a1d4eff83835fa58f38b8583176d5?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=IR58rnjAETX4NVVhrwXYODTirlA%3D", "checksum"=>"256a1d4eff83835fa58f38b8583176d5", "path"=>"recipes/cacher-ng.rb", "specificity"=>"default"}, "providers/repository.rb"=>{"name"=>"repository.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-07b5b59e452259a1cfd055f1e8e65937?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=8hPx9WNARFq13Kur0LmiBhGvlFw%3D", "checksum"=>"07b5b59e452259a1cfd055f1e8e65937", "path"=>"providers/repository.rb", "specificity"=>"default"}, "resources/repository.rb"=>{"name"=>"repository.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-e4bcd8d228a65708636a96d83956b6c7?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=7Tc4VUNFL0Fj1PC%2BkyxGfhpNOJk%3D", "checksum"=>"e4bcd8d228a65708636a96d83956b6c7", "path"=>"resources/repository.rb", "specificity"=>"default"}}, @provider_filenames=["preference.rb", "repository.rb"], @recipe_filenames=["default.rb", "cacher-client.rb", "cacher-ng.rb"], @file_vendor=nil, @manifest={"name"=>"apt-1.4.2", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "attributes"=>[], "files"=>[{"name"=>"apt-proxy-v2.conf", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a67a0204d4c54848aad67a8e9de5cad1?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=e0OBxEOfY9jwrXUX9G8kEacfODo%3D", "checksum"=>"a67a0204d4c54848aad67a8e9de5cad1", "path"=>"files/default/apt-proxy-v2.conf", "specificity"=>"default"}], "metadata"=>{"dependencies"=>{}, "name"=>"apt", "maintainer_email"=>"[email protected]", "attributes"=>{}, "license"=>"Apache 2.0", "suggestions"=>{}, "platforms"=>{"debian"=>">= 0.0.0", "ubuntu"=>">= 0.0.0"}, "maintainer"=>"Opscode, Inc.", "long_description"=>"Description\n===========\n\nThis cookbook includes recipes to execute apt-get update to ensure the\nlocal APT package cache is up to date. There are recipes for managing\nthe apt-cacher-ng caching proxy and proxy clients. It also includes a\nLWRP for managing APT repositories in /etc/apt/sources.list.d as well as\nan LWRP for pinning packages via /etc/apt/preferences.d.\n\nRecipes\n=======\n\ndefault\n-------\n\nThis recipe installs the `update-notifier-common` package to provide\nthe timestamp file used to only run `apt-get update` if the cache is\nmore than one day old.\n\nThis recipe should appear first in the run list of Debian or Ubuntu\nnodes to ensure that the package cache is up to date before managing\nany `package` resources with Chef.\n\nThis recipe also sets up a local cache directory for preseeding packages.\n\ncacher-ng\n---------\n\nInstalls the `apt-cacher-ng` package and service so the system can\nprovide APT caching. You can check the usage report at\nhttp://{hostname}:3142/acng-report.html. The `cacher-ng` recipe\nincludes the `cacher-client` recipe, so it helps seed itself.\n\ncacher-client\n-------------\nConfigures the node to use the `apt-cacher-ng` server as a client.\n\nResources/Providers\n===================\n\nManaging repositories\n---------------------\n\nThis LWRP provides an easy way to manage additional APT repositories.\nAdding a new repository will notify running the\n`execute[apt-get-update]` resource.\n\n# Actions\n\n- :add: creates a repository file and builds the repository listing\n- :remove: removes the repository file\n\n# Attribute Parameters\n\n- repo_name: name attribute. The name of the channel to discover\n- uri: the base of the Debian distribution\n- distribution: this is usually your release's codename...ie something\n like `karmic`, `lucid` or `maverick`\n- components: package groupings..when it doubt use `main`\n- deb_src: whether or not to add the repository as a source repo as\n well - value can be `true` or `false`, default `false`.\n- key_server: the GPG keyserver where the key for the repo should be retrieved\n- key: if a `key_server` is provided, this is assumed to be the\n fingerprint, otherwise it can be either the URI to the GPG key for\n the repo, or a cookbook_file.\n- cookbook: if key should be a cookbook_file, specify a cookbook where\n the key is located for files/default. Defaults to nil, so it will\n use the cookbook where the resource is used.\n\n# Examples\n\n # add the Zenoss repo\n apt_repository \"zenoss\" do\n uri \"http://dev.zenoss.org/deb\"\n components [\"main\",\"stable\"]\n end\n\n # add the Nginx PPA; grab key from keyserver\n apt_repository \"nginx-php\" do\n uri \"http://ppa.launchpad.net/nginx/php5/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n keyserver \"keyserver.ubuntu.com\"\n key \"C300EE8C\"\n end\n\n # add the Nginx PPA; grab key from keyserver, also add source repo\n apt_repository \"nginx-php\" do\n uri \"http://ppa.launchpad.net/nginx/php5/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n keyserver \"keyserver.ubuntu.com\"\n key \"C300EE8C\"\n deb_src true\n end\n\n # add the Cloudkick Repo\n apt_repository \"cloudkick\" do\n uri \"http://packages.cloudkick.com/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n key \"http://packages.cloudkick.com/cloudkick.packages.key\"\n end\n\n # add the Cloudkick Repo with the key downloaded in the cookbook\n apt_repository \"cloudkick\" do\n uri \"http://packages.cloudkick.com/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n key \"cloudkick.packages.key\"\n end\n\n # remove Zenoss repo\n apt_repository \"zenoss\" do\n action :remove\n end\n\nPinning packages\n----------------\n\nThis LWRP provides an easy way to pin packages in /etc/apt/preferences.d.\nAlthough apt-pinning is quite helpful from time to time please note that Debian\ndoes not encourage its use without thorough consideration.\n\nFurther information regarding apt-pinning is available via\nhttp://wiki.debian.org/AptPreferences.\n\n# Actions\n\n- :add: creates a preferences file under /etc/apt/preferences.d\n- :remove: Removes the file, therefore unpin the package\n\n# Attribute Parameters\n\n- package_name: name attribute. The name of the package\n- pin: The package version/repository to pin\n- pin_priority: The pinning priority aka \"the highest package version wins\"\n\n# Examples\n\n # Pin libmysqlclient16 to version 5.1.49-3\n apt_preference \"libmysqlclient16\" do\n pin \"version 5.1.49-3\"\n pin_priority \"700\"\n end\n\n # Unpin libmysqlclient16\n apt_preference \"libmysqlclient16\" do\n action :remove\n end\n\nUsage\n=====\n\nPut `recipe[apt]` first in the run list. If you have other recipes\nthat you want to use to configure how apt behaves, like new sources,\nnotify the execute resource to run, e.g.:\n\n template \"/etc/apt/sources.list.d/my_apt_sources.list\" do\n notifies :run, resources(:execute => \"apt-get update\"), :immediately\n end\n\nThe above will run during execution phase since it is a normal\ntemplate resource, and should appear before other package resources\nthat need the sources in the template.\n\nPut `recipe[apt::cacher-ng]` in the run_list for a server to provide\nAPT caching and add `recipe[apt::cacher-client]` on the rest of the\nDebian-based nodes to take advantage of the caching server.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<[email protected]>)\nAuthor:: Matt Ray (<[email protected]>)\nAuthor:: Seth Chisamore (<[email protected]>)\n\nCopyright 2009-2012 Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", "version"=>"1.4.2", "recommendations"=>{}, "recipes"=>{"apt"=>"Runs apt-get update during compile phase and sets up preseed directories", "apt::cacher-ng"=>"Set up an apt-cacher-ng caching proxy", "apt::cacher-client"=>"Client for the apt::cacher-ng caching proxy"}, "groupings"=>{}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Configures apt and apt services and LWRPs for managing apt repositories and preferences", "providing"=>{"apt"=>">= 0.0.0", "apt::cacher-ng"=>">= 0.0.0", "apt::cacher-client"=>">= 0.0.0"}}, "providers"=>[{"name"=>"preference.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-9d5e006e4a02592bd9821c911dd76cb3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=iDhzPZSxNOoJfWe2Wzv6O2leGs8%3D", "checksum"=>"9d5e006e4a02592bd9821c911dd76cb3", "path"=>"providers/preference.rb", "specificity"=>"default"}, {"name"=>"repository.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-07b5b59e452259a1cfd055f1e8e65937?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=8hPx9WNARFq13Kur0LmiBhGvlFw%3D", "checksum"=>"07b5b59e452259a1cfd055f1e8e65937", "path"=>"providers/repository.rb", "specificity"=>"default"}], "cookbook_name"=>"apt", "resources"=>[{"name"=>"preference.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-fb50812eb39a4731290fa6032837bc87?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=wHKItl6zI1PWq5FLvJWCpGhvx0E%3D", "checksum"=>"fb50812eb39a4731290fa6032837bc87", "path"=>"resources/preference.rb", "specificity"=>"default"}, {"name"=>"repository.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-e4bcd8d228a65708636a96d83956b6c7?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=7Tc4VUNFL0Fj1PC%2BkyxGfhpNOJk%3D", "checksum"=>"e4bcd8d228a65708636a96d83956b6c7", "path"=>"resources/repository.rb", "specificity"=>"default"}], "templates"=>[], "libraries"=>[], "version"=>"1.4.2", "recipes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-50ce3f9b83085e6628617215bccfeed3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=rT6p04rGTqzPYSSXju%2B5Ny%2Bwh6I%3D", "checksum"=>"50ce3f9b83085e6628617215bccfeed3", "path"=>"recipes/default.rb", "specificity"=>"default"}, {"name"=>"cacher-client.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f8cd741ce300625b155467f3dca4d388?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=qh%2B4sqswUBo31rswyJPFRl27Md8%3D", "checksum"=>"f8cd741ce300625b155467f3dca4d388", "path"=>"recipes/cacher-client.rb", "specificity"=>"default"}, {"name"=>"cacher-ng.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-256a1d4eff83835fa58f38b8583176d5?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=IR58rnjAETX4NVVhrwXYODTirlA%3D", "checksum"=>"256a1d4eff83835fa58f38b8583176d5", "path"=>"recipes/cacher-ng.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"CONTRIBUTING", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-e5600a5296cb1b69f978b6c2c4a1b1c1?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=MZbuAQipH7GeFooKEcc3iaxo5VQ%3D", "checksum"=>"e5600a5296cb1b69f978b6c2c4a1b1c1", "path"=>"CONTRIBUTING", "specificity"=>"default"}, {"name"=>"LICENSE", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pu3dfBMfEx5wGbbxWGSzeaxK2s4%3D", "checksum"=>"8f7bb094c7232b058c7e9f2e431f389c", "path"=>"LICENSE", "specificity"=>"default"}, {"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-ff993665f95b8b69e41b97ce3f16fbdb?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2B0RH39xKzTPmkmtGURxbi8Xjx5w%3D", "checksum"=>"ff993665f95b8b69e41b97ce3f16fbdb", "path"=>"README.md", "specificity"=>"default"}, {"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-51fea7faa2582e0edc16a22160bea56e?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=H4Jbcmt7yz%2FIm7irbR2Nzo2cEF8%3D", "checksum"=>"51fea7faa2582e0edc16a22160bea56e", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"=>"CHANGELOG.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-9a3f7a80b7c25429bc10e107804f2d38?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=Tz3tNbEJ9ZkTtuK02LoNkhHboio%3D", "checksum"=>"9a3f7a80b7c25429bc10e107804f2d38", "path"=>"CHANGELOG.md", "specificity"=>"default"}, {"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-b708c868ee34db744a6beabcca3b9fc2?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=Hd8DwqceumgT7JeBmGXuzd4wXMg%3D", "checksum"=>"b708c868ee34db744a6beabcca3b9fc2", "path"=>"metadata.json", "specificity"=>"default"}], "frozen?"=>false, "chef_type"=>"cookbook_version"}, @attribute_filenames=[]>, "python"=>#<Chef::CookbookVersion:0x7f021fd034c8 @couchdb=#<Chef::CouchDB:0x7f021fd03298 @rest=#<Chef::REST:0x7f021fd03248 @auth_credentials=#<Chef::REST::AuthCredentials:0x7f021fd031a8 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db="chef">, @resource_filenames=["pip.rb", "virtualenv.rb"], @file_filenames=[], @root_filenames=["CONTRIBUTING", "LICENSE", "README.md", "metadata.rb", "CHANGELOG.md", "metadata.json"], @metadata_filenames=[], @frozen=false, @checksums={"27ec85275adcbc943c41e9b1df6886cd"=>nil, "adba39056a0ffcb9152ece26daa8a084"=>nil, "a1b5420140b033de9d3fc29eb2c57e65"=>nil, "64c344aed52999df7093d5c569d52858"=>nil, "a3b394be05746f24c7ed734d55e8c762"=>nil, "8b55b983447afcb55b4ea1706d3861f0"=>nil, "5ffef7be27b33793ef57f9dcd00b416e"=>nil, "8df9635b95b6c2631aa64e6cff24179d"=>nil, "852d37a1d20cf4fa88760aa639dff64c"=>nil, "eee5c176494ba192feb11292423176b3"=>nil, "67e2e63f0b923603fe1b153ca27beaf6"=>nil, "fa753c07988d3faea2dfa3c87e0b7661"=>nil, "718f838e27e18895bc5296076c945bcb"=>nil, "6f99f61beed06d675fee5edb916cbe1e"=>nil, "1d39d49374c2a0a6094df278c93b99ab"=>nil, "8f7bb094c7232b058c7e9f2e431f389c"=>nil}, @couchdb_id=nil, @library_filenames=[], @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @metadata=#<Chef::Cookbook::Metadata:0x7f021fd02438 @recipes={"python::package"=>"Installs python using packages.", "python::source"=>"Installs python from source.", "python::pip"=>"Installs pip from source.", "python"=>"Installs python, pip, and virtualenv", "python::virtualenv"=>"Installs virtualenv using the python_pip resource."}, @dependencies={"build-essential"=>">= 0.0.0"}, @platforms={"debian"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "ubuntu"=>">= 0.0.0", "freebsd"=>">= 0.0.0", "redhat"=>">= 0.0.0"}, @long_description="", @conflicting={}, @license="Apache 2.0", @version="1.0.6", @attributes={}, @cookbook=nil, @groupings={}, @suggestions={}, @maintainer_email="[email protected]", @name="python", @replacing={}, @recommendations={}, @maintainer="Opscode, Inc.", @providing={"python::package"=>">= 0.0.0", "python::source"=>">= 0.0.0", "python::pip"=>">= 0.0.0", "python"=>">= 0.0.0", "python::virtualenv"=>">= 0.0.0"}, @description="Installs Python, pip and virtualenv. Includes LWRPs for managing Python packages with `pip` and `virtualenv` isolated Python environments.">, @status=:ready, @template_filenames=[], @root_dir=nil, @couchdb_rev=nil, @recipe_filenames_by_name={"pip"=>"pip.rb", "default"=>"default.rb", "virtualenv"=>"virtualenv.rb", "package"=>"package.rb", "source"=>"source.rb"}, @name="python", @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-64c344aed52999df7093d5c569d52858?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=BUDMxmdWQ0zUzcc%2F%2Ba35TWsVwUo%3D", "checksum"=>"64c344aed52999df7093d5c569d52858", "path"=>"recipes/default.rb", "specificity"=>"default"}, "CONTRIBUTING"=>{"name"=>"CONTRIBUTING", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a3b394be05746f24c7ed734d55e8c762?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=C%2FRMrv%2BMrCgEzoRX7UmKjnpcaa0%3D", "checksum"=>"a3b394be05746f24c7ed734d55e8c762", "path"=>"CONTRIBUTING", "specificity"=>"default"}, "providers/pip.rb"=>{"name"=>"pip.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-852d37a1d20cf4fa88760aa639dff64c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=HY8oa9B5dNoE2aI3n9uKb9%2B2icU%3D", "checksum"=>"852d37a1d20cf4fa88760aa639dff64c", "path"=>"providers/pip.rb", "specificity"=>"default"}, "providers/virtualenv.rb"=>{"name"=>"virtualenv.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-5ffef7be27b33793ef57f9dcd00b416e?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=LHiGKKU0lob4I1YMYTB3CtSN%2FS4%3D", "checksum"=>"5ffef7be27b33793ef57f9dcd00b416e", "path"=>"providers/virtualenv.rb", "specificity"=>"default"}, "LICENSE"=>{"name"=>"LICENSE", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pu3dfBMfEx5wGbbxWGSzeaxK2s4%3D", "checksum"=>"8f7bb094c7232b058c7e9f2e431f389c", "path"=>"LICENSE", "specificity"=>"default"}, "recipes/package.rb"=>{"name"=>"package.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8df9635b95b6c2631aa64e6cff24179d?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2BnvzY0K2XFgZ8b%2BUr2KWZbcV9Yk%3D", "checksum"=>"8df9635b95b6c2631aa64e6cff24179d", "path"=>"recipes/package.rb", "specificity"=>"default"}, "README.md"=>{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-718f838e27e18895bc5296076c945bcb?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=ErRTFssrWIvdtTuuHLcs6PQNwSc%3D", "checksum"=>"718f838e27e18895bc5296076c945bcb", "path"=>"README.md", "specificity"=>"default"}, "recipes/source.rb"=>{"name"=>"source.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-67e2e63f0b923603fe1b153ca27beaf6?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=PqGz0pPF6Jh%2Bxo8IbezqEJDQIdU%3D", "checksum"=>"67e2e63f0b923603fe1b153ca27beaf6", "path"=>"recipes/source.rb", "specificity"=>"default"}, "CHANGELOG.md"=>{"name"=>"CHANGELOG.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-6f99f61beed06d675fee5edb916cbe1e?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2F4uVPYRawT1%2ByElBxGKQZH%2Bwsl4%3D", "checksum"=>"6f99f61beed06d675fee5edb916cbe1e", "path"=>"CHANGELOG.md", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-27ec85275adcbc943c41e9b1df6886cd?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=utNr3GfJpYiyOqcliKsKo2ZSvSs%3D", "checksum"=>"27ec85275adcbc943c41e9b1df6886cd", "path"=>"metadata.rb", "specificity"=>"default"}, "resources/pip.rb"=>{"name"=>"pip.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-fa753c07988d3faea2dfa3c87e0b7661?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=bE1pyM3In2H7vTpLdw3PLJnGlnQ%3D", "checksum"=>"fa753c07988d3faea2dfa3c87e0b7661", "path"=>"resources/pip.rb", "specificity"=>"default"}, "attributes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a1b5420140b033de9d3fc29eb2c57e65?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=iJ3kr%2F8iMP3xk7ks8H1y3jvWFMI%3D", "checksum"=>"a1b5420140b033de9d3fc29eb2c57e65", "path"=>"attributes/default.rb", "specificity"=>"default"}, "recipes/pip.rb"=>{"name"=>"pip.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8b55b983447afcb55b4ea1706d3861f0?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2BoHnVDxzHLT%2BAoiK4N3nQHY0Wu4%3D", "checksum"=>"8b55b983447afcb55b4ea1706d3861f0", "path"=>"recipes/pip.rb", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-adba39056a0ffcb9152ece26daa8a084?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=8lvrYDETh7bew2Pa%2FZVmFaSQNoI%3D", "checksum"=>"adba39056a0ffcb9152ece26daa8a084", "path"=>"metadata.json", "specificity"=>"default"}, "recipes/virtualenv.rb"=>{"name"=>"virtualenv.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-eee5c176494ba192feb11292423176b3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=MTKtLsQ5GUO2u6WSW7i1mpi2xu0%3D", "checksum"=>"eee5c176494ba192feb11292423176b3", "path"=>"recipes/virtualenv.rb", "specificity"=>"default"}, "resources/virtualenv.rb"=>{"name"=>"virtualenv.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-1d39d49374c2a0a6094df278c93b99ab?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=2LpPIj1JOGqXJTPtH4OSWuoNEI4%3D", "checksum"=>"1d39d49374c2a0a6094df278c93b99ab", "path"=>"resources/virtualenv.rb", "specificity"=>"default"}}, @provider_filenames=["virtualenv.rb", "pip.rb"], @recipe_filenames=["default.rb", "package.rb", "source.rb", "pip.rb", "virtualenv.rb"], @file_vendor=nil, @manifest={"name"=>"python-1.0.6", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "attributes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a1b5420140b033de9d3fc29eb2c57e65?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=iJ3kr%2F8iMP3xk7ks8H1y3jvWFMI%3D", "checksum"=>"a1b5420140b033de9d3fc29eb2c57e65", "path"=>"attributes/default.rb", "specificity"=>"default"}], "files"=>[], "metadata"=>{"dependencies"=>{"build-essential"=>">= 0.0.0"}, "name"=>"python", "maintainer_email"=>"[email protected]", "attributes"=>{}, "license"=>"Apache 2.0", "suggestions"=>{}, "platforms"=>{"debian"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "ubuntu"=>">= 0.0.0", "freebsd"=>">= 0.0.0", "redhat"=>">= 0.0.0"}, "maintainer"=>"Opscode, Inc.", "long_description"=>"", "version"=>"1.0.6", "recommendations"=>{}, "recipes"=>{"python::package"=>"Installs python using packages.", "python::source"=>"Installs python from source.", "python::pip"=>"Installs pip from source.", "python"=>"Installs python, pip, and virtualenv", "python::virtualenv"=>"Installs virtualenv using the python_pip resource."}, "groupings"=>{}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Installs Python, pip and virtualenv. Includes LWRPs for managing Python packages with `pip` and `virtualenv` isolated Python environments.", "providing"=>{"python::package"=>">= 0.0.0", "python::source"=>">= 0.0.0", "python::pip"=>">= 0.0.0", "python"=>">= 0.0.0", "python::virtualenv"=>">= 0.0.0"}}, "providers"=>[{"name"=>"virtualenv.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-5ffef7be27b33793ef57f9dcd00b416e?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=LHiGKKU0lob4I1YMYTB3CtSN%2FS4%3D", "checksum"=>"5ffef7be27b33793ef57f9dcd00b416e", "path"=>"providers/virtualenv.rb", "specificity"=>"default"}, {"name"=>"pip.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-852d37a1d20cf4fa88760aa639dff64c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=HY8oa9B5dNoE2aI3n9uKb9%2B2icU%3D", "checksum"=>"852d37a1d20cf4fa88760aa639dff64c", "path"=>"providers/pip.rb", "specificity"=>"default"}], "cookbook_name"=>"python", "resources"=>[{"name"=>"pip.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-fa753c07988d3faea2dfa3c87e0b7661?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=bE1pyM3In2H7vTpLdw3PLJnGlnQ%3D", "checksum"=>"fa753c07988d3faea2dfa3c87e0b7661", "path"=>"resources/pip.rb", "specificity"=>"default"}, {"name"=>"virtualenv.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-1d39d49374c2a0a6094df278c93b99ab?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=2LpPIj1JOGqXJTPtH4OSWuoNEI4%3D", "checksum"=>"1d39d49374c2a0a6094df278c93b99ab", "path"=>"resources/virtualenv.rb", "specificity"=>"default"}], "templates"=>[], "libraries"=>[], "version"=>"1.0.6", "recipes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-64c344aed52999df7093d5c569d52858?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=BUDMxmdWQ0zUzcc%2F%2Ba35TWsVwUo%3D", "checksum"=>"64c344aed52999df7093d5c569d52858", "path"=>"recipes/default.rb", "specificity"=>"default"}, {"name"=>"package.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8df9635b95b6c2631aa64e6cff24179d?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2BnvzY0K2XFgZ8b%2BUr2KWZbcV9Yk%3D", "checksum"=>"8df9635b95b6c2631aa64e6cff24179d", "path"=>"recipes/package.rb", "specificity"=>"default"}, {"name"=>"source.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-67e2e63f0b923603fe1b153ca27beaf6?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=PqGz0pPF6Jh%2Bxo8IbezqEJDQIdU%3D", "checksum"=>"67e2e63f0b923603fe1b153ca27beaf6", "path"=>"recipes/source.rb", "specificity"=>"default"}, {"name"=>"pip.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8b55b983447afcb55b4ea1706d3861f0?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2BoHnVDxzHLT%2BAoiK4N3nQHY0Wu4%3D", "checksum"=>"8b55b983447afcb55b4ea1706d3861f0", "path"=>"recipes/pip.rb", "specificity"=>"default"}, {"name"=>"virtualenv.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-eee5c176494ba192feb11292423176b3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=MTKtLsQ5GUO2u6WSW7i1mpi2xu0%3D", "checksum"=>"eee5c176494ba192feb11292423176b3", "path"=>"recipes/virtualenv.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"CONTRIBUTING", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a3b394be05746f24c7ed734d55e8c762?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=C%2FRMrv%2BMrCgEzoRX7UmKjnpcaa0%3D", "checksum"=>"a3b394be05746f24c7ed734d55e8c762", "path"=>"CONTRIBUTING", "specificity"=>"default"}, {"name"=>"LICENSE", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pu3dfBMfEx5wGbbxWGSzeaxK2s4%3D", "checksum"=>"8f7bb094c7232b058c7e9f2e431f389c", "path"=>"LICENSE", "specificity"=>"default"}, {"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-718f838e27e18895bc5296076c945bcb?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=ErRTFssrWIvdtTuuHLcs6PQNwSc%3D", "checksum"=>"718f838e27e18895bc5296076c945bcb", "path"=>"README.md", "specificity"=>"default"}, {"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-27ec85275adcbc943c41e9b1df6886cd?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=utNr3GfJpYiyOqcliKsKo2ZSvSs%3D", "checksum"=>"27ec85275adcbc943c41e9b1df6886cd", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"=>"CHANGELOG.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-6f99f61beed06d675fee5edb916cbe1e?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2F4uVPYRawT1%2ByElBxGKQZH%2Bwsl4%3D", "checksum"=>"6f99f61beed06d675fee5edb916cbe1e", "path"=>"CHANGELOG.md", "specificity"=>"default"}, {"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-adba39056a0ffcb9152ece26daa8a084?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=8lvrYDETh7bew2Pa%2FZVmFaSQNoI%3D", "checksum"=>"adba39056a0ffcb9152ece26daa8a084", "path"=>"metadata.json", "specificity"=>"default"}], "frozen?"=>false, "chef_type"=>"cookbook_version"}, @attribute_filenames=["default.rb"]>, "chef-client"=>#<Chef::CookbookVersion:0x7f021fcf6138 @couchdb=#<Chef::CouchDB:0x7f021fcf5f08 @rest=#<Chef::REST:0x7f021fcf5eb8 @auth_credentials=#<Chef::REST::AuthCredentials:0x7f021fcf5e18 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db="chef">, @resource_filenames=[], @file_filenames=[], @root_filenames=["CONTRIBUTING", "LICENSE", "README.md", "metadata.rb", "CHANGELOG.md", "metadata.json"], @metadata_filenames=[], @frozen=false, @checksums={"ca1016acc4dcbc72dd821cec03677c65"=>nil, "3245b8a5dca1538d49e7cff20d7196ee"=>nil, "285f38746724b2e69bbc8df9559ed39b"=>nil, "76dd04735afaf82793a7eef4aefccc38"=>nil, "72ff51661082c88f22199abbc45b1a9f"=>nil, "9388e897184ddd817249a06665faed07"=>nil, "91f57261a315f71c8927586ed6d36365"=>nil, "09f2bf988663175cd1b7973198dfb5eb"=>nil, "9007d90ce4846ff03fc52f94c9162066"=>nil, "c1a8be405e388972b4457d1c69b751c3"=>nil, "a3b394be05746f24c7ed734d55e8c762"=>nil, "ff44e9d41ae04c191626f1136c0e2739"=>nil, "c5f272ce77f41fc1300bf420611bda3d"=>nil, "4f822a8dcf52f0afb7c878001f8bbd43"=>nil, "b40d723731853210d14958904ccddf3b"=>nil, "7ba49ff879bf5f162e6b4a0628fa5a89"=>nil, "f71641b4de5e78053221e2af7d94e464"=>nil, "06b79de5bc9760041c3fe4965babfc53"=>nil, "83121d510b0e2770238c6f9cf1a2069f"=>nil, "6de340578cbeb0ed2dc2074805971057"=>nil, "17a68dd6c24bf0d5568ada00f3d2fa35"=>nil, "34c84390bd1492f1e59fb52b8fc9830b"=>nil, "0311248d7d2ac85d1ebc5d78a63f21ca"=>nil, "8f7bb094c7232b058c7e9f2e431f389c"=>nil, "f37f9abf7c3e66fbdd30262d8a8b2e93"=>nil, "7949ddb8a0442fd7b8f8621633927f26"=>nil}, @couchdb_id=nil, @library_filenames=[], @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @metadata=#<Chef::Cookbook::Metadata:0x7f021fcf50a8 @recipes={"chef-client::config"=>"Configures the client.rb from a template.", "chef-client::cron"=>"Runs chef-client as a cron job rather than as a service", "chef-client::service"=>"Sets up a client daemon to run periodically", "chef-client"=>"Includes the service recipe by default.", "chef-client::delete_validation"=>"Deletes validation.pem after client registers"}, @dependencies={}, @platforms={"openbsd"=>">= 0.0.0", "debian"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "mac_os_x_server"=>">= 0.0.0", "windows"=>">= 0.0.0", "mac_os_x"=>">= 0.0.0", "ubuntu"=>">= 0.0.0", "freebsd"=>">= 0.0.0", "redhat"=>">= 0.0.0"}, @long_description="Description\n===========\n\nThis cookbook is used to configure a system as a Chef Client.\n\nRequirements\n============\n\nChef 0.9.12 or higher is required.\n\nPlatforms\n---------\n\nThe following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error.\n\n* Debian\n* Ubuntu\n* Red Hat\n* CentOS\n* Fedora\n* ArchLinux\n* FreeBSD\n* Mac OS X\n* Mac OS X Server\n\nOpscode Cookbooks\n-----------------\n\nOther cookbooks can be used with this cookbook but they are not explicitly required. The default settings in this cookbook do not require their use. The other cookbooks (on community.opsocde.com) are:\n\n* bluepill\n* daemontools\n* runit\n\nSee __USAGE__ below.\n\nAttributes\n==========\n\n* `node[\"chef_client\"][\"interval\"]` - Sets `Chef::Config[:interval]` via command-line option for number of seconds between chef-client daemon runs. Default 1800.\n* `node[\"chef_client\"][\"splay\"]` - Sets `Chef::Config[:splay]` via command-line option for a random amount of seconds to add to interval. Default 20.\n* `node[\"chef_client\"][\"log_dir\"]` - Sets directory used in `Chef::Config[:log_location]` via command-line option to a location where chef-client should log output. Default \"/var/log/chef\".\n* `node[\"chef_client\"][\"conf_dir\"]` - Sets directory used via command-line option to a location where chef-client search for the client config file . Default \"/etc/chef\".\n* `node[\"chef_client\"][\"bin\"]` - Sets the full path to the `chef-client` binary. Mainly used to set a specific path if multiple versions of chef-client exist on a system or the bin has been installed in a non-sane path. Default \"/usr/bin/chef-client\"\n* `node[\"chef_client\"][\"server_url\"]` - Sets `Chef::Config[:chef_server_url]` in the config file to the Chef Server URI. Default \"http://localhost:4000\". See __USAGE__.\n* `node[\"chef_client\"][\"validation_client_name\"]` - Sets `Chef::Config[:validation_client_name]` in the config file to the name of the validation client. Default \"chef-validator\". See __USAGE__.\n* `node[\"chef_client\"][\"init_style\"]` - Sets up the client service based on the style of init system to use. Default is based on platform and falls back to \"none\". See __USAGE__.\n* `node[\"chef_client\"][\"run_path\"]` - Directory location where chef-client should write the PID file. Default based on platform, falls back to \"/var/run\".\n* `node[\"chef_client\"][\"cache_path\"]` - Directory location for `Chef::Config[:file_cache_path]` where chef-client will cache various files. Default is based on platform, falls back to \"/var/chef/cache\".\n* `node[\"chef_client\"][\"backup_path\"]` - Directory location for `Chef::Config[:file_backup_path]` where chef-client will backup templates and cookbook files. Default is based on platform, falls back to \"/var/chef/backup\".\n* node[\"chef_client\"][\"cron\"][\"minute\"] - The hour that chef-client will run as a cron task, only applicable if the you set \"cron\" as the \"init_style\"\n* node[\"chef_client\"][\"cron\"][\"hour\"] - The hour that chef-client will run as a cron task, only applicable if the you set \"cron\" as the \"init_style\"\n\n\n\nRecipes\n=======\n\nThis section describes the recipes in the cookbook and how to use them in your environment.\n\nconfig\n------\n\nSets up the `/etc/chef/client.rb` config file from a template and reloads the configuration for the current chef-client run.\n\nservice\n-------\n\nUse this recipe on systems that should have a `chef-client` daemon running, such as when Knife bootstrap was used to install Chef on a new system.\n\nThis recipe sets up the `chef-client` service depending on the `init_style` attribute (see above). The following init styles are supported:\n\n* init - uses the init script included in the chef gem, supported on debian and redhat family distributions.\n* upstart - uses the upstart job included in the chef gem, supported on ubuntu.\n* arch - uses the init script included in this cookbook for ArchLinux, supported on arch.\n* runit - sets up the service under runit, supported on ubuntu, debian and gentoo.\n* bluepill - sets up the service under bluepill. As bluepill is a pure ruby process monitor, this should work on any platform.\n* daemontools -sets up the service under daemontools, supported on debian, ubuntu and arch\n* bsd - prints a message about how to update BSD systems to enable the chef-client service, supported on Free/OpenBSD and OSX.\n\ndefault\n-------\n\nIncludes the `chef-client::service` recipe by default.\n\ndelete_validation\n-----------------\n\nUse this recipe to delete the validation certificate (default `/etc/chef/validation.pem`) when using a `chef-client` after the client has been validated and authorized to connect to the server.\n\nBeware if using this on your Chef Server. First copy the validation.pem certificate file to another location, such as your knife configuration directory (`~/.chef`) or [Chef Repository](http://wiki.opscode.com/display/chef/Chef+Repository).\n\ncron\n----\n\nUse this recipe to run chef-client as a cron job rather than as a\nservice. The cron job runs after random delay that is between 0 and 90\nseconds to ensure that the chef-clients don't attempt to connect to\nthe chef-server at the exact same time. You should set\nnode[\"chef_client\"][\"init_style\"] = \"none\" when you use this mode but\nit is not required.\n\n\n\nUSAGE\n=====\n\nCreate a `base` role that will represent the base configuration for any system that includes managing aspects of the chef-client. Add recipes to the run list of the role, customize the attributes, and apply the role to nodes. For example, the following role (Ruby DSL) will set the init style to `init`, delete the validation certificate (as the client would already be authenticated) and set up the chef-client as a service using the init style.\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"init\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[chef-client::config]\",\n \"recipe[chef-client::service]\"\n )\n\nThe `chef-client::config` recipe is only required with init style `init` (default setting for the attribute on debian/redhat family platforms, because the init script doesn't include the `pid_file` option which is set in the config.\n\nThe default Chef Server will be `http://localhost:4000` which is the `Chef::Config[:chef_server_url]` default value. To use the config recipe with the Opscode Platform, for example, add the following to the `override_attributes`\n\n override_attributes(\n \"chef_client\" => {\n \"server_url\" => \"https://api.opscode.com/organizations/ORGNAME\",\n \"validation_client_name\" => \"ORGNAME-validator\"\n }\n )\n\nWhere ORGNAME is your Opscode Platform organization name. Be sure to add these attributes to the role if modifying per the section below.\n\nYou can also set all of the `Chef::Config` http proxy related settings. By default Chef will not use a proxy.\n\n override_attributes(\n \"chef_client\" => {\n \"http_proxy\" => \"http://proxy.vmware.com:3128\",\n \"https_proxy\" => \"http://proxy.vmware.com:3128\",\n \"http_proxy_user\" => \"my_username\",\n \"http_proxy_pass\" => \"Awe_some_Pass_Word!\",\n \"no_proxy\" => \"*.vmware.com,10.*\"\n }\n )\n\nAlternate Init Styles\n---------------------\n\nThe alternate init styles available are:\n\n* runit\n* bluepill\n* daemontools\n* none -- should be specified if you are running chef-client as cron job\n\nFor usage, see below.\n\n# Runit\n\nTo use runit, download the cookbook from the cookbook site.\n\n knife cookbook site vendor runit -d\n\nChange the `init_style` to runit in the base role and add the runit recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"runit\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[runit]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-client service configured with runit. The runit run script will be located in `/etc/sv/chef-client/run`. The output log will be in the runit service directory, `/etc/sv/chef-client/log/main/current`.\n\n# Bluepill\n\nTo use bluepill, download the cookbook from the cookbook site.\n\n knife cookbook site vendor bluepill -d\n\nChange the `init_style` to runit in the base role and add the bluepill recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"bluepill\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[bluepill]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-client service configured with bluepill. The bluepill \"pill\" will be located in `/etc/bluepill/chef-client.pill`. The output log will be to client.log file in the `node[\"chef_client\"][\"log_dir\"]` location, `/var/log/chef/client` by default.\n\n# Daemontools\n\nTo use daemontools, download the cookbook from the cookbook site.\n\n knife cookbook site vendor daemontools -d\n\nChange the `init_style` to runit in the base role and add the daemontools recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"daemontools\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[daemontools]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-cilent service configured under daemontools. It uses the same sv run scripts as the runit recipe. The run script will be located in `/etc/sv/chef-client/run`. The output log will be in the daemontools service directory, `/etc/sv/chef-client/log/main/current`.\n\nTemplates\n=========\n\nchef-client.pill.erb\n--------------------\n\nBluepill configuration for the chef-client service.\n\nclient.rb.erb\n-------------\n\nConfiguration for the client, lands in directory specified by `node[\"chef_client\"][\"conf_dir\"]` (`/etc/chef/client.rb` by default).\n\n`sv-chef-client-*run.erb`\n-------------------------\n\nRunit and Daemontools run script for chef-client service and logs.\n\nLogs will be located in the `node[\"chef_client\"][\"log_dir\"]`.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<[email protected]>)\nAuthor:: Seth Chisamore (<[email protected]>)\nCopyright:: 2010-2011, Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\n", @conflicting={}, @license="Apache 2.0", @version="1.1.2", @attributes={}, @cookbook=nil, @groupings={}, @suggestions={}, @maintainer_email="[email protected]", @name="chef-client", @replacing={}, @recommendations={}, @maintainer="Opscode, Inc.", @providing={"chef-client::config"=>">= 0.0.0", "chef-client::cron"=>">= 0.0.0", "chef-client::service"=>">= 0.0.0", "chef-client"=>">= 0.0.0", "chef-client::delete_validation"=>">= 0.0.0"}, @description="Manages aspects of only chef-client">, @status=:ready, @template_filenames=["chef-client.xml.erb", "rc.d/chef-client.erb", "client.rb.erb", "chef-client.pill.erb", "debian/default/chef-client.erb", "conf.d/chef-client.conf.erb", "solaris/chef-client.erb", "redhat/sysconfig/chef-client.erb", "solaris/manifest.xml.erb", "debian/init/chef-client.conf.erb", "redhat/init.d/chef-client.erb", "debian/init.d/chef-client.erb", "sv-chef-client-run.erb", "sv-chef-client-log-run.erb"], @root_dir=nil, @couchdb_rev=nil, @recipe_filenames_by_name={"config"=>"config.rb", "delete_validation"=>"delete_validation.rb", "service"=>"service.rb", "cron"=>"cron.rb", "default"=>"default.rb"}, @name="chef-client", @definition_filenames=[], @manifest_records_by_path={"templates/arch/rc.d/chef-client.erb"=>{"name"=>"rc.d/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f37f9abf7c3e66fbdd30262d8a8b2e93?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=lPi0y2so8wAh3Yc4C8A8nrw%2BQsg%3D", "checksum"=>"f37f9abf7c3e66fbdd30262d8a8b2e93", "path"=>"templates/arch/rc.d/chef-client.erb", "specificity"=>"arch"}, "templates/windows/chef-client.xml.erb"=>{"name"=>"chef-client.xml.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-0311248d7d2ac85d1ebc5d78a63f21ca?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=BplrSmfj73Dm3FkBMN3KWvEHfz4%3D", "checksum"=>"0311248d7d2ac85d1ebc5d78a63f21ca", "path"=>"templates/windows/chef-client.xml.erb", "specificity"=>"windows"}, "recipes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-c1a8be405e388972b4457d1c69b751c3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=N9Ty0cULI0HShMu2TbRSGjzaM0M%3D", "checksum"=>"c1a8be405e388972b4457d1c69b751c3", "path"=>"recipes/default.rb", "specificity"=>"default"}, "CONTRIBUTING"=>{"name"=>"CONTRIBUTING", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a3b394be05746f24c7ed734d55e8c762?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=C%2FRMrv%2BMrCgEzoRX7UmKjnpcaa0%3D", "checksum"=>"a3b394be05746f24c7ed734d55e8c762", "path"=>"CONTRIBUTING", "specificity"=>"default"}, "templates/default/chef-client.pill.erb"=>{"name"=>"chef-client.pill.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-c5f272ce77f41fc1300bf420611bda3d?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=GVaPmpokOfnmXIczN4SKPJAgg2k%3D", "checksum"=>"c5f272ce77f41fc1300bf420611bda3d", "path"=>"templates/default/chef-client.pill.erb", "specificity"=>"default"}, "templates/default/client.rb.erb"=>{"name"=>"client.rb.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-9388e897184ddd817249a06665faed07?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=NA88kZXXZv4X4PUWGPxdTQMBqJo%3D", "checksum"=>"9388e897184ddd817249a06665faed07", "path"=>"templates/default/client.rb.erb", "specificity"=>"default"}, "LICENSE"=>{"name"=>"LICENSE", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pu3dfBMfEx5wGbbxWGSzeaxK2s4%3D", "checksum"=>"8f7bb094c7232b058c7e9f2e431f389c", "path"=>"LICENSE", "specificity"=>"default"}, "templates/default/debian/default/chef-client.erb"=>{"name"=>"debian/default/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-6de340578cbeb0ed2dc2074805971057?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=V6z8TExsAIv4jg%2ByuXJfZHIDT4E%3D", "checksum"=>"6de340578cbeb0ed2dc2074805971057", "path"=>"templates/default/debian/default/chef-client.erb", "specificity"=>"default"}, "README.md"=>{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-91f57261a315f71c8927586ed6d36365?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2BJtmvAy%2F3QZE2d1MbIzZkMjZNbk%3D", "checksum"=>"91f57261a315f71c8927586ed6d36365", "path"=>"README.md", "specificity"=>"default"}, "templates/arch/conf.d/chef-client.conf.erb"=>{"name"=>"conf.d/chef-client.conf.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-ff44e9d41ae04c191626f1136c0e2739?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=S%2FV83492ai0fABLSaioEJ%2FivmO8%3D", "checksum"=>"ff44e9d41ae04c191626f1136c0e2739", "path"=>"templates/arch/conf.d/chef-client.conf.erb", "specificity"=>"arch"}, "recipes/delete_validation.rb"=>{"name"=>"delete_validation.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-17a68dd6c24bf0d5568ada00f3d2fa35?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=3sBky9GsfbDviMy4k78Yq3qUfyY%3D", "checksum"=>"17a68dd6c24bf0d5568ada00f3d2fa35", "path"=>"recipes/delete_validation.rb", "specificity"=>"default"}, "CHANGELOG.md"=>{"name"=>"CHANGELOG.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-285f38746724b2e69bbc8df9559ed39b?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=3%2F5ZE33oYs1cmZBvrh6PN3YpYfQ%3D", "checksum"=>"285f38746724b2e69bbc8df9559ed39b", "path"=>"CHANGELOG.md", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-ca1016acc4dcbc72dd821cec03677c65?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=VigED1XBv%2BCNfekaF41bd9S83Rc%3D", "checksum"=>"ca1016acc4dcbc72dd821cec03677c65", "path"=>"metadata.rb", "specificity"=>"default"}, "templates/default/redhat/sysconfig/chef-client.erb"=>{"name"=>"redhat/sysconfig/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-72ff51661082c88f22199abbc45b1a9f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pSsYHddkr7fEJhJsFwuvxmpI9yQ%3D", "checksum"=>"72ff51661082c88f22199abbc45b1a9f", "path"=>"templates/default/redhat/sysconfig/chef-client.erb", "specificity"=>"default"}, "templates/default/solaris/chef-client.erb"=>{"name"=>"solaris/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-34c84390bd1492f1e59fb52b8fc9830b?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=MiOArX9xOCfk%2ByFvGPTRAJ3gY5Y%3D", "checksum"=>"34c84390bd1492f1e59fb52b8fc9830b", "path"=>"templates/default/solaris/chef-client.erb", "specificity"=>"default"}, "templates/default/debian/init/chef-client.conf.erb"=>{"name"=>"debian/init/chef-client.conf.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f71641b4de5e78053221e2af7d94e464?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=282s8BdAx6NODHq1HguRG5Te%2FiA%3D", "checksum"=>"f71641b4de5e78053221e2af7d94e464", "path"=>"templates/default/debian/init/chef-client.conf.erb", "specificity"=>"default"}, "templates/default/solaris/manifest.xml.erb"=>{"name"=>"solaris/manifest.xml.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-76dd04735afaf82793a7eef4aefccc38?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=gzMrp9H%2B%2FX4UGCUR8Z%2B9BIAnFx8%3D", "checksum"=>"76dd04735afaf82793a7eef4aefccc38", "path"=>"templates/default/solaris/manifest.xml.erb", "specificity"=>"default"}, "templates/default/debian/init.d/chef-client.erb"=>{"name"=>"debian/init.d/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-b40d723731853210d14958904ccddf3b?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=IT83IAGoLZx1ApSLUiltUV2BW9k%3D", "checksum"=>"b40d723731853210d14958904ccddf3b", "path"=>"templates/default/debian/init.d/chef-client.erb", "specificity"=>"default"}, "templates/default/redhat/init.d/chef-client.erb"=>{"name"=>"redhat/init.d/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-9007d90ce4846ff03fc52f94c9162066?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=2i45t5Ux1vA1NxJT%2BVUexMXlJ%2BY%3D", "checksum"=>"9007d90ce4846ff03fc52f94c9162066", "path"=>"templates/default/redhat/init.d/chef-client.erb", "specificity"=>"default"}, "attributes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-06b79de5bc9760041c3fe4965babfc53?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=7IDFdUmJFN90bQRNX1iNh2Vglbk%3D", "checksum"=>"06b79de5bc9760041c3fe4965babfc53", "path"=>"attributes/default.rb", "specificity"=>"default"}, "recipes/cron.rb"=>{"name"=>"cron.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-4f822a8dcf52f0afb7c878001f8bbd43?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=8AW2Fwz%2BNaWVKe8WJPupaPXWU8Y%3D", "checksum"=>"4f822a8dcf52f0afb7c878001f8bbd43", "path"=>"recipes/cron.rb", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-7ba49ff879bf5f162e6b4a0628fa5a89?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=aLrIJ10Fit3G7ey6sf5F1xcZ0hU%3D", "checksum"=>"7ba49ff879bf5f162e6b4a0628fa5a89", "path"=>"metadata.json", "specificity"=>"default"}, "recipes/config.rb"=>{"name"=>"config.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-7949ddb8a0442fd7b8f8621633927f26?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=2oyaILdhQCwhNoyU49WHK4Uh%2FEY%3D", "checksum"=>"7949ddb8a0442fd7b8f8621633927f26", "path"=>"recipes/config.rb", "specificity"=>"default"}, "templates/default/sv-chef-client-log-run.erb"=>{"name"=>"sv-chef-client-log-run.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-09f2bf988663175cd1b7973198dfb5eb?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=u74cbvxyLc%2FzZC0gU1aFe4E3pRk%3D", "checksum"=>"09f2bf988663175cd1b7973198dfb5eb", "path"=>"templates/default/sv-chef-client-log-run.erb", "specificity"=>"default"}, "templates/default/sv-chef-client-run.erb"=>{"name"=>"sv-chef-client-run.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-83121d510b0e2770238c6f9cf1a2069f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=JQXTMB6NnlEYTCZj%2BDwoQ2iAwo0%3D", "checksum"=>"83121d510b0e2770238c6f9cf1a2069f", "path"=>"templates/default/sv-chef-client-run.erb", "specificity"=>"default"}, "recipes/service.rb"=>{"name"=>"service.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-3245b8a5dca1538d49e7cff20d7196ee?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=zSaI8P9pvBrqkjtb69W%2FrhYjO4s%3D", "checksum"=>"3245b8a5dca1538d49e7cff20d7196ee", "path"=>"recipes/service.rb", "specificity"=>"default"}}, @provider_filenames=[], @recipe_filenames=["default.rb", "delete_validation.rb", "cron.rb", "config.rb", "service.rb"], @file_vendor=nil, @manifest={"name"=>"chef-client-1.1.2", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "attributes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-06b79de5bc9760041c3fe4965babfc53?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=7IDFdUmJFN90bQRNX1iNh2Vglbk%3D", "checksum"=>"06b79de5bc9760041c3fe4965babfc53", "path"=>"attributes/default.rb", "specificity"=>"default"}], "files"=>[], "metadata"=>{"dependencies"=>{}, "name"=>"chef-client", "maintainer_email"=>"[email protected]", "attributes"=>{}, "license"=>"Apache 2.0", "suggestions"=>{}, "platforms"=>{"openbsd"=>">= 0.0.0", "debian"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "mac_os_x_server"=>">= 0.0.0", "windows"=>">= 0.0.0", "mac_os_x"=>">= 0.0.0", "ubuntu"=>">= 0.0.0", "freebsd"=>">= 0.0.0", "redhat"=>">= 0.0.0"}, "maintainer"=>"Opscode, Inc.", "long_description"=>"Description\n===========\n\nThis cookbook is used to configure a system as a Chef Client.\n\nRequirements\n============\n\nChef 0.9.12 or higher is required.\n\nPlatforms\n---------\n\nThe following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error.\n\n* Debian\n* Ubuntu\n* Red Hat\n* CentOS\n* Fedora\n* ArchLinux\n* FreeBSD\n* Mac OS X\n* Mac OS X Server\n\nOpscode Cookbooks\n-----------------\n\nOther cookbooks can be used with this cookbook but they are not explicitly required. The default settings in this cookbook do not require their use. The other cookbooks (on community.opsocde.com) are:\n\n* bluepill\n* daemontools\n* runit\n\nSee __USAGE__ below.\n\nAttributes\n==========\n\n* `node[\"chef_client\"][\"interval\"]` - Sets `Chef::Config[:interval]` via command-line option for number of seconds between chef-client daemon runs. Default 1800.\n* `node[\"chef_client\"][\"splay\"]` - Sets `Chef::Config[:splay]` via command-line option for a random amount of seconds to add to interval. Default 20.\n* `node[\"chef_client\"][\"log_dir\"]` - Sets directory used in `Chef::Config[:log_location]` via command-line option to a location where chef-client should log output. Default \"/var/log/chef\".\n* `node[\"chef_client\"][\"conf_dir\"]` - Sets directory used via command-line option to a location where chef-client search for the client config file . Default \"/etc/chef\".\n* `node[\"chef_client\"][\"bin\"]` - Sets the full path to the `chef-client` binary. Mainly used to set a specific path if multiple versions of chef-client exist on a system or the bin has been installed in a non-sane path. Default \"/usr/bin/chef-client\"\n* `node[\"chef_client\"][\"server_url\"]` - Sets `Chef::Config[:chef_server_url]` in the config file to the Chef Server URI. Default \"http://localhost:4000\". See __USAGE__.\n* `node[\"chef_client\"][\"validation_client_name\"]` - Sets `Chef::Config[:validation_client_name]` in the config file to the name of the validation client. Default \"chef-validator\". See __USAGE__.\n* `node[\"chef_client\"][\"init_style\"]` - Sets up the client service based on the style of init system to use. Default is based on platform and falls back to \"none\". See __USAGE__.\n* `node[\"chef_client\"][\"run_path\"]` - Directory location where chef-client should write the PID file. Default based on platform, falls back to \"/var/run\".\n* `node[\"chef_client\"][\"cache_path\"]` - Directory location for `Chef::Config[:file_cache_path]` where chef-client will cache various files. Default is based on platform, falls back to \"/var/chef/cache\".\n* `node[\"chef_client\"][\"backup_path\"]` - Directory location for `Chef::Config[:file_backup_path]` where chef-client will backup templates and cookbook files. Default is based on platform, falls back to \"/var/chef/backup\".\n* node[\"chef_client\"][\"cron\"][\"minute\"] - The hour that chef-client will run as a cron task, only applicable if the you set \"cron\" as the \"init_style\"\n* node[\"chef_client\"][\"cron\"][\"hour\"] - The hour that chef-client will run as a cron task, only applicable if the you set \"cron\" as the \"init_style\"\n\n\n\nRecipes\n=======\n\nThis section describes the recipes in the cookbook and how to use them in your environment.\n\nconfig\n------\n\nSets up the `/etc/chef/client.rb` config file from a template and reloads the configuration for the current chef-client run.\n\nservice\n-------\n\nUse this recipe on systems that should have a `chef-client` daemon running, such as when Knife bootstrap was used to install Chef on a new system.\n\nThis recipe sets up the `chef-client` service depending on the `init_style` attribute (see above). The following init styles are supported:\n\n* init - uses the init script included in the chef gem, supported on debian and redhat family distributions.\n* upstart - uses the upstart job included in the chef gem, supported on ubuntu.\n* arch - uses the init script included in this cookbook for ArchLinux, supported on arch.\n* runit - sets up the service under runit, supported on ubuntu, debian and gentoo.\n* bluepill - sets up the service under bluepill. As bluepill is a pure ruby process monitor, this should work on any platform.\n* daemontools -sets up the service under daemontools, supported on debian, ubuntu and arch\n* bsd - prints a message about how to update BSD systems to enable the chef-client service, supported on Free/OpenBSD and OSX.\n\ndefault\n-------\n\nIncludes the `chef-client::service` recipe by default.\n\ndelete_validation\n-----------------\n\nUse this recipe to delete the validation certificate (default `/etc/chef/validation.pem`) when using a `chef-client` after the client has been validated and authorized to connect to the server.\n\nBeware if using this on your Chef Server. First copy the validation.pem certificate file to another location, such as your knife configuration directory (`~/.chef`) or [Chef Repository](http://wiki.opscode.com/display/chef/Chef+Repository).\n\ncron\n----\n\nUse this recipe to run chef-client as a cron job rather than as a\nservice. The cron job runs after random delay that is between 0 and 90\nseconds to ensure that the chef-clients don't attempt to connect to\nthe chef-server at the exact same time. You should set\nnode[\"chef_client\"][\"init_style\"] = \"none\" when you use this mode but\nit is not required.\n\n\n\nUSAGE\n=====\n\nCreate a `base` role that will represent the base configuration for any system that includes managing aspects of the chef-client. Add recipes to the run list of the role, customize the attributes, and apply the role to nodes. For example, the following role (Ruby DSL) will set the init style to `init`, delete the validation certificate (as the client would already be authenticated) and set up the chef-client as a service using the init style.\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"init\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[chef-client::config]\",\n \"recipe[chef-client::service]\"\n )\n\nThe `chef-client::config` recipe is only required with init style `init` (default setting for the attribute on debian/redhat family platforms, because the init script doesn't include the `pid_file` option which is set in the config.\n\nThe default Chef Server will be `http://localhost:4000` which is the `Chef::Config[:chef_server_url]` default value. To use the config recipe with the Opscode Platform, for example, add the following to the `override_attributes`\n\n override_attributes(\n \"chef_client\" => {\n \"server_url\" => \"https://api.opscode.com/organizations/ORGNAME\",\n \"validation_client_name\" => \"ORGNAME-validator\"\n }\n )\n\nWhere ORGNAME is your Opscode Platform organization name. Be sure to add these attributes to the role if modifying per the section below.\n\nYou can also set all of the `Chef::Config` http proxy related settings. By default Chef will not use a proxy.\n\n override_attributes(\n \"chef_client\" => {\n \"http_proxy\" => \"http://proxy.vmware.com:3128\",\n \"https_proxy\" => \"http://proxy.vmware.com:3128\",\n \"http_proxy_user\" => \"my_username\",\n \"http_proxy_pass\" => \"Awe_some_Pass_Word!\",\n \"no_proxy\" => \"*.vmware.com,10.*\"\n }\n )\n\nAlternate Init Styles\n---------------------\n\nThe alternate init styles available are:\n\n* runit\n* bluepill\n* daemontools\n* none -- should be specified if you are running chef-client as cron job\n\nFor usage, see below.\n\n# Runit\n\nTo use runit, download the cookbook from the cookbook site.\n\n knife cookbook site vendor runit -d\n\nChange the `init_style` to runit in the base role and add the runit recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"runit\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[runit]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-client service configured with runit. The runit run script will be located in `/etc/sv/chef-client/run`. The output log will be in the runit service directory, `/etc/sv/chef-client/log/main/current`.\n\n# Bluepill\n\nTo use bluepill, download the cookbook from the cookbook site.\n\n knife cookbook site vendor bluepill -d\n\nChange the `init_style` to runit in the base role and add the bluepill recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"bluepill\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[bluepill]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-client service configured with bluepill. The bluepill \"pill\" will be located in `/etc/bluepill/chef-client.pill`. The output log will be to client.log file in the `node[\"chef_client\"][\"log_dir\"]` location, `/var/log/chef/client` by default.\n\n# Daemontools\n\nTo use daemontools, download the cookbook from the cookbook site.\n\n knife cookbook site vendor daemontools -d\n\nChange the `init_style` to runit in the base role and add the daemontools recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"daemontools\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[daemontools]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-cilent service configured under daemontools. It uses the same sv run scripts as the runit recipe. The run script will be located in `/etc/sv/chef-client/run`. The output log will be in the daemontools service directory, `/etc/sv/chef-client/log/main/current`.\n\nTemplates\n=========\n\nchef-client.pill.erb\n--------------------\n\nBluepill configuration for the chef-client service.\n\nclient.rb.erb\n-------------\n\nConfiguration for the client, lands in directory specified by `node[\"chef_client\"][\"conf_dir\"]` (`/etc/chef/client.rb` by default).\n\n`sv-chef-client-*run.erb`\n-------------------------\n\nRunit and Daemontools run script for chef-client service and logs.\n\nLogs will be located in the `node[\"chef_client\"][\"log_dir\"]`.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<[email protected]>)\nAuthor:: Seth Chisamore (<[email protected]>)\nCopyright:: 2010-2011, Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\n", "version"=>"1.1.2", "recommendations"=>{}, "recipes"=>{"chef-client::config"=>"Configures the client.rb from a template.", "chef-client::cron"=>"Runs chef-client as a cron job rather than as a service", "chef-client::service"=>"Sets up a client daemon to run periodically", "chef-client"=>"Includes the service recipe by default.", "chef-client::delete_validation"=>"Deletes validation.pem after client registers"}, "groupings"=>{}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Manages aspects of only chef-client", "providing"=>{"chef-client::config"=>">= 0.0.0", "chef-client::cron"=>">= 0.0.0", "chef-client::service"=>">= 0.0.0", "chef-client"=>">= 0.0.0", "chef-client::delete_validation"=>">= 0.0.0"}}, "providers"=>[], "cookbook_name"=>"chef-client", "resources"=>[], "templates"=>[{"name"=>"chef-client.xml.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-0311248d7d2ac85d1ebc5d78a63f21ca?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=BplrSmfj73Dm3FkBMN3KWvEHfz4%3D", "checksum"=>"0311248d7d2ac85d1ebc5d78a63f21ca", "path"=>"templates/windows/chef-client.xml.erb", "specificity"=>"windows"}, {"name"=>"rc.d/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f37f9abf7c3e66fbdd30262d8a8b2e93?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=lPi0y2so8wAh3Yc4C8A8nrw%2BQsg%3D", "checksum"=>"f37f9abf7c3e66fbdd30262d8a8b2e93", "path"=>"templates/arch/rc.d/chef-client.erb", "specificity"=>"arch"}, {"name"=>"client.rb.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-9388e897184ddd817249a06665faed07?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=NA88kZXXZv4X4PUWGPxdTQMBqJo%3D", "checksum"=>"9388e897184ddd817249a06665faed07", "path"=>"templates/default/client.rb.erb", "specificity"=>"default"}, {"name"=>"chef-client.pill.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-c5f272ce77f41fc1300bf420611bda3d?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=GVaPmpokOfnmXIczN4SKPJAgg2k%3D", "checksum"=>"c5f272ce77f41fc1300bf420611bda3d", "path"=>"templates/default/chef-client.pill.erb", "specificity"=>"default"}, {"name"=>"debian/default/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-6de340578cbeb0ed2dc2074805971057?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=V6z8TExsAIv4jg%2ByuXJfZHIDT4E%3D", "checksum"=>"6de340578cbeb0ed2dc2074805971057", "path"=>"templates/default/debian/default/chef-client.erb", "specificity"=>"default"}, {"name"=>"conf.d/chef-client.conf.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-ff44e9d41ae04c191626f1136c0e2739?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=S%2FV83492ai0fABLSaioEJ%2FivmO8%3D", "checksum"=>"ff44e9d41ae04c191626f1136c0e2739", "path"=>"templates/arch/conf.d/chef-client.conf.erb", "specificity"=>"arch"}, {"name"=>"solaris/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-34c84390bd1492f1e59fb52b8fc9830b?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=MiOArX9xOCfk%2ByFvGPTRAJ3gY5Y%3D", "checksum"=>"34c84390bd1492f1e59fb52b8fc9830b", "path"=>"templates/default/solaris/chef-client.erb", "specificity"=>"default"}, {"name"=>"redhat/sysconfig/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-72ff51661082c88f22199abbc45b1a9f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pSsYHddkr7fEJhJsFwuvxmpI9yQ%3D", "checksum"=>"72ff51661082c88f22199abbc45b1a9f", "path"=>"templates/default/redhat/sysconfig/chef-client.erb", "specificity"=>"default"}, {"name"=>"solaris/manifest.xml.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-76dd04735afaf82793a7eef4aefccc38?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=gzMrp9H%2B%2FX4UGCUR8Z%2B9BIAnFx8%3D", "checksum"=>"76dd04735afaf82793a7eef4aefccc38", "path"=>"templates/default/solaris/manifest.xml.erb", "specificity"=>"default"}, {"name"=>"debian/init/chef-client.conf.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f71641b4de5e78053221e2af7d94e464?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=282s8BdAx6NODHq1HguRG5Te%2FiA%3D", "checksum"=>"f71641b4de5e78053221e2af7d94e464", "path"=>"templates/default/debian/init/chef-client.conf.erb", "specificity"=>"default"}, {"name"=>"redhat/init.d/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-9007d90ce4846ff03fc52f94c9162066?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=2i45t5Ux1vA1NxJT%2BVUexMXlJ%2BY%3D", "checksum"=>"9007d90ce4846ff03fc52f94c9162066", "path"=>"templates/default/redhat/init.d/chef-client.erb", "specificity"=>"default"}, {"name"=>"debian/init.d/chef-client.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-b40d723731853210d14958904ccddf3b?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=IT83IAGoLZx1ApSLUiltUV2BW9k%3D", "checksum"=>"b40d723731853210d14958904ccddf3b", "path"=>"templates/default/debian/init.d/chef-client.erb", "specificity"=>"default"}, {"name"=>"sv-chef-client-run.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-83121d510b0e2770238c6f9cf1a2069f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=JQXTMB6NnlEYTCZj%2BDwoQ2iAwo0%3D", "checksum"=>"83121d510b0e2770238c6f9cf1a2069f", "path"=>"templates/default/sv-chef-client-run.erb", "specificity"=>"default"}, {"name"=>"sv-chef-client-log-run.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-09f2bf988663175cd1b7973198dfb5eb?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=u74cbvxyLc%2FzZC0gU1aFe4E3pRk%3D", "checksum"=>"09f2bf988663175cd1b7973198dfb5eb", "path"=>"templates/default/sv-chef-client-log-run.erb", "specificity"=>"default"}], "libraries"=>[], "version"=>"1.1.2", "recipes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-c1a8be405e388972b4457d1c69b751c3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=N9Ty0cULI0HShMu2TbRSGjzaM0M%3D", "checksum"=>"c1a8be405e388972b4457d1c69b751c3", "path"=>"recipes/default.rb", "specificity"=>"default"}, {"name"=>"delete_validation.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-17a68dd6c24bf0d5568ada00f3d2fa35?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=3sBky9GsfbDviMy4k78Yq3qUfyY%3D", "checksum"=>"17a68dd6c24bf0d5568ada00f3d2fa35", "path"=>"recipes/delete_validation.rb", "specificity"=>"default"}, {"name"=>"cron.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-4f822a8dcf52f0afb7c878001f8bbd43?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=8AW2Fwz%2BNaWVKe8WJPupaPXWU8Y%3D", "checksum"=>"4f822a8dcf52f0afb7c878001f8bbd43", "path"=>"recipes/cron.rb", "specificity"=>"default"}, {"name"=>"config.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-7949ddb8a0442fd7b8f8621633927f26?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=2oyaILdhQCwhNoyU49WHK4Uh%2FEY%3D", "checksum"=>"7949ddb8a0442fd7b8f8621633927f26", "path"=>"recipes/config.rb", "specificity"=>"default"}, {"name"=>"service.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-3245b8a5dca1538d49e7cff20d7196ee?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=zSaI8P9pvBrqkjtb69W%2FrhYjO4s%3D", "checksum"=>"3245b8a5dca1538d49e7cff20d7196ee", "path"=>"recipes/service.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"CONTRIBUTING", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a3b394be05746f24c7ed734d55e8c762?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=C%2FRMrv%2BMrCgEzoRX7UmKjnpcaa0%3D", "checksum"=>"a3b394be05746f24c7ed734d55e8c762", "path"=>"CONTRIBUTING", "specificity"=>"default"}, {"name"=>"LICENSE", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pu3dfBMfEx5wGbbxWGSzeaxK2s4%3D", "checksum"=>"8f7bb094c7232b058c7e9f2e431f389c", "path"=>"LICENSE", "specificity"=>"default"}, {"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-91f57261a315f71c8927586ed6d36365?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2BJtmvAy%2F3QZE2d1MbIzZkMjZNbk%3D", "checksum"=>"91f57261a315f71c8927586ed6d36365", "path"=>"README.md", "specificity"=>"default"}, {"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-ca1016acc4dcbc72dd821cec03677c65?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=VigED1XBv%2BCNfekaF41bd9S83Rc%3D", "checksum"=>"ca1016acc4dcbc72dd821cec03677c65", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"=>"CHANGELOG.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-285f38746724b2e69bbc8df9559ed39b?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=3%2F5ZE33oYs1cmZBvrh6PN3YpYfQ%3D", "checksum"=>"285f38746724b2e69bbc8df9559ed39b", "path"=>"CHANGELOG.md", "specificity"=>"default"}, {"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-7ba49ff879bf5f162e6b4a0628fa5a89?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=aLrIJ10Fit3G7ey6sf5F1xcZ0hU%3D", "checksum"=>"7ba49ff879bf5f162e6b4a0628fa5a89", "path"=>"metadata.json", "specificity"=>"default"}], "frozen?"=>false, "chef_type"=>"cookbook_version"}, @attribute_filenames=["default.rb"]>, "build-essential"=>#<Chef::CookbookVersion:0x7f021fcdb2c0 @couchdb=#<Chef::CouchDB:0x7f021fcdb090 @rest=#<Chef::REST:0x7f021fcdb040 @auth_credentials=#<Chef::REST::AuthCredentials:0x7f021fcdafa0 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db="chef">, @resource_filenames=[], @file_filenames=[], @root_filenames=["README.md", "metadata.rb", "metadata.json"], @metadata_filenames=[], @frozen=false, @checksums={"5044d7a8afe4110d561f7c4d64822a89"=>nil, "3c5b434d491e70ef8f160b7994e95d76"=>nil, "d6ed93fd454965b13b7943825dba5e51"=>nil, "04243ad29fc87ab3eee7d4133e46971d"=>nil}, @couchdb_id=nil, @library_filenames=[], @attribute_filenames_by_short_filename={}, @metadata=#<Chef::Cookbook::Metadata:0x7f021fcda230 @recipes={"build-essential"=>""}, @dependencies={}, @platforms={"debian"=>">= 0.0.0", "fedora"=>">= 0.0.0", "centos"=>">= 0.0.0", "ubuntu"=>">= 0.0.0", "redhat"=>">= 0.0.0"}, @long_description="", @conflicting={}, @license="Apache 2.0", @version="1.0.0", @attributes={}, @cookbook=nil, @groupings={}, @suggestions={}, @maintainer_email="[email protected]", @name="build-essential", @replacing={}, @recommendations={}, @maintainer="Opscode, Inc.", @providing={"build-essential"=>">= 0.0.0"}, @description="Installs C compiler / build tools">, @status=:ready, @template_filenames=[], @root_dir=nil, @couchdb_rev=nil, @recipe_filenames_by_name={"default"=>"default.rb"}, @name="build-essential", @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-d6ed93fd454965b13b7943825dba5e51?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=yF0tGe3SEVXED9TK0tbdUeMMLa8%3D", "checksum"=>"d6ed93fd454965b13b7943825dba5e51", "path"=>"recipes/default.rb", "specificity"=>"default"}, "README.md"=>{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-04243ad29fc87ab3eee7d4133e46971d?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=AljUm44Ppl0tq2nS%2BWn4xlH6ols%3D", "checksum"=>"04243ad29fc87ab3eee7d4133e46971d", "path"=>"README.md", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-5044d7a8afe4110d561f7c4d64822a89?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=oc9PQ6O60tjNziPBFUCMB%2FTR8as%3D", "checksum"=>"5044d7a8afe4110d561f7c4d64822a89", "path"=>"metadata.rb", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-3c5b434d491e70ef8f160b7994e95d76?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=s%2F3xxirAMMiyeANYvb1mYIUyI%2B4%3D", "checksum"=>"3c5b434d491e70ef8f160b7994e95d76", "path"=>"metadata.json", "specificity"=>"default"}}, @provider_filenames=[], @recipe_filenames=["default.rb"], @file_vendor=nil, @manifest={"name"=>"build-essential-1.0.0", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "attributes"=>[], "files"=>[], "metadata"=>{"dependencies"=>{}, "name"=>"build-essential", "maintainer_email"=>"[email protected]", "attributes"=>{}, "license"=>"Apache 2.0", "suggestions"=>{}, "platforms"=>{"debian"=>">= 0.0.0", "fedora"=>">= 0.0.0", "centos"=>">= 0.0.0", "ubuntu"=>">= 0.0.0", "redhat"=>">= 0.0.0"}, "maintainer"=>"Opscode, Inc.", "long_description"=>"", "version"=>"1.0.0", "recommendations"=>{}, "recipes"=>{"build-essential"=>""}, "groupings"=>{}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Installs C compiler / build tools", "providing"=>{"build-essential"=>">= 0.0.0"}}, "providers"=>[], "cookbook_name"=>"build-essential", "resources"=>[], "templates"=>[], "libraries"=>[], "version"=>"1.0.0", "recipes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-d6ed93fd454965b13b7943825dba5e51?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=yF0tGe3SEVXED9TK0tbdUeMMLa8%3D", "checksum"=>"d6ed93fd454965b13b7943825dba5e51", "path"=>"recipes/default.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-04243ad29fc87ab3eee7d4133e46971d?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=AljUm44Ppl0tq2nS%2BWn4xlH6ols%3D", "checksum"=>"04243ad29fc87ab3eee7d4133e46971d", "path"=>"README.md", "specificity"=>"default"}, {"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-5044d7a8afe4110d561f7c4d64822a89?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=oc9PQ6O60tjNziPBFUCMB%2FTR8as%3D", "checksum"=>"5044d7a8afe4110d561f7c4d64822a89", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-3c5b434d491e70ef8f160b7994e95d76?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=s%2F3xxirAMMiyeANYvb1mYIUyI%2B4%3D", "checksum"=>"3c5b434d491e70ef8f160b7994e95d76", "path"=>"metadata.json", "specificity"=>"default"}], "frozen?"=>false, "chef_type"=>"cookbook_version"}, @attribute_filenames=[]>, "autoetchosts"=>#<Chef::CookbookVersion:0x7f021fce2520 @couchdb=#<Chef::CouchDB:0x7f021fce22f0 @rest=#<Chef::REST:0x7f021fce22a0 @auth_credentials=#<Chef::REST::AuthCredentials:0x7f021fce2200 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db="chef">, @resource_filenames=[], @file_filenames=[], @root_filenames=["README.rdoc", "metadata.rb", "metadata.json"], @metadata_filenames=[], @frozen=false, @checksums={"2f83cf96f75f6514c409cf3e2695d061"=>nil, "f0717f2cd0d81137ff33fe991e5bac6a"=>nil, "cf35f281299ad4a2b41621a73d001c2f"=>nil, "4c1246dfef09ac3545c083ce8fa89715"=>nil, "967f2f33952f6ca5ac75576c6a80531c"=>nil}, @couchdb_id=nil, @library_filenames=[], @attribute_filenames_by_short_filename={}, @metadata=#<Chef::Cookbook::Metadata:0x7f021fce1490 @recipes={"autoetchosts"=>""}, @dependencies={}, @platforms={}, @long_description="= DESCRIPTION:\nReplaces /etc/hosts with details of all hosts in the chef cluster.\n\n= REQUIREMENTS:\nWorks with Chef 0.10.4.\n\n= ATTRIBUTES:\n\n= USAGE:\nJust add the recipe to your nodes, no further configuration is required or\nsupported.\n", @conflicting={}, @license="Free for use", @version="0.0.1", @attributes={}, @cookbook=nil, @groupings={}, @suggestions={}, @maintainer_email="[email protected]", @name="autoetchosts", @replacing={}, @recommendations={}, @maintainer="Carter Shanklin", @providing={"autoetchosts"=>">= 0.0.0"}, @description="Installs/Configures autoetchosts">, @status=:ready, @template_filenames=["hosts.erb"], @root_dir=nil, @couchdb_rev=nil, @recipe_filenames_by_name={"default"=>"default.rb"}, @name="autoetchosts", @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f0717f2cd0d81137ff33fe991e5bac6a?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=O6weT8opRmGtTLNA5Hc6%2FgZZSIU%3D", "checksum"=>"f0717f2cd0d81137ff33fe991e5bac6a", "path"=>"recipes/default.rb", "specificity"=>"default"}, "templates/default/hosts.erb"=>{"name"=>"hosts.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-4c1246dfef09ac3545c083ce8fa89715?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2FZntmKUVqY9mu4B4GRUA3EibOJ8%3D", "checksum"=>"4c1246dfef09ac3545c083ce8fa89715", "path"=>"templates/default/hosts.erb", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-cf35f281299ad4a2b41621a73d001c2f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=DDccyqCCYckJcgAVcQyu9p2dSnI%3D", "checksum"=>"cf35f281299ad4a2b41621a73d001c2f", "path"=>"metadata.rb", "specificity"=>"default"}, "README.rdoc"=>{"name"=>"README.rdoc", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-2f83cf96f75f6514c409cf3e2695d061?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=sOzTBiZtkjCGmah%2F%2BXhbSGplXR8%3D", "checksum"=>"2f83cf96f75f6514c409cf3e2695d061", "path"=>"README.rdoc", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-967f2f33952f6ca5ac75576c6a80531c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=ABKYw%2FzJmxt34cNmwDlxEsHGs44%3D", "checksum"=>"967f2f33952f6ca5ac75576c6a80531c", "path"=>"metadata.json", "specificity"=>"default"}}, @provider_filenames=[], @recipe_filenames=["default.rb"], @file_vendor=nil, @manifest={"name"=>"autoetchosts-0.0.1", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "attributes"=>[], "files"=>[], "metadata"=>{"dependencies"=>{}, "name"=>"autoetchosts", "maintainer_email"=>"[email protected]", "attributes"=>{}, "license"=>"Free for use", "suggestions"=>{}, "platforms"=>{}, "maintainer"=>"Carter Shanklin", "long_description"=>"= DESCRIPTION:\nReplaces /etc/hosts with details of all hosts in the chef cluster.\n\n= REQUIREMENTS:\nWorks with Chef 0.10.4.\n\n= ATTRIBUTES:\n\n= USAGE:\nJust add the recipe to your nodes, no further configuration is required or\nsupported.\n", "version"=>"0.0.1", "recommendations"=>{}, "recipes"=>{"autoetchosts"=>""}, "groupings"=>{}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Installs/Configures autoetchosts", "providing"=>{"autoetchosts"=>">= 0.0.0"}}, "providers"=>[], "cookbook_name"=>"autoetchosts", "resources"=>[], "templates"=>[{"name"=>"hosts.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-4c1246dfef09ac3545c083ce8fa89715?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2FZntmKUVqY9mu4B4GRUA3EibOJ8%3D", "checksum"=>"4c1246dfef09ac3545c083ce8fa89715", "path"=>"templates/default/hosts.erb", "specificity"=>"default"}], "libraries"=>[], "version"=>"0.0.1", "recipes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f0717f2cd0d81137ff33fe991e5bac6a?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=O6weT8opRmGtTLNA5Hc6%2FgZZSIU%3D", "checksum"=>"f0717f2cd0d81137ff33fe991e5bac6a", "path"=>"recipes/default.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"README.rdoc", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-2f83cf96f75f6514c409cf3e2695d061?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=sOzTBiZtkjCGmah%2F%2BXhbSGplXR8%3D", "checksum"=>"2f83cf96f75f6514c409cf3e2695d061", "path"=>"README.rdoc", "specificity"=>"default"}, {"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-cf35f281299ad4a2b41621a73d001c2f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=DDccyqCCYckJcgAVcQyu9p2dSnI%3D", "checksum"=>"cf35f281299ad4a2b41621a73d001c2f", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-967f2f33952f6ca5ac75576c6a80531c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=ABKYw%2FzJmxt34cNmwDlxEsHGs44%3D", "checksum"=>"967f2f33952f6ca5ac75576c6a80531c", "path"=>"metadata.json", "specificity"=>"default"}], "frozen?"=>false, "chef_type"=>"cookbook_version"}, @attribute_filenames=[]>, "users"=>#<Chef::CookbookVersion:0x7f021fcea6a8 @couchdb=#<Chef::CouchDB:0x7f021fcea478 @rest=#<Chef::REST:0x7f021fcea428 @auth_credentials=#<Chef::REST::AuthCredentials:0x7f021fcea388 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db="chef">, @resource_filenames=["manage.rb"], @file_filenames=[], @root_filenames=["CONTRIBUTING", "LICENSE", "README.md", "metadata.rb", "CHANGELOG.md", "metadata.json"], @metadata_filenames=[], @frozen=false, @checksums={"2c8b7edf55f87c1b5d623863c13d37d7"=>nil, "a1d2be08dea7f9ce4340e9ede3002f17"=>nil, "e0811d6ca2424203b557f34a9d42b961"=>nil, "a3b394be05746f24c7ed734d55e8c762"=>nil, "4fcfe8f35eab41649867631d6a3456d3"=>nil, "1a000fb8cd07ae615851be39b6437f54"=>nil, "2f82319cd6ebf1d34b3ee3d3ba115521"=>nil, "d3b9379de7ce1f58a5e683769da40e95"=>nil, "f16e89b08f5e6e3b6895aa1ea21bdbb8"=>nil, "5ebb406b3cd2dc0dde23b889861f109a"=>nil, "8f7bb094c7232b058c7e9f2e431f389c"=>nil}, @couchdb_id=nil, @library_filenames=[], @attribute_filenames_by_short_filename={}, @metadata=#<Chef::Cookbook::Metadata:0x7f021fce9618 @recipes={"users::sysadmins"=>""}, @dependencies={}, @platforms={"debian"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "ubuntu"=>">= 0.0.0", "freebsd"=>">= 0.0.0", "redhat"=>">= 0.0.0"}, @long_description="Description\n===========\n\nCreates users from a databag search.\n\nRequirements\n============\n\nPlatform\n--------\n\n* Debian, Ubuntu\n* CentOS, Red Hat, Fedora\n* FreeBSD\n\nA data bag populated with user objects must exist. The default data bag in this recipe is \"users\". See USAGE.\n\nUsage\n=====\n\nThis cookbook is specific for setting up sysadmin group and users for now.\n\n include_recipe \"users::sysadmins\"\n\nUse knife to create a data bag for users.\n\n knife data bag create users\n\nCreate a user.\n\n knife data bag users bofh\n {\n \"id\": \"bofh\",\n \"ssh_keys\": \"ssh-rsa AAAAB3Nz...yhCw== bofh\",\n \"groups\": [ \"sysadmin\", \"dba\", \"devops\" ],\n \"uid\": 2001,\n \"shell\": \"\\/bin\\/bash\",\n \"comment\": \"BOFH\",\n \"nagios\": {\n \"pager\": \"[email protected]\",\n \"email\": \"[email protected]\"\n },\n \"openid\": \"bofh.myopenid.com\"\n }\n\nRemove a user, johndoe1.\n\n knife data bag users johndoe1\n {\n \"id\": \"johndoe1\",\n \"groups\": [ \"sysadmin\", \"dba\", \"devops\" ],\n \"uid\": 2002,\n \"action\": \"remove\",\n \"comment\": \"User quit, retired, or fired.\"\n }\n\n * Note only user bags with the \"action : remove\" and a search-able \"group\" attribute will be purged by the :remove action.\n\nThe default recipe makes use of the \"users_manage\" Lightweight Resource Provider (LWRP), and looks like this:\n\n\n```\n users_manage \"sysadmin\" do\n group_id 2300\n action [ :remove, :create ]\n end\n```\n\nNote this LWRP searches the \"users\" data bag for the \"sysadmin\" group attribute, and adds those users to a Unix security group \"sysadmin\". The only required attribute is group_id, which represents the numeric Unix gid and *must* be unique. The default action for the LWRP is \":create\" only.\n\nIf you have different requirements, for example:\n\n * You want to search a different data bag specific to a role such as mail. You may change the data_bag searched.\n - data_bag \"mail\"\n * You want to search for a different group attribute named \"postmaster\". You may change the search_group attribute. This attribute defaults to the LWRP resource name.\n - search_group \"postmaster\"\n * You want to add the users to a security group other than the lightweight resource name. You may change the group_name attribute. This attribute also defaults to the LWRP resource name.\n - group_name \"wheel\"\n\nPutting these requirements together our recipe might look like this:\n\n```\n users_manage \"postmaster\" do\n data_bag \"mail\"\n group_name \"wheel\"\n group_id 10\n end\n```\n\nThe latest version of knife supports reading data bags from a file and automatically looks in a directory called +data_bags+ in the current directory. The \"bag\" should be a directory with JSON files of each item. For the above:\n\n mkdir data_bags/users\n $EDITOR data_bags/users/bofh.json\n\nPaste the user's public SSH key into the ssh_keys value. Also make sure the uid is unique, and if you're not using bash, that the shell is installed. The default search, and Unix group is sysadmin.\n\nThe recipe, by default, will also create the sysadmin group. If you're using the opscode sudo cookbook, they'll have sudo access in the default site-cookbooks template. They won't have passwords though, so the sudo cookbook's template needs to be adjusted so the sysadmin group has NOPASSWD.\n\nThe sysadmin group will be created with GID 2300. This may become an attribute at a later date.\n\nThe Apache cookbook can set up authentication using OpenIDs, which is set up using the openid key here. See the Opscode 'apache2' cookbook for more information about this.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<[email protected]>)\nAuthor:: Seth Chisamore (<[email protected]>)\n\nCopyright:: 2009-2011, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", @conflicting={}, @license="Apache 2.0", @version="1.1.2", @attributes={}, @cookbook=nil, @groupings={}, @suggestions={}, @maintainer_email="[email protected]", @name="users", @replacing={}, @recommendations={}, @maintainer="Opscode, Inc.", @providing={"users::sysadmins"=>">= 0.0.0"}, @description="Creates users from a databag search">, @status=:ready, @template_filenames=["authorized_keys.erb", "sudoers.erb"], @root_dir=nil, @couchdb_rev=nil, @recipe_filenames_by_name={"sysadmins"=>"sysadmins.rb"}, @name="users", @definition_filenames=[], @manifest_records_by_path={"CONTRIBUTING"=>{"name"=>"CONTRIBUTING", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a3b394be05746f24c7ed734d55e8c762?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=C%2FRMrv%2BMrCgEzoRX7UmKjnpcaa0%3D", "checksum"=>"a3b394be05746f24c7ed734d55e8c762", "path"=>"CONTRIBUTING", "specificity"=>"default"}, "LICENSE"=>{"name"=>"LICENSE", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pu3dfBMfEx5wGbbxWGSzeaxK2s4%3D", "checksum"=>"8f7bb094c7232b058c7e9f2e431f389c", "path"=>"LICENSE", "specificity"=>"default"}, "README.md"=>{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-2f82319cd6ebf1d34b3ee3d3ba115521?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=c7dT%2FTpe7lf%2B1NZQcMBOVGSu8RM%3D", "checksum"=>"2f82319cd6ebf1d34b3ee3d3ba115521", "path"=>"README.md", "specificity"=>"default"}, "recipes/sysadmins.rb"=>{"name"=>"sysadmins.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-1a000fb8cd07ae615851be39b6437f54?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=NTHtvYR2NRX8WOKeEZErT6r1hMA%3D", "checksum"=>"1a000fb8cd07ae615851be39b6437f54", "path"=>"recipes/sysadmins.rb", "specificity"=>"default"}, "providers/manage.rb"=>{"name"=>"manage.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f16e89b08f5e6e3b6895aa1ea21bdbb8?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=gOgCa%2B%2BG067EU98Ts6j8mVsj9J4%3D", "checksum"=>"f16e89b08f5e6e3b6895aa1ea21bdbb8", "path"=>"providers/manage.rb", "specificity"=>"default"}, "CHANGELOG.md"=>{"name"=>"CHANGELOG.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a1d2be08dea7f9ce4340e9ede3002f17?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=CHwAII%2BKcwRkxIl2tzbWOmy80RE%3D", "checksum"=>"a1d2be08dea7f9ce4340e9ede3002f17", "path"=>"CHANGELOG.md", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-5ebb406b3cd2dc0dde23b889861f109a?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=AeM9nW7B9WjEp5fbT29EVp0O9Jg%3D", "checksum"=>"5ebb406b3cd2dc0dde23b889861f109a", "path"=>"metadata.rb", "specificity"=>"default"}, "resources/manage.rb"=>{"name"=>"manage.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-4fcfe8f35eab41649867631d6a3456d3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=77As7USwPxwgSEd04VMQzgDXpU8%3D", "checksum"=>"4fcfe8f35eab41649867631d6a3456d3", "path"=>"resources/manage.rb", "specificity"=>"default"}, "templates/default/authorized_keys.erb"=>{"name"=>"authorized_keys.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-d3b9379de7ce1f58a5e683769da40e95?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=sKqXgBxUqFJKiQ%2F6MozoBpD6QCY%3D", "checksum"=>"d3b9379de7ce1f58a5e683769da40e95", "path"=>"templates/default/authorized_keys.erb", "specificity"=>"default"}, "templates/default/sudoers.erb"=>{"name"=>"sudoers.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-2c8b7edf55f87c1b5d623863c13d37d7?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=zMgXd7cYHc2%2FMt4l9G0qT5M4Rhs%3D", "checksum"=>"2c8b7edf55f87c1b5d623863c13d37d7", "path"=>"templates/default/sudoers.erb", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-e0811d6ca2424203b557f34a9d42b961?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=4m1pNKEAPlUVnYKyNnA%2B6G4%2BLhk%3D", "checksum"=>"e0811d6ca2424203b557f34a9d42b961", "path"=>"metadata.json", "specificity"=>"default"}}, @provider_filenames=["manage.rb"], @recipe_filenames=["sysadmins.rb"], @file_vendor=nil, @manifest={"name"=>"users-1.1.2", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "attributes"=>[], "files"=>[], "metadata"=>{"dependencies"=>{}, "name"=>"users", "maintainer_email"=>"[email protected]", "attributes"=>{}, "license"=>"Apache 2.0", "suggestions"=>{}, "platforms"=>{"debian"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "ubuntu"=>">= 0.0.0", "freebsd"=>">= 0.0.0", "redhat"=>">= 0.0.0"}, "maintainer"=>"Opscode, Inc.", "long_description"=>"Description\n===========\n\nCreates users from a databag search.\n\nRequirements\n============\n\nPlatform\n--------\n\n* Debian, Ubuntu\n* CentOS, Red Hat, Fedora\n* FreeBSD\n\nA data bag populated with user objects must exist. The default data bag in this recipe is \"users\". See USAGE.\n\nUsage\n=====\n\nThis cookbook is specific for setting up sysadmin group and users for now.\n\n include_recipe \"users::sysadmins\"\n\nUse knife to create a data bag for users.\n\n knife data bag create users\n\nCreate a user.\n\n knife data bag users bofh\n {\n \"id\": \"bofh\",\n \"ssh_keys\": \"ssh-rsa AAAAB3Nz...yhCw== bofh\",\n \"groups\": [ \"sysadmin\", \"dba\", \"devops\" ],\n \"uid\": 2001,\n \"shell\": \"\\/bin\\/bash\",\n \"comment\": \"BOFH\",\n \"nagios\": {\n \"pager\": \"[email protected]\",\n \"email\": \"[email protected]\"\n },\n \"openid\": \"bofh.myopenid.com\"\n }\n\nRemove a user, johndoe1.\n\n knife data bag users johndoe1\n {\n \"id\": \"johndoe1\",\n \"groups\": [ \"sysadmin\", \"dba\", \"devops\" ],\n \"uid\": 2002,\n \"action\": \"remove\",\n \"comment\": \"User quit, retired, or fired.\"\n }\n\n * Note only user bags with the \"action : remove\" and a search-able \"group\" attribute will be purged by the :remove action.\n\nThe default recipe makes use of the \"users_manage\" Lightweight Resource Provider (LWRP), and looks like this:\n\n\n```\n users_manage \"sysadmin\" do\n group_id 2300\n action [ :remove, :create ]\n end\n```\n\nNote this LWRP searches the \"users\" data bag for the \"sysadmin\" group attribute, and adds those users to a Unix security group \"sysadmin\". The only required attribute is group_id, which represents the numeric Unix gid and *must* be unique. The default action for the LWRP is \":create\" only.\n\nIf you have different requirements, for example:\n\n * You want to search a different data bag specific to a role such as mail. You may change the data_bag searched.\n - data_bag \"mail\"\n * You want to search for a different group attribute named \"postmaster\". You may change the search_group attribute. This attribute defaults to the LWRP resource name.\n - search_group \"postmaster\"\n * You want to add the users to a security group other than the lightweight resource name. You may change the group_name attribute. This attribute also defaults to the LWRP resource name.\n - group_name \"wheel\"\n\nPutting these requirements together our recipe might look like this:\n\n```\n users_manage \"postmaster\" do\n data_bag \"mail\"\n group_name \"wheel\"\n group_id 10\n end\n```\n\nThe latest version of knife supports reading data bags from a file and automatically looks in a directory called +data_bags+ in the current directory. The \"bag\" should be a directory with JSON files of each item. For the above:\n\n mkdir data_bags/users\n $EDITOR data_bags/users/bofh.json\n\nPaste the user's public SSH key into the ssh_keys value. Also make sure the uid is unique, and if you're not using bash, that the shell is installed. The default search, and Unix group is sysadmin.\n\nThe recipe, by default, will also create the sysadmin group. If you're using the opscode sudo cookbook, they'll have sudo access in the default site-cookbooks template. They won't have passwords though, so the sudo cookbook's template needs to be adjusted so the sysadmin group has NOPASSWD.\n\nThe sysadmin group will be created with GID 2300. This may become an attribute at a later date.\n\nThe Apache cookbook can set up authentication using OpenIDs, which is set up using the openid key here. See the Opscode 'apache2' cookbook for more information about this.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<[email protected]>)\nAuthor:: Seth Chisamore (<[email protected]>)\n\nCopyright:: 2009-2011, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", "version"=>"1.1.2", "recommendations"=>{}, "recipes"=>{"users::sysadmins"=>""}, "groupings"=>{}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Creates users from a databag search", "providing"=>{"users::sysadmins"=>">= 0.0.0"}}, "providers"=>[{"name"=>"manage.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-f16e89b08f5e6e3b6895aa1ea21bdbb8?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=gOgCa%2B%2BG067EU98Ts6j8mVsj9J4%3D", "checksum"=>"f16e89b08f5e6e3b6895aa1ea21bdbb8", "path"=>"providers/manage.rb", "specificity"=>"default"}], "cookbook_name"=>"users", "resources"=>[{"name"=>"manage.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-4fcfe8f35eab41649867631d6a3456d3?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=77As7USwPxwgSEd04VMQzgDXpU8%3D", "checksum"=>"4fcfe8f35eab41649867631d6a3456d3", "path"=>"resources/manage.rb", "specificity"=>"default"}], "templates"=>[{"name"=>"authorized_keys.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-d3b9379de7ce1f58a5e683769da40e95?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=sKqXgBxUqFJKiQ%2F6MozoBpD6QCY%3D", "checksum"=>"d3b9379de7ce1f58a5e683769da40e95", "path"=>"templates/default/authorized_keys.erb", "specificity"=>"default"}, {"name"=>"sudoers.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-2c8b7edf55f87c1b5d623863c13d37d7?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=zMgXd7cYHc2%2FMt4l9G0qT5M4Rhs%3D", "checksum"=>"2c8b7edf55f87c1b5d623863c13d37d7", "path"=>"templates/default/sudoers.erb", "specificity"=>"default"}], "libraries"=>[], "version"=>"1.1.2", "recipes"=>[{"name"=>"sysadmins.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-1a000fb8cd07ae615851be39b6437f54?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=NTHtvYR2NRX8WOKeEZErT6r1hMA%3D", "checksum"=>"1a000fb8cd07ae615851be39b6437f54", "path"=>"recipes/sysadmins.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"CONTRIBUTING", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a3b394be05746f24c7ed734d55e8c762?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=C%2FRMrv%2BMrCgEzoRX7UmKjnpcaa0%3D", "checksum"=>"a3b394be05746f24c7ed734d55e8c762", "path"=>"CONTRIBUTING", "specificity"=>"default"}, {"name"=>"LICENSE", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=pu3dfBMfEx5wGbbxWGSzeaxK2s4%3D", "checksum"=>"8f7bb094c7232b058c7e9f2e431f389c", "path"=>"LICENSE", "specificity"=>"default"}, {"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-2f82319cd6ebf1d34b3ee3d3ba115521?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=c7dT%2FTpe7lf%2B1NZQcMBOVGSu8RM%3D", "checksum"=>"2f82319cd6ebf1d34b3ee3d3ba115521", "path"=>"README.md", "specificity"=>"default"}, {"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-5ebb406b3cd2dc0dde23b889861f109a?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=AeM9nW7B9WjEp5fbT29EVp0O9Jg%3D", "checksum"=>"5ebb406b3cd2dc0dde23b889861f109a", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"=>"CHANGELOG.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a1d2be08dea7f9ce4340e9ede3002f17?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=CHwAII%2BKcwRkxIl2tzbWOmy80RE%3D", "checksum"=>"a1d2be08dea7f9ce4340e9ede3002f17", "path"=>"CHANGELOG.md", "specificity"=>"default"}, {"name"=>"metadata.json", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-e0811d6ca2424203b557f34a9d42b961?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=4m1pNKEAPlUVnYKyNnA%2B6G4%2BLhk%3D", "checksum"=>"e0811d6ca2424203b557f34a9d42b961", "path"=>"metadata.json", "specificity"=>"default"}], "frozen?"=>false, "chef_type"=>"cookbook_version"}, @attribute_filenames=[]>, "cloud_monitoring"=>#<Chef::CookbookVersion:0x7f021fcd22b0 @couchdb=#<Chef::CouchDB:0x7f021fcd2080 @rest=#<Chef::REST:0x7f021fcd2030 @auth_credentials=#<Chef::REST::AuthCredentials:0x7f021fcd1f90 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db="chef">, @resource_filenames=["agent_token.rb", "check.rb", "alarm.rb", "entity.rb"], @file_filenames=[], @root_filenames=["README.md", "metadata.rb"], @metadata_filenames=[], @frozen=false, @checksums={"1cda9546a41c1bd51952721c399207ba"=>nil, "3e8bb6771b32cb9d96e5e1681122b506"=>nil, "7bc1481c79b8720a6ab524e0c7936e4f"=>nil, "bd6fabd3361c494f87890966bb6e44b5"=>nil, "75e4db9f9bb15ee54b8a4c9ff8eabb74"=>nil, "29c631fa1938a280f615312f6d1f2c21"=>nil, "32bdad48920f9055a076c67b5933126f"=>nil, "3aefdb2fad9695f2a6a2f365663b347c"=>nil, "594634f2cd7462c64f9a35cbd7b38dd0"=>nil, "5086c4765275e2a16af5cbfed2c21c49"=>nil, "48726ceabd98b8e692e2b98395ce93e4"=>nil, "bf16d2f046736c2bc5185bfffea9ba7c"=>nil, "fa773532489aa35a9e5d2adf4e7dd219"=>nil, "36fb831f7135bd6432e0bb1b8572e4d2"=>nil, "fe9002a4bc8963f133dc86d69fb0a51e"=>nil}, @couchdb_id=nil, @library_filenames=["cloud_monitoring.rb"], @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @metadata=#<Chef::Cookbook::Metadata:0x7f021fcd1220 @recipes={"cloud_monitoring::raxmon"=>"", "cloud_monitoring"=>""}, @dependencies={"python"=>">= 0.0.0"}, @platforms={"debian"=>">= 0.0.0", "ubuntu"=>">= 0.0.0"}, @long_description="# Description\n\nThis cookbook provides automated way to manage the various resources using the Rackspace Cloud Monitoring API.\nSpecifically this recipe will focus on main atom's in the system.\n\n* Entities\n* Checks\n* Alarms\n* Agents (soon)\n* Agent Tokens (soon)\n\nThe cookbook also installs the python-pip package in Debian and RedHat based systems, and then uses pip to install the Rackspace Cloud Monitoring client, raxmon-cli, via pip\n\n# Requirements\n\nRequires Chef 0.7.10 or higher for Lightweight Resource and Provider support. Chef 0.8+ is recommended. While this\ncookbook can be used in chef-solo mode, to gain the most flexibility, we recommend using chef-client with a Chef Server.\n\nThe inner workings of the library depend on [fog](https://github.com/fog/fog) which is used by the Ruby command line\nclient called [rackspace-monitoring-rb](https://github.com/racker/rackspace-monitoring-rb). These are handled in the\ninstantiation and use of the Cookbook.\n\nA Rackspace Cloud Hosting account is required to use this tool. And a valid `username` and `api_key` are required to\nauthenticate into your account.\n\nYou can get one here [sign-up](https://cart.rackspace.com/cloud/?cp_id=cloud_monitoring).\n\npython and python-pip (installed by this cookbook) for the raxmon-cli install\n\n* If you want automatic credentials added to the raxmon-cli commands for the root user, an encrypted data_bag named rackspace must be created with an item called cloud.\n * If you do not want to use the /root/.raxrc file to manage the credentials for root, skip the following section\n\n###Setting up the .raxrc file for automatic cloud login credentials for root\n####If you already have an encrypted_data_bag_secret file created and pushed out to your chef nodes\n* Create the new encrypted data_bag\nknife data bag create --secret-file <LOCATION/NAME OF SECRET FILE> rackspace cloud\n\n* Make the json file opened look like the following, then save and exit your editor:\n{\n \"id\": \"cloud\",\n \"raxusername\": \"<YOUR CLOUD SERVER USERNAME\",\n \"raxapikey\": \"<YOUR CLOUD SERVER API KEY\"\n}\n\n####If you are not currently using an encrypted_data_bag_secret file\n* Create a new secret file\nopenssl rand -base64 512 | tr -d '\\r\\n' > /tmp/my_data_bag_key\n\n* The /tmp/my_data_bag_key (or whatever you called it in the above step) needs to be pushed out to your chef nodes to /etc/chef/encrypted_data_bag_secret\n\n* Create the new encrypted data_bag\nknife data bag create --secret-file /tmp/my_data_bag_key rackspace cloud\n\n* Make the json file opened look like the following, then save and exit your editor:\n{\n \"id\": \"cloud\",\n \"raxusername\": \"<YOUR CLOUD SERVER USERNAME\",\n \"raxapikey\": \"<YOUR CLOUD SERVER API KEY\"\n}\n\n# Attributes\n\nAll attributes are namespaced under the `node[:cloud_monitoring]` namespace. This keeps everything clean and organized.\n\nFor raxmon-cli /root/.raxrc, From encrypted data bag rackspace with item cloud:\n* ['raxusername']\n* ['raxapikey']\n\n# Usage\n\nThis cookbook exposes many different elements of the Cloud Monitoring product. We'll go over some examples and best\npractices for using this cookbook. The most interesting pieces are the three core Resources in the system `Entity`,\n`Check` and `Alarm`. So we'll cover those first and tackle The other primitives towards the end.\n\n## Entity\n\nThe first element is the `Entity`. The `Entity` maps to the target of what you're monitoring. This in most cases\nrepresents a server, loadbalancer or website. However, there is some advanced flexibility but that is only used in rare\ncases. The first use case we will show is populating your chef nodes in Cloud Monitoring...\n\nLearn more about all these concepts in the docs and specifically the\n[Concepts](http://docs.rackspacecloud.com/cm/api/v1.0/cm-devguide/content/concepts-key-terms.html) section of the\ndeveloper guide.\n\n```ruby\ncloud_monitoring_entity \"\#{node.hostname}\" do\n ip_addresses 'default' => node[:ipaddress]\n metadata 'environment' => 'dev', :more => 'meta data'\n rackspace_username 'joe'\n rackspace_api_key 'XXX'\n action :create\nend\n```\nIf you looked in the Rackspace Cloud Monitoring API /entities on your account you'd see an `Entity` labeled whatever the\nhostname of the machine which executed this chef code.\n\nMost of the fields are optional, you can even specify something as minimal as:\n\n```ruby\ncloud_monitoring_entity \"\#{node.hostname}\" do\n rackspace_username 'joe'\n rackspace_api_key 'XXX'\n action :create\nend\n```\n\nThis operation is idempotent, and will select the node based on the name of the resource, which maps to the label of the\nentity. This is ***important*** because this pattern is repeated through out this cookbook. If an attribute of the\nresource changes the provider will issue a `PUT` instead of a `POST` to update the resource instead of creating another\none.\n\nThis will set an attribute on the node `node[:cloud_monitoring][:entity_id]`. This attribute will be saved in the\nchef server. It is bi-directional, it can re-attach your cloud monitoring entities to your chef node based on the\nlabel. Keep in mind nothing is removed unless explicitly told so, like most chef resources.\n\n\n## Check\n\nThe check is the way to start collecting data. The stanza looks very similar to the `Entity` stanza except the accepted\nparameters are different, it is seen more as the \"what\" of monitoring.\n\n***Note: you must either have the attribute assigned `node[:cloud_monitoring][:entity_id]` or pass in an entity_id\nexplicitly so the Check knows which node to create it on.***\n\nHere is an example of a ping check:\n\n```ruby\ncloud_monitoring_check \"ping\" do\n target_alias 'default'\n type 'remote.ping'\n period 30\n timeout 10\n monitoring_zones_poll ['mzord']\n rackspace_username 'joe'\n rackspace_api_key 'XXX'\n action :create\nend\n```\n\nThis will create a ping check that is scoped on the `Entity` that was created above. In this case, it makes sense,\nhowever sometimes you want to be specific about which node to create this check on. If that's the case, then passing in\nan `entity_id` will allow you to do that.\n\nThis block will create a ping check named \"ping\" with 30 second interval from a single datacenter \"mzord\". It will\nexecute the check against the target_alias default, which is the chef flagged ipaddress above.\n\nCreating a more complex check is just as simple, take HTTP check as an example. There are multiple options to pass in\nto run the check. This maps very closely to the API, so you have a details hash at your disposal to do that.\n\n```ruby\ncloud_monitoring_check \"http\" do\n target_alias 'default'\n type 'remote.http'\n period 30\n timeout 10\n details 'url' => 'http://www.google.com', 'method' => 'GET'\n monitoring_zones_poll ['mzord', 'mzdfw']\n rackspace_username 'joe'\n rackspace_api_key 'XXX'\n action :create\nend\n```\n\nFor raxmon-cli:\n####Using the .raxrc file\n*Follow the steps under the Requirements section above to create the encrypted data bag for the .raxrc file\n* As root user you can manage your Rackspace Cloud Monitoring settings via the raxmon-cli tools, see the description above for links to the documentation\n * If you do not set the .raxrc credentials, or you want to use raxmon-cli from a non-root user, you can still access the Rackspace Cloud Monitoring API by using the --username and --api-key options on your raxmon commands\n\n#### Not using the .raxrc file\n* Do not create the rackspace cloud encrypted databag item\n* Access the Rackspace Cloud Monitoring API by using the --username and --api-key options on your raxmon commands\n", @conflicting={}, @license="Apache 2.0", @version="0.1.1", @attributes={}, @cookbook=nil, @groupings={}, @suggestions={}, @maintainer_email="[email protected]", @name="cloud_monitoring", @replacing={}, @recommendations={}, @maintainer="Rackspace", @providing={"cloud_monitoring::raxmon"=>">= 0.0.0", "cloud_monitoring"=>">= 0.0.0"}, @description="Installs/Configures Rackspace Cloud Monitoring">, @status=:ready, @template_filenames=["raxrc.erb"], @root_dir=nil, @couchdb_rev=nil, @recipe_filenames_by_name={"default"=>"default.rb", "raxmon"=>"raxmon.rb"}, @name="cloud_monitoring", @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-75e4db9f9bb15ee54b8a4c9ff8eabb74?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=ewnJm%2BfQN9XSIiLGfhV7rlDF2Zg%3D", "checksum"=>"75e4db9f9bb15ee54b8a4c9ff8eabb74", "path"=>"recipes/default.rb", "specificity"=>"default"}, "resources/agent_token.rb"=>{"name"=>"agent_token.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-594634f2cd7462c64f9a35cbd7b38dd0?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=dAv5noOoJE8ZX25GvERa0mmcrZI%3D", "checksum"=>"594634f2cd7462c64f9a35cbd7b38dd0", "path"=>"resources/agent_token.rb", "specificity"=>"default"}, "resources/check.rb"=>{"name"=>"check.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-32bdad48920f9055a076c67b5933126f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=OOVHR1DZc6DYRbsRERTXgADPlfE%3D", "checksum"=>"32bdad48920f9055a076c67b5933126f", "path"=>"resources/check.rb", "specificity"=>"default"}, "providers/agent_token.rb"=>{"name"=>"agent_token.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-1cda9546a41c1bd51952721c399207ba?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=qXRJhrAd9fFxw27FfiGqULm1gvI%3D", "checksum"=>"1cda9546a41c1bd51952721c399207ba", "path"=>"providers/agent_token.rb", "specificity"=>"default"}, "resources/alarm.rb"=>{"name"=>"alarm.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-3aefdb2fad9695f2a6a2f365663b347c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=H9iDLUwaaVA0Z5RatkHXTM3VzIQ%3D", "checksum"=>"3aefdb2fad9695f2a6a2f365663b347c", "path"=>"resources/alarm.rb", "specificity"=>"default"}, "libraries/cloud_monitoring.rb"=>{"name"=>"cloud_monitoring.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-bf16d2f046736c2bc5185bfffea9ba7c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=rG8kmwzw5RpmeGKHe4rMzXoNmHA%3D", "checksum"=>"bf16d2f046736c2bc5185bfffea9ba7c", "path"=>"libraries/cloud_monitoring.rb", "specificity"=>"default"}, "README.md"=>{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-5086c4765275e2a16af5cbfed2c21c49?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2BAF%2FtFwM%2B05%2FtoFgj%2BKxqdcfN4s%3D", "checksum"=>"5086c4765275e2a16af5cbfed2c21c49", "path"=>"README.md", "specificity"=>"default"}, "providers/check.rb"=>{"name"=>"check.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-7bc1481c79b8720a6ab524e0c7936e4f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=7Hdh%2Bw2LVIhBn%2BJkjRRN4NA7wG0%3D", "checksum"=>"7bc1481c79b8720a6ab524e0c7936e4f", "path"=>"providers/check.rb", "specificity"=>"default"}, "providers/entity.rb"=>{"name"=>"entity.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-fe9002a4bc8963f133dc86d69fb0a51e?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=G6Q0I00wN6HM9pvY%2FC9Yd7P785c%3D", "checksum"=>"fe9002a4bc8963f133dc86d69fb0a51e", "path"=>"providers/entity.rb", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-bd6fabd3361c494f87890966bb6e44b5?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=n4Q026%2FroH9cZE0hPjFg%2FGzc8eM%3D", "checksum"=>"bd6fabd3361c494f87890966bb6e44b5", "path"=>"metadata.rb", "specificity"=>"default"}, "providers/alarm.rb"=>{"name"=>"alarm.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-fa773532489aa35a9e5d2adf4e7dd219?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=nwNDXLe644mIK64RfM1RrtMYZQ8%3D", "checksum"=>"fa773532489aa35a9e5d2adf4e7dd219", "path"=>"providers/alarm.rb", "specificity"=>"default"}, "resources/entity.rb"=>{"name"=>"entity.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-29c631fa1938a280f615312f6d1f2c21?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=2Omk9J%2BtG6rxIZqivvb5cYlt%2FdI%3D", "checksum"=>"29c631fa1938a280f615312f6d1f2c21", "path"=>"resources/entity.rb", "specificity"=>"default"}, "templates/default/raxrc.erb"=>{"name"=>"raxrc.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-48726ceabd98b8e692e2b98395ce93e4?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=vwjgRfi2iBaQy5aqZwjv0tu%2B4hs%3D", "checksum"=>"48726ceabd98b8e692e2b98395ce93e4", "path"=>"templates/default/raxrc.erb", "specificity"=>"default"}, "attributes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-3e8bb6771b32cb9d96e5e1681122b506?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=h%2BoAowdZA0OgtLWfkYtrUFgWkD0%3D", "checksum"=>"3e8bb6771b32cb9d96e5e1681122b506", "path"=>"attributes/default.rb", "specificity"=>"default"}, "recipes/raxmon.rb"=>{"name"=>"raxmon.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-36fb831f7135bd6432e0bb1b8572e4d2?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=6D%2BdRYIchhLB8mMssxOJTACUPto%3D", "checksum"=>"36fb831f7135bd6432e0bb1b8572e4d2", "path"=>"recipes/raxmon.rb", "specificity"=>"default"}}, @provider_filenames=["agent_token.rb", "entity.rb", "check.rb", "alarm.rb"], @recipe_filenames=["default.rb", "raxmon.rb"], @file_vendor=nil, @manifest={"name"=>"cloud_monitoring-0.1.1", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "attributes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-3e8bb6771b32cb9d96e5e1681122b506?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=h%2BoAowdZA0OgtLWfkYtrUFgWkD0%3D", "checksum"=>"3e8bb6771b32cb9d96e5e1681122b506", "path"=>"attributes/default.rb", "specificity"=>"default"}], "files"=>[], "metadata"=>{"dependencies"=>{"python"=>">= 0.0.0"}, "name"=>"cloud_monitoring", "maintainer_email"=>"[email protected]", "attributes"=>{}, "license"=>"Apache 2.0", "suggestions"=>{}, "platforms"=>{"debian"=>">= 0.0.0", "ubuntu"=>">= 0.0.0"}, "maintainer"=>"Rackspace", "long_description"=>"# Description\n\nThis cookbook provides automated way to manage the various resources using the Rackspace Cloud Monitoring API.\nSpecifically this recipe will focus on main atom's in the system.\n\n* Entities\n* Checks\n* Alarms\n* Agents (soon)\n* Agent Tokens (soon)\n\nThe cookbook also installs the python-pip package in Debian and RedHat based systems, and then uses pip to install the Rackspace Cloud Monitoring client, raxmon-cli, via pip\n\n# Requirements\n\nRequires Chef 0.7.10 or higher for Lightweight Resource and Provider support. Chef 0.8+ is recommended. While this\ncookbook can be used in chef-solo mode, to gain the most flexibility, we recommend using chef-client with a Chef Server.\n\nThe inner workings of the library depend on [fog](https://github.com/fog/fog) which is used by the Ruby command line\nclient called [rackspace-monitoring-rb](https://github.com/racker/rackspace-monitoring-rb). These are handled in the\ninstantiation and use of the Cookbook.\n\nA Rackspace Cloud Hosting account is required to use this tool. And a valid `username` and `api_key` are required to\nauthenticate into your account.\n\nYou can get one here [sign-up](https://cart.rackspace.com/cloud/?cp_id=cloud_monitoring).\n\npython and python-pip (installed by this cookbook) for the raxmon-cli install\n\n* If you want automatic credentials added to the raxmon-cli commands for the root user, an encrypted data_bag named rackspace must be created with an item called cloud.\n * If you do not want to use the /root/.raxrc file to manage the credentials for root, skip the following section\n\n###Setting up the .raxrc file for automatic cloud login credentials for root\n####If you already have an encrypted_data_bag_secret file created and pushed out to your chef nodes\n* Create the new encrypted data_bag\nknife data bag create --secret-file <LOCATION/NAME OF SECRET FILE> rackspace cloud\n\n* Make the json file opened look like the following, then save and exit your editor:\n{\n \"id\": \"cloud\",\n \"raxusername\": \"<YOUR CLOUD SERVER USERNAME\",\n \"raxapikey\": \"<YOUR CLOUD SERVER API KEY\"\n}\n\n####If you are not currently using an encrypted_data_bag_secret file\n* Create a new secret file\nopenssl rand -base64 512 | tr -d '\\r\\n' > /tmp/my_data_bag_key\n\n* The /tmp/my_data_bag_key (or whatever you called it in the above step) needs to be pushed out to your chef nodes to /etc/chef/encrypted_data_bag_secret\n\n* Create the new encrypted data_bag\nknife data bag create --secret-file /tmp/my_data_bag_key rackspace cloud\n\n* Make the json file opened look like the following, then save and exit your editor:\n{\n \"id\": \"cloud\",\n \"raxusername\": \"<YOUR CLOUD SERVER USERNAME\",\n \"raxapikey\": \"<YOUR CLOUD SERVER API KEY\"\n}\n\n# Attributes\n\nAll attributes are namespaced under the `node[:cloud_monitoring]` namespace. This keeps everything clean and organized.\n\nFor raxmon-cli /root/.raxrc, From encrypted data bag rackspace with item cloud:\n* ['raxusername']\n* ['raxapikey']\n\n# Usage\n\nThis cookbook exposes many different elements of the Cloud Monitoring product. We'll go over some examples and best\npractices for using this cookbook. The most interesting pieces are the three core Resources in the system `Entity`,\n`Check` and `Alarm`. So we'll cover those first and tackle The other primitives towards the end.\n\n## Entity\n\nThe first element is the `Entity`. The `Entity` maps to the target of what you're monitoring. This in most cases\nrepresents a server, loadbalancer or website. However, there is some advanced flexibility but that is only used in rare\ncases. The first use case we will show is populating your chef nodes in Cloud Monitoring...\n\nLearn more about all these concepts in the docs and specifically the\n[Concepts](http://docs.rackspacecloud.com/cm/api/v1.0/cm-devguide/content/concepts-key-terms.html) section of the\ndeveloper guide.\n\n```ruby\ncloud_monitoring_entity \"\#{node.hostname}\" do\n ip_addresses 'default' => node[:ipaddress]\n metadata 'environment' => 'dev', :more => 'meta data'\n rackspace_username 'joe'\n rackspace_api_key 'XXX'\n action :create\nend\n```\nIf you looked in the Rackspace Cloud Monitoring API /entities on your account you'd see an `Entity` labeled whatever the\nhostname of the machine which executed this chef code.\n\nMost of the fields are optional, you can even specify something as minimal as:\n\n```ruby\ncloud_monitoring_entity \"\#{node.hostname}\" do\n rackspace_username 'joe'\n rackspace_api_key 'XXX'\n action :create\nend\n```\n\nThis operation is idempotent, and will select the node based on the name of the resource, which maps to the label of the\nentity. This is ***important*** because this pattern is repeated through out this cookbook. If an attribute of the\nresource changes the provider will issue a `PUT` instead of a `POST` to update the resource instead of creating another\none.\n\nThis will set an attribute on the node `node[:cloud_monitoring][:entity_id]`. This attribute will be saved in the\nchef server. It is bi-directional, it can re-attach your cloud monitoring entities to your chef node based on the\nlabel. Keep in mind nothing is removed unless explicitly told so, like most chef resources.\n\n\n## Check\n\nThe check is the way to start collecting data. The stanza looks very similar to the `Entity` stanza except the accepted\nparameters are different, it is seen more as the \"what\" of monitoring.\n\n***Note: you must either have the attribute assigned `node[:cloud_monitoring][:entity_id]` or pass in an entity_id\nexplicitly so the Check knows which node to create it on.***\n\nHere is an example of a ping check:\n\n```ruby\ncloud_monitoring_check \"ping\" do\n target_alias 'default'\n type 'remote.ping'\n period 30\n timeout 10\n monitoring_zones_poll ['mzord']\n rackspace_username 'joe'\n rackspace_api_key 'XXX'\n action :create\nend\n```\n\nThis will create a ping check that is scoped on the `Entity` that was created above. In this case, it makes sense,\nhowever sometimes you want to be specific about which node to create this check on. If that's the case, then passing in\nan `entity_id` will allow you to do that.\n\nThis block will create a ping check named \"ping\" with 30 second interval from a single datacenter \"mzord\". It will\nexecute the check against the target_alias default, which is the chef flagged ipaddress above.\n\nCreating a more complex check is just as simple, take HTTP check as an example. There are multiple options to pass in\nto run the check. This maps very closely to the API, so you have a details hash at your disposal to do that.\n\n```ruby\ncloud_monitoring_check \"http\" do\n target_alias 'default'\n type 'remote.http'\n period 30\n timeout 10\n details 'url' => 'http://www.google.com', 'method' => 'GET'\n monitoring_zones_poll ['mzord', 'mzdfw']\n rackspace_username 'joe'\n rackspace_api_key 'XXX'\n action :create\nend\n```\n\nFor raxmon-cli:\n####Using the .raxrc file\n*Follow the steps under the Requirements section above to create the encrypted data bag for the .raxrc file\n* As root user you can manage your Rackspace Cloud Monitoring settings via the raxmon-cli tools, see the description above for links to the documentation\n * If you do not set the .raxrc credentials, or you want to use raxmon-cli from a non-root user, you can still access the Rackspace Cloud Monitoring API by using the --username and --api-key options on your raxmon commands\n\n#### Not using the .raxrc file\n* Do not create the rackspace cloud encrypted databag item\n* Access the Rackspace Cloud Monitoring API by using the --username and --api-key options on your raxmon commands\n", "version"=>"0.1.1", "recommendations"=>{}, "recipes"=>{"cloud_monitoring::raxmon"=>"", "cloud_monitoring"=>""}, "groupings"=>{}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Installs/Configures Rackspace Cloud Monitoring", "providing"=>{"cloud_monitoring::raxmon"=>">= 0.0.0", "cloud_monitoring"=>">= 0.0.0"}}, "providers"=>[{"name"=>"agent_token.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-1cda9546a41c1bd51952721c399207ba?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=qXRJhrAd9fFxw27FfiGqULm1gvI%3D", "checksum"=>"1cda9546a41c1bd51952721c399207ba", "path"=>"providers/agent_token.rb", "specificity"=>"default"}, {"name"=>"entity.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-fe9002a4bc8963f133dc86d69fb0a51e?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=G6Q0I00wN6HM9pvY%2FC9Yd7P785c%3D", "checksum"=>"fe9002a4bc8963f133dc86d69fb0a51e", "path"=>"providers/entity.rb", "specificity"=>"default"}, {"name"=>"check.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-7bc1481c79b8720a6ab524e0c7936e4f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=7Hdh%2Bw2LVIhBn%2BJkjRRN4NA7wG0%3D", "checksum"=>"7bc1481c79b8720a6ab524e0c7936e4f", "path"=>"providers/check.rb", "specificity"=>"default"}, {"name"=>"alarm.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-fa773532489aa35a9e5d2adf4e7dd219?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=nwNDXLe644mIK64RfM1RrtMYZQ8%3D", "checksum"=>"fa773532489aa35a9e5d2adf4e7dd219", "path"=>"providers/alarm.rb", "specificity"=>"default"}], "cookbook_name"=>"cloud_monitoring", "resources"=>[{"name"=>"agent_token.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-594634f2cd7462c64f9a35cbd7b38dd0?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=dAv5noOoJE8ZX25GvERa0mmcrZI%3D", "checksum"=>"594634f2cd7462c64f9a35cbd7b38dd0", "path"=>"resources/agent_token.rb", "specificity"=>"default"}, {"name"=>"check.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-32bdad48920f9055a076c67b5933126f?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=OOVHR1DZc6DYRbsRERTXgADPlfE%3D", "checksum"=>"32bdad48920f9055a076c67b5933126f", "path"=>"resources/check.rb", "specificity"=>"default"}, {"name"=>"alarm.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-3aefdb2fad9695f2a6a2f365663b347c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=H9iDLUwaaVA0Z5RatkHXTM3VzIQ%3D", "checksum"=>"3aefdb2fad9695f2a6a2f365663b347c", "path"=>"resources/alarm.rb", "specificity"=>"default"}, {"name"=>"entity.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-29c631fa1938a280f615312f6d1f2c21?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=2Omk9J%2BtG6rxIZqivvb5cYlt%2FdI%3D", "checksum"=>"29c631fa1938a280f615312f6d1f2c21", "path"=>"resources/entity.rb", "specificity"=>"default"}], "templates"=>[{"name"=>"raxrc.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-48726ceabd98b8e692e2b98395ce93e4?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=vwjgRfi2iBaQy5aqZwjv0tu%2B4hs%3D", "checksum"=>"48726ceabd98b8e692e2b98395ce93e4", "path"=>"templates/default/raxrc.erb", "specificity"=>"default"}], "libraries"=>[{"name"=>"cloud_monitoring.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-bf16d2f046736c2bc5185bfffea9ba7c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=rG8kmwzw5RpmeGKHe4rMzXoNmHA%3D", "checksum"=>"bf16d2f046736c2bc5185bfffea9ba7c", "path"=>"libraries/cloud_monitoring.rb", "specificity"=>"default"}], "version"=>"0.1.1", "recipes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-75e4db9f9bb15ee54b8a4c9ff8eabb74?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=ewnJm%2BfQN9XSIiLGfhV7rlDF2Zg%3D", "checksum"=>"75e4db9f9bb15ee54b8a4c9ff8eabb74", "path"=>"recipes/default.rb", "specificity"=>"default"}, {"name"=>"raxmon.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-36fb831f7135bd6432e0bb1b8572e4d2?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=6D%2BdRYIchhLB8mMssxOJTACUPto%3D", "checksum"=>"36fb831f7135bd6432e0bb1b8572e4d2", "path"=>"recipes/raxmon.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-5086c4765275e2a16af5cbfed2c21c49?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=%2BAF%2FtFwM%2B05%2FtoFgj%2BKxqdcfN4s%3D", "checksum"=>"5086c4765275e2a16af5cbfed2c21c49", "path"=>"README.md", "specificity"=>"default"}, {"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-bd6fabd3361c494f87890966bb6e44b5?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=n4Q026%2FroH9cZE0hPjFg%2FGzc8eM%3D", "checksum"=>"bd6fabd3361c494f87890966bb6e44b5", "path"=>"metadata.rb", "specificity"=>"default"}], "frozen?"=>false, "chef_type"=>"cookbook_version"}, @attribute_filenames=["default.rb"]>, "rsdns"=>#<Chef::CookbookVersion:0x7f021fcc97f0 @couchdb=#<Chef::CouchDB:0x7f021fcc95c0 @rest=#<Chef::REST:0x7f021fcc9570 @auth_credentials=#<Chef::REST::AuthCredentials:0x7f021fcc94d0 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db="chef">, @resource_filenames=[], @file_filenames=[], @root_filenames=["README.md", "metadata.rb"], @metadata_filenames=[], @frozen=false, @checksums={"b6a9f5275d4b9be136b9aa81727bcbee"=>nil, "20f0019c12cd51c2c81864f8dee91243"=>nil, "0f967cb67f98d0fa7fc650069d8b965c"=>nil, "c1e5b17aa1e1ca22ad301046c701f406"=>nil, "a193a3c658d8087ff75db9a1025840e2"=>nil}, @couchdb_id=nil, @library_filenames=[], @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @metadata=#<Chef::Cookbook::Metadata:0x7f021fcc8760 @recipes={"rsdns"=>""}, @dependencies={}, @platforms={}, @long_description="Description\n===========\n* Install the rsdns Rackspace Cloud DNS management scripts from github https://github.com/linickx/rsdns\n\n* Puts the scripts into /opt/rsdns, a symlink to the main rsdns script into /usr/local/bin so it's in the PATH, and creates a .rsdns_config file in /root with the username and api key to use\n\nRequirements\n============\n\n* A Rackspace cloud server username and api key to use the rsdns scripts\n\n* If you want automatic credentials added to the rsdns commands for the root user, an encrypted data_bag named rackspace must be created with an item called cloud. \n * If you do not want to use the /root/.rsdns_config file to manage the credentials for root, skip the following section \n\n###Setting up the .raxrc file for automatic cloud login credentials for root\n####If you already have an encrypted_data_bag_secret file created and pushed out to your chef nodes\n* Create the new encrypted data_bag\nknife data bag create --secret-file <LOCATION/NAME OF SECRET FILE> rackspace cloud\n\n* Make the json file opened look like the following, then save and exit your editor:\n{\n \"id\": \"cloud\",\n \"raxusername\": \"<YOUR CLOUD SERVER USERNAME\",\n \"raxapikey\": \"<YOUR CLOUD SERVER API KEY\"\n}\n\n####If you are not currently using an encrypted_data_bag_secret file\n* Create a new secret file\nopenssl rand -base64 512 | tr -d '\\r\\n' > /tmp/my_data_bag_key\n\n* The /tmp/my_data_bag_key (or whatever you called it in the above step) needs to be pushed out to your chef nodes to /etc/chef/encrypted_data_bag_secret\n\n* Create the new encrypted data_bag\nknife data bag create --secret-file /tmp/my_data_bag_key rackspace cloud\n\n* Make the json file opened look like the following, then save and exit your editor:\n{\n \"id\": \"cloud\",\n \"raxusername\": \"<YOUR CLOUD SERVER USERNAME\",\n \"raxapikey\": \"<YOUR CLOUD SERVER API KEY\"\n}\n\nAttributes\n==========\nFrom encrypted data bag rackspace with item cloud:\n* ['raxusername']\n* ['raxapikey']\n\nUsage\n=====\n####Using the .rsdns_config file\n*Follow the steps under the Requirements section above to create the encrypted data bag for the .rsdns_config file\n* As root user you can manage your Rackspace Cloud DNS settings via the rsdns tools, see the description above for links to the documentation\n * If you do not set the .rsdns_config credentials, or you want to use rsdns from a non-root user, you can still access the Rackspace Cloud DNS API by -u and -a options on your rsdns commands\n\n#### Not using the .rsdns_config file\n* Do not create the rackspace cloud encrypted databag item\n* Access the Rackspace Cloud DNS API by using the -u and -a options on your rsdns commands\n* Export the path to rsdns with \"export RSPATH=/opt/rsdns\", or add the export command to your .bash_profile\n", @conflicting={}, @license="Apache 2.0", @version="0.0.4", @attributes={}, @cookbook=nil, @groupings={}, @suggestions={}, @maintainer_email="[email protected]", @name="rsdns", @replacing={}, @recommendations={}, @maintainer="Evan Ochs - Rackspace Hosting", @providing={"rsdns"=>">= 0.0.0"}, @description="Installs/Configures raxmon-cli">, @status=:ready, @template_filenames=["rsdns_config.erb"], @root_dir=nil, @couchdb_rev=nil, @recipe_filenames_by_name={"default"=>"default.rb"}, @name="rsdns", @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-20f0019c12cd51c2c81864f8dee91243?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=zJmKPM6pmvBF%2FfhCgDDfc%2FL22II%3D", "checksum"=>"20f0019c12cd51c2c81864f8dee91243", "path"=>"recipes/default.rb", "specificity"=>"default"}, "templates/default/rsdns_config.erb"=>{"name"=>"rsdns_config.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-b6a9f5275d4b9be136b9aa81727bcbee?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=cc1Ig0hiQJ37prtgB6vrIVNplak%3D", "checksum"=>"b6a9f5275d4b9be136b9aa81727bcbee", "path"=>"templates/default/rsdns_config.erb", "specificity"=>"default"}, "README.md"=>{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a193a3c658d8087ff75db9a1025840e2?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=jj%2FhDXLucl6tKm26oXTzWieTj4A%3D", "checksum"=>"a193a3c658d8087ff75db9a1025840e2", "path"=>"README.md", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-c1e5b17aa1e1ca22ad301046c701f406?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=vhe2oq7ZnkB6AOpnPMdRe5avPiw%3D", "checksum"=>"c1e5b17aa1e1ca22ad301046c701f406", "path"=>"metadata.rb", "specificity"=>"default"}, "attributes/default.rb"=>{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-0f967cb67f98d0fa7fc650069d8b965c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=hZxAfo9httl6OweluUYtjCKWukY%3D", "checksum"=>"0f967cb67f98d0fa7fc650069d8b965c", "path"=>"attributes/default.rb", "specificity"=>"default"}}, @provider_filenames=[], @recipe_filenames=["default.rb"], @file_vendor=nil, @manifest={"name"=>"rsdns-0.0.4", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "attributes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-0f967cb67f98d0fa7fc650069d8b965c?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=hZxAfo9httl6OweluUYtjCKWukY%3D", "checksum"=>"0f967cb67f98d0fa7fc650069d8b965c", "path"=>"attributes/default.rb", "specificity"=>"default"}], "files"=>[], "metadata"=>{"dependencies"=>{}, "name"=>"rsdns", "maintainer_email"=>"[email protected]", "attributes"=>{}, "license"=>"Apache 2.0", "suggestions"=>{}, "platforms"=>{}, "maintainer"=>"Evan Ochs - Rackspace Hosting", "long_description"=>"Description\n===========\n* Install the rsdns Rackspace Cloud DNS management scripts from github https://github.com/linickx/rsdns\n\n* Puts the scripts into /opt/rsdns, a symlink to the main rsdns script into /usr/local/bin so it's in the PATH, and creates a .rsdns_config file in /root with the username and api key to use\n\nRequirements\n============\n\n* A Rackspace cloud server username and api key to use the rsdns scripts\n\n* If you want automatic credentials added to the rsdns commands for the root user, an encrypted data_bag named rackspace must be created with an item called cloud. \n * If you do not want to use the /root/.rsdns_config file to manage the credentials for root, skip the following section \n\n###Setting up the .raxrc file for automatic cloud login credentials for root\n####If you already have an encrypted_data_bag_secret file created and pushed out to your chef nodes\n* Create the new encrypted data_bag\nknife data bag create --secret-file <LOCATION/NAME OF SECRET FILE> rackspace cloud\n\n* Make the json file opened look like the following, then save and exit your editor:\n{\n \"id\": \"cloud\",\n \"raxusername\": \"<YOUR CLOUD SERVER USERNAME\",\n \"raxapikey\": \"<YOUR CLOUD SERVER API KEY\"\n}\n\n####If you are not currently using an encrypted_data_bag_secret file\n* Create a new secret file\nopenssl rand -base64 512 | tr -d '\\r\\n' > /tmp/my_data_bag_key\n\n* The /tmp/my_data_bag_key (or whatever you called it in the above step) needs to be pushed out to your chef nodes to /etc/chef/encrypted_data_bag_secret\n\n* Create the new encrypted data_bag\nknife data bag create --secret-file /tmp/my_data_bag_key rackspace cloud\n\n* Make the json file opened look like the following, then save and exit your editor:\n{\n \"id\": \"cloud\",\n \"raxusername\": \"<YOUR CLOUD SERVER USERNAME\",\n \"raxapikey\": \"<YOUR CLOUD SERVER API KEY\"\n}\n\nAttributes\n==========\nFrom encrypted data bag rackspace with item cloud:\n* ['raxusername']\n* ['raxapikey']\n\nUsage\n=====\n####Using the .rsdns_config file\n*Follow the steps under the Requirements section above to create the encrypted data bag for the .rsdns_config file\n* As root user you can manage your Rackspace Cloud DNS settings via the rsdns tools, see the description above for links to the documentation\n * If you do not set the .rsdns_config credentials, or you want to use rsdns from a non-root user, you can still access the Rackspace Cloud DNS API by -u and -a options on your rsdns commands\n\n#### Not using the .rsdns_config file\n* Do not create the rackspace cloud encrypted databag item\n* Access the Rackspace Cloud DNS API by using the -u and -a options on your rsdns commands\n* Export the path to rsdns with \"export RSPATH=/opt/rsdns\", or add the export command to your .bash_profile\n", "version"=>"0.0.4", "recommendations"=>{}, "recipes"=>{"rsdns"=>""}, "groupings"=>{}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Installs/Configures raxmon-cli", "providing"=>{"rsdns"=>">= 0.0.0"}}, "providers"=>[], "cookbook_name"=>"rsdns", "resources"=>[], "templates"=>[{"name"=>"rsdns_config.erb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-b6a9f5275d4b9be136b9aa81727bcbee?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=cc1Ig0hiQJ37prtgB6vrIVNplak%3D", "checksum"=>"b6a9f5275d4b9be136b9aa81727bcbee", "path"=>"templates/default/rsdns_config.erb", "specificity"=>"default"}], "libraries"=>[], "version"=>"0.0.4", "recipes"=>[{"name"=>"default.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-20f0019c12cd51c2c81864f8dee91243?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=zJmKPM6pmvBF%2FfhCgDDfc%2FL22II%3D", "checksum"=>"20f0019c12cd51c2c81864f8dee91243", "path"=>"recipes/default.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"README.md", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-a193a3c658d8087ff75db9a1025840e2?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=jj%2FhDXLucl6tKm26oXTzWieTj4A%3D", "checksum"=>"a193a3c658d8087ff75db9a1025840e2", "path"=>"README.md", "specificity"=>"default"}, {"name"=>"metadata.rb", "url"=>"https://s3.amazonaws.com/opscode-platform-production-data/organization-2fb5532d62fb46508370483b2093c6c0/checksum-c1e5b17aa1e1ca22ad301046c701f406?AWSAccessKeyId=AKIAJOZTD2N26S7W6APA&Expires=1339430091&Signature=vhe2oq7ZnkB6AOpnPMdRe5avPiw%3D", "checksum"=>"c1e5b17aa1e1ca22ad301046c701f406", "path"=>"metadata.rb", "specificity"=>"default"}], "frozen?"=>false, "chef_type"=>"cookbook_version"}, @attribute_filenames=["default.rb"]>}
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbook apt
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/resources/preference.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/resources/repository.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/providers/preference.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/providers/repository.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/recipes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/recipes/cacher-client.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/recipes/cacher-ng.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/CONTRIBUTING, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/LICENSE, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/README.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/metadata.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/CHANGELOG.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/apt/metadata.json, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbook python
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/resources/pip.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/resources/virtualenv.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/providers/virtualenv.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/providers/pip.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/recipes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/recipes/package.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/recipes/source.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/recipes/pip.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/recipes/virtualenv.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/attributes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/CONTRIBUTING, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/LICENSE, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/README.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/metadata.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/CHANGELOG.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/python/metadata.json, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbook chef-client
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/recipes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/recipes/delete_validation.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/recipes/cron.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/recipes/config.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/recipes/service.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/attributes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/CONTRIBUTING, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/LICENSE, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/README.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/metadata.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/CHANGELOG.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/chef-client/metadata.json, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbook build-essential
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/build-essential/recipes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/build-essential/README.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/build-essential/metadata.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/build-essential/metadata.json, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbook autoetchosts
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/autoetchosts/recipes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/autoetchosts/README.rdoc, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/autoetchosts/metadata.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/autoetchosts/metadata.json, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbook users
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/resources/manage.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/providers/manage.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/recipes/sysadmins.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/CONTRIBUTING, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/LICENSE, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/README.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/metadata.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/CHANGELOG.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/users/metadata.json, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbook cloud_monitoring
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/resources/agent_token.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/resources/check.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/resources/alarm.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/resources/entity.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/providers/agent_token.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/providers/entity.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/providers/check.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/providers/alarm.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/recipes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/recipes/raxmon.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/libraries/cloud_monitoring.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/attributes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/README.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/cloud_monitoring/metadata.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Synchronizing cookbook rsdns
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/rsdns/recipes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/rsdns/attributes/default.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/rsdns/README.md, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Not storing cookbooks/rsdns/metadata.rb, as the cache is up to date.
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's library file: /var/chef/cache/cookbooks/cloud_monitoring/libraries/cloud_monitoring.rb
[2012-06-11T14:54:51+00:00] WARN: Missing gem 'rackspace-monitoring'
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook apt's providers from /var/chef/cache/cookbooks/apt/providers/preference.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/apt/providers/preference.rb into a provider named apt_preference defined in Chef::Provider::AptPreference
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook apt's providers from /var/chef/cache/cookbooks/apt/providers/repository.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/apt/providers/repository.rb into a provider named apt_repository defined in Chef::Provider::AptRepository
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook python's providers from /var/chef/cache/cookbooks/python/providers/virtualenv.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/python/providers/virtualenv.rb into a provider named python_virtualenv defined in Chef::Provider::PythonVirtualenv
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook python's providers from /var/chef/cache/cookbooks/python/providers/pip.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/python/providers/pip.rb into a provider named python_pip defined in Chef::Provider::PythonPip
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook users's providers from /var/chef/cache/cookbooks/users/providers/manage.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/users/providers/manage.rb into a provider named users_manage defined in Chef::Provider::UsersManage
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's providers from /var/chef/cache/cookbooks/cloud_monitoring/providers/agent_token.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/cloud_monitoring/providers/agent_token.rb into a provider named cloud_monitoring_agent_token defined in Chef::Provider::CloudMonitoringAgentToken
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's providers from /var/chef/cache/cookbooks/cloud_monitoring/providers/entity.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/cloud_monitoring/providers/entity.rb into a provider named cloud_monitoring_entity defined in Chef::Provider::CloudMonitoringEntity
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's providers from /var/chef/cache/cookbooks/cloud_monitoring/providers/check.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/cloud_monitoring/providers/check.rb into a provider named cloud_monitoring_check defined in Chef::Provider::CloudMonitoringCheck
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's providers from /var/chef/cache/cookbooks/cloud_monitoring/providers/alarm.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/cloud_monitoring/providers/alarm.rb into a provider named cloud_monitoring_alarm defined in Chef::Provider::CloudMonitoringAlarm
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook apt's resources from /var/chef/cache/cookbooks/apt/resources/preference.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/apt/resources/preference.rb into a resource named apt_preference defined in Chef::Resource::AptPreference
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook apt's resources from /var/chef/cache/cookbooks/apt/resources/repository.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/apt/resources/repository.rb into a resource named apt_repository defined in Chef::Resource::AptRepository
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook python's resources from /var/chef/cache/cookbooks/python/resources/pip.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/python/resources/pip.rb into a resource named python_pip defined in Chef::Resource::PythonPip
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook python's resources from /var/chef/cache/cookbooks/python/resources/virtualenv.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/python/resources/virtualenv.rb into a resource named python_virtualenv defined in Chef::Resource::PythonVirtualenv
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook users's resources from /var/chef/cache/cookbooks/users/resources/manage.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/users/resources/manage.rb into a resource named users_manage defined in Chef::Resource::UsersManage
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's resources from /var/chef/cache/cookbooks/cloud_monitoring/resources/agent_token.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/cloud_monitoring/resources/agent_token.rb into a resource named cloud_monitoring_agent_token defined in Chef::Resource::CloudMonitoringAgentToken
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's resources from /var/chef/cache/cookbooks/cloud_monitoring/resources/check.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/cloud_monitoring/resources/check.rb into a resource named cloud_monitoring_check defined in Chef::Resource::CloudMonitoringCheck
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's resources from /var/chef/cache/cookbooks/cloud_monitoring/resources/alarm.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/cloud_monitoring/resources/alarm.rb into a resource named cloud_monitoring_alarm defined in Chef::Resource::CloudMonitoringAlarm
[2012-06-11T14:54:51+00:00] DEBUG: Loading cookbook cloud_monitoring's resources from /var/chef/cache/cookbooks/cloud_monitoring/resources/entity.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loaded contents of /var/chef/cache/cookbooks/cloud_monitoring/resources/entity.rb into a resource named cloud_monitoring_entity defined in Chef::Resource::CloudMonitoringEntity
[2012-06-11T14:54:51+00:00] DEBUG: Node cmtest.linuxhorn.com loading cookbook python's attribute file /var/chef/cache/cookbooks/python/attributes/default.rb
[2012-06-11T14:54:51+00:00] DEBUG: Node cmtest.linuxhorn.com loading cookbook chef-client's attribute file /var/chef/cache/cookbooks/chef-client/attributes/default.rb
[2012-06-11T14:54:51+00:00] DEBUG: Node cmtest.linuxhorn.com loading cookbook cloud_monitoring's attribute file /var/chef/cache/cookbooks/cloud_monitoring/attributes/default.rb
[2012-06-11T14:54:51+00:00] DEBUG: Node cmtest.linuxhorn.com loading cookbook rsdns's attribute file /var/chef/cache/cookbooks/rsdns/attributes/default.rb
[2012-06-11T14:54:51+00:00] DEBUG: Loading Recipe apt via include_recipe
[2012-06-11T14:54:51+00:00] DEBUG: Found recipe default in cookbook apt
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Loading Recipe users::sysadmins via include_recipe
[2012-06-11T14:54:51+00:00] DEBUG: Found recipe sysadmins in cookbook users
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Loading Recipe chef-client via include_recipe
[2012-06-11T14:54:51+00:00] DEBUG: Found recipe default in cookbook chef-client
[2012-06-11T14:54:51+00:00] DEBUG: Loading Recipe chef-client::service via include_recipe
[2012-06-11T14:54:51+00:00] DEBUG: Found recipe service in cookbook chef-client
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Loading Recipe autoetchosts via include_recipe
[2012-06-11T14:54:51+00:00] DEBUG: Found recipe default in cookbook autoetchosts
[2012-06-11T14:54:51+00:00] DEBUG: Signing the request as cmtest.linuxhorn.com
[2012-06-11T14:54:51+00:00] DEBUG: String to sign: 'Method:GET
Hashed Path:wAntGS4H4txmYYxYMC1B3Y6XyVk=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2012-06-11T14:54:51Z
X-Ops-UserId:cmtest.linuxhorn.com'
Header hash: {"X-Ops-Content-Hash"=>"2jmj7l5rSw0yVb/vlWAYkK/YBwk=", "X-Ops-Authorization-1"=>"B6fpo5R9clSOaZP4gYOxFX+MrLaCyN7sGVdDClgx0cAOmhQjmku0BivCAufk", "X-Ops-Userid"=>"cmtest.linuxhorn.com", "X-Ops-Sign"=>"version=1.0", "X-Ops-Authorization-2"=>"g3kiQfermkNuW7UoyvpSkdooXwCNCG7WNElqiJFWhumurUIYi+75FOUzvv8I", "X-Ops-Authorization-3"=>"ZzIYkjSY3dxpMp8+7QpcgfhBIL5+DqAcSUa0QBFuIzr0y2dpewmzIG26mo8j", "X-Ops-Authorization-4"=>"PzhdEG61Dh/Njwd8u3lfGGturbSy+Xb1ZyIBTDdcRBalcEe3TJt6VjMMf/TU", "X-Ops-Authorization-5"=>"SmVQHwe2x142BtUd1SEVeLYHw1S4Wip2lH5v12r0i1dD2W5HvRSmj2YF3tP2", "X-Ops-Authorization-6"=>"MYbgnR2KUTGcCv7MyesQbXzrqnWU2DMRfR3EtdS60w==", "X-Ops-Timestamp"=>"2012-06-11T14:54:51Z"}
[2012-06-11T14:54:51+00:00] DEBUG: Sending HTTP Request via GET to api.opscode.com:443/organizations/evan4498/search/node
[2012-06-11T14:54:51+00:00] DEBUG: decompressing gzip response
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Loading Recipe cloud_monitoring via include_recipe
[2012-06-11T14:54:51+00:00] DEBUG: Found recipe default in cookbook cloud_monitoring
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] DEBUG: Platform debian not found, using all defaults. (Unsupported platform?)
[2012-06-11T14:54:51+00:00] INFO: Processing gem_package[rackspace-monitoring] action install (cloud_monitoring::default line 27)
[2012-06-11T14:54:51+00:00] DEBUG: gem_package[rackspace-monitoring] using gem from running ruby environment
[2012-06-11T14:54:51+00:00] DEBUG: gem_package[rackspace-monitoring] no installed version found for rackspace-monitoring (>= 0)
[2012-06-11T14:54:52+00:00] DEBUG: found gem rackspace-monitoring version 0.1.3 for platform ruby from http://rubygems.org/
Building native extensions. This could take a while...
[2012-06-11T14:54:57+00:00] ERROR: gem_package[rackspace-monitoring] (cloud_monitoring::default line 27) has had an error
[2012-06-11T14:54:57+00:00] ERROR: Running exception handlers
[2012-06-11T14:54:57+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2012-06-11T14:54:57+00:00] ERROR: Exception handlers complete
[2012-06-11T14:54:57+00:00] DEBUG: Re-raising exception: Gem::Installer::ExtensionBuildError - gem_package[rackspace-monitoring] (cloud_monitoring::default line 27) had an error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for libxml/parser.h... no
-----
libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.3 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.3/ext/nokogiri/gem_make.out
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:533:in `build_extensions'
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:486:in `each'
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:486:in `build_extensions'
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:159:in `install'
/usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:299:in `install'
/usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:270:in `each'
/usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:270:in `install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:169:in `install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:192:in `with_correct_verbosity'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:168:in `install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:103:in `with_gem_sources'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:167:in `install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:460:in `install_package'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package.rb:59:in `action_install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource.rb:454:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource.rb:454:in `run_action'
/var/chef/cache/cookbooks/cloud_monitoring/recipes/default.rb:32:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/language_include_recipe.rb:46:in `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/language_include_recipe.rb:33:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/run_context.rb:72:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/run_context.rb:69:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/run_context.rb:69:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:199:in `setup_run_context'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:162:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:57+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2012-06-11T14:54:57+00:00] DEBUG: Gem::Installer::ExtensionBuildError: gem_package[rackspace-monitoring] (cloud_monitoring::default line 27) had an error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for libxml/parser.h... no
-----
libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.3 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.3/ext/nokogiri/gem_make.out
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:533:in `build_extensions'
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:486:in `each'
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:486:in `build_extensions'
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:159:in `install'
/usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:299:in `install'
/usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:270:in `each'
/usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:270:in `install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:169:in `install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:192:in `with_correct_verbosity'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:168:in `install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:103:in `with_gem_sources'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:167:in `install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package/rubygems.rb:460:in `install_package'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/package.rb:59:in `action_install'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource.rb:454:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource.rb:454:in `run_action'
/var/chef/cache/cookbooks/cloud_monitoring/recipes/default.rb:32:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/language_include_recipe.rb:46:in `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/language_include_recipe.rb:33:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/run_context.rb:72:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/run_context.rb:69:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/run_context.rb:69:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:199:in `setup_run_context'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:162:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[2012-06-11T14:54:57+00:00] FATAL: Gem::Installer::ExtensionBuildError: gem_package[rackspace-monitoring] (cloud_monitoring::default line 27) had an error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for libxml/parser.h... no
-----
libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.3 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.3/ext/nokogiri/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment