Skip to content

Instantly share code, notes, and snippets.

@predominant
Created January 9, 2016 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save predominant/c38add95a33f8fc7cf3b to your computer and use it in GitHub Desktop.
Save predominant/c38add95a33f8fc7cf3b to your computer and use it in GitHub Desktop.
Chef-Server cookbook fail
😄 ~ cd chef-repo/cookbooks/r-chef-server/
😄 r-chef-server git:(feature/os-updates) ✗ kitchen list
Instance Driver Provisioner Verifier Transport Last Action
default-ubuntu-1404 Vagrant ChefZero Busser Ssh <Not Created>
default-ubuntu-1204 Vagrant ChefZero Busser Ssh <Not Created>
default-centos-71 Vagrant ChefZero Busser Ssh <Not Created>
default-centos-67 Vagrant ChefZero Busser Ssh <Not Created>
😄 r-chef-server git:(feature/os-updates) ✗ kitchen converge 1404 -l debug
-----> Starting Kitchen (v1.4.2)
D [Vagrant command] BEGIN (vagrant --version)
D [Vagrant command] END (0m0.16s)
D Berksfile found at /Users/graham.weldon/chef-repo/cookbooks/r-chef-server/Berksfile, loading Berkshelf
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: already initialized constant HTTPClient::CookieManager
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous definition of CookieManager was here
D Berkshelf 4.0.1 library loaded
D Berksfile found at /Users/graham.weldon/chef-repo/cookbooks/r-chef-server/Berksfile, loading Berkshelf
D Berkshelf 4.0.1 previously loaded
D Berksfile found at /Users/graham.weldon/chef-repo/cookbooks/r-chef-server/Berksfile, loading Berkshelf
D Berkshelf 4.0.1 previously loaded
D Berksfile found at /Users/graham.weldon/chef-repo/cookbooks/r-chef-server/Berksfile, loading Berkshelf
D Berkshelf 4.0.1 previously loaded
-----> Creating <default-ubuntu-1404>...
D <default-ubuntu-1404> is synchronizing on Kitchen::Driver::Vagrant#create
D <default-ubuntu-1404> is messaging Kitchen::Driver::Vagrant#create
D Creating Vagrantfile for <default-ubuntu-1404> (/Users/graham.weldon/chef-repo/cookbooks/r-chef-server/.kitchen/kitchen-vagrant/kitchen-r-chef-server-default-ubuntu-1404/Vagrantfile)
D ------------
D Vagrant.configure("2") do |c|
D c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
D c.vm.box = "opscode-ubuntu-14.04"
D c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box"
D c.vm.hostname = "default-ubuntu-1404"
D c.vm.synced_folder ".", "/vagrant", disabled: true
D c.vm.provider :virtualbox do |p|
D end
D end
D ------------
D [Vagrant command] BEGIN (vagrant up --no-provision --provider virtualbox)
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-14.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-r-chef-server-default-ubuntu-1404_default_1452317454552_27632
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.3.8
default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Machine not provisioned because `--no-provision` is specified.
D [Vagrant command] END (0m28.78s)
D [Vagrant command] BEGIN (vagrant ssh-config)
D [Vagrant command] END (0m1.73s)
D [SSH] opening connection to vagrant@127.0.0.1<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>"2222", :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/Users/graham.weldon/chef-repo/cookbooks/r-chef-server/.kitchen/kitchen-vagrant/kitchen-r-chef-server-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"], :auth_methods=>["publickey"]}>
D [SSH] vagrant@127.0.0.1<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>"2222", :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/Users/graham.weldon/chef-repo/cookbooks/r-chef-server/.kitchen/kitchen-vagrant/kitchen-r-chef-server-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"], :auth_methods=>["publickey"], :user=>"vagrant"}> (echo '[SSH] Established')
[SSH] Established
Vagrant instance <default-ubuntu-1404> created.
Finished creating <default-ubuntu-1404> (0m34.43s).
-----> Converging <default-ubuntu-1404>...
Preparing files for transfer
D Creating local sandbox in /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy
Preparing dna.json
D Creating dna.json from {:chef_zero_port=>18889, :run_list=>["recipe[r-chef-server::default]"]}
Resolving cookbook dependencies with Berkshelf 4.0.1...
D Using Berksfile from /Users/graham.weldon/chef-repo/cookbooks/r-chef-server/Berksfile
Removing non-cookbook files before transfer
Preparing validation.pem
D Using a dummy validation.pem
Preparing client.rb
D Creating client.rb from {:node_name=>"default-ubuntu-1404", :checksum_path=>"/tmp/kitchen/checksums", :file_cache_path=>"/tmp/kitchen/cache", :file_backup_path=>"/tmp/kitchen/backup", :cookbook_path=>["/tmp/kitchen/cookbooks", "/tmp/kitchen/site-cookbooks"], :data_bag_path=>"/tmp/kitchen/data_bags", :environment_path=>"/tmp/kitchen/environments", :node_path=>"/tmp/kitchen/nodes", :role_path=>"/tmp/kitchen/roles", :client_path=>"/tmp/kitchen/clients", :user_path=>"/tmp/kitchen/users", :validation_key=>"/tmp/kitchen/validation.pem", :client_key=>"/tmp/kitchen/client.pem", :chef_server_url=>"http://127.0.0.1:8889", :encrypted_data_bag_secret=>"/tmp/kitchen/encrypted_data_bag_secret"}
D [SSH] reusing existing connection vagrant@127.0.0.1<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>"2222", :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/Users/graham.weldon/chef-repo/cookbooks/r-chef-server/.kitchen/kitchen-vagrant/kitchen-r-chef-server-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"], :auth_methods=>["publickey"], :user=>"vagrant"}>
D [SSH] vagrant@127.0.0.1<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>"2222", :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/Users/graham.weldon/chef-repo/cookbooks/r-chef-server/.kitchen/kitchen-vagrant/kitchen-r-chef-server-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"], :auth_methods=>["publickey"], :user=>"vagrant"}> (sh -c '
chef_omnibus_root="/opt/chef"
chef_omnibus_url="https://www.chef.io/chef/install.sh"
install_flags=""
pretty_version="install only if missing"
sudo_sh="sudo -E sh"
version="true"
tmp_stderr="/tmp/stderr";
# capture_tmp_stderr SOURCE
capture_tmp_stderr() {
# spool up $tmp_stderr from all the commands we called
if test -f "$tmp_stderr"; then
output="`cat $tmp_stderr`";
stderr_results="${stderr_results}\nSTDERR from $1:\n\n${output}\n";
rm $tmp_stderr;
fi
}
# do_curl URL FILENAME
do_curl() {
echo "Trying curl...";
curl -sL -D "$tmp_stderr" "$1" > "$2";
ec=$?;
# check for 404
grep "404 Not Found" "$tmp_stderr" 2>&1 >/dev/null;
if test $? -eq 0; then
http_404_error "$1";
fi
# check for bad return status or empty output
if test $ec -ne 0 || test ! -s "$2"; then
capture_tmp_stderr "curl";
return 1;
else
echo "Download complete.";
return 0;
fi
}
# do_download URL FILENAME
do_download() {
echo "Downloading ${1} to file ${2}";
exists wget;
if test $? -eq 0; then
do_wget "$1" "$2" && return 0;
fi
exists curl;
if test $? -eq 0; then
do_curl "$1" "$2" && return 0;
fi
exists fetch;
if test $? -eq 0; then
do_fetch "$1" "$2" && return 0;
fi
exists python;
if test $? -eq 0; then
do_python "$1" "$2" && return 0;
fi
exists perl;
if test $? -eq 0; then
do_perl "$1" "$2" && return 0;
fi
unable_to_download "$1" "$2";
}
# do_fetch URL FILENAME
do_fetch() {
echo "Trying fetch...";
fetch -o "$2" "$1" 2>"$tmp_stderr";
ec=$?;
# check for 404
grep "Not Found" "$tmp_stderr" 2>&1 >/dev/null;
if test $? -eq 0; then
http_404_error "$1";
fi
# check for bad return status or empty output
if test $ec -ne 0 || test ! -s "$2"; then
capture_tmp_stderr "fetch";
return 1;
else
echo "Download complete.";
return 0;
fi
}
# do_perl URL FILENAME
do_perl() {
echo "Trying perl...";
perl -e "use LWP::Simple; getprint(\$ARGV[0]);" "$1" > "$2" 2>"$tmp_stderr";
ec=$?;
# check for 404
grep "404 Not Found" "$tmp_stderr" 2>&1 >/dev/null;
if test $? -eq 0; then
http_404_error "$1";
fi
# check for bad return status or empty output
if test $ec -ne 0 || test ! -s "$2"; then
capture_tmp_stderr "perl";
return 1;
else
echo "Download complete.";
return 0;
fi
}
# do_python URL FILENAME
do_python() {
echo "Trying python...";
python -c "import sys,urllib2 ; sys.stdout.write(urllib2.urlopen(sys.argv[1]).read())" "$1" > "$2" 2>"$tmp_stderr";
ec=$?;
# check for 404
grep "HTTP Error 404" "$tmp_stderr" 2>&1 >/dev/null;
if test $? -eq 0; then
http_404_error "$1";
fi
# check for bad return status or empty output
if test $ec -ne 0 || test ! -s "$2"; then
capture_tmp_stderr "python";
return 1;
else
echo "Download complete.";
return 0;
fi
}
# do_wget URL FILENAME
do_wget() {
echo "Trying wget...";
wget -O "$2" "$1" 2>"$tmp_stderr";
ec=$?;
# check for 404
grep "ERROR 404" "$tmp_stderr" 2>&1 >/dev/null;
if test $? -eq 0; then
http_404_error "$1";
fi
# check for bad return status or empty output
if test $ec -ne 0 || test ! -s "$2"; then
capture_tmp_stderr "wget";
return 1;
else
echo "Download complete.";
return 0;
fi
}
# exists COMMAND
exists() {
if command -v "$1" >/dev/null 2>&1; then
return 0;
else
return 1;
fi
}
# http_404_error URL
http_404_error() {
echo ">>>>>> Downloading ${1} resulted in an HTTP/404, aborting";
exit 40;
}
# should_update_chef ROOT VERSION
should_update_chef() {
if test ! -d "$1"; then
return 0;
elif test "$2" = "true"; then
return 1;
elif test "$2" = "latest"; then
return 0;
fi
if test -f "${1}/version-manifest.txt"; then
chef_version="`head -n 1 ${1}/version-manifest.txt | cut -d \" \" -f 2`";
else
chef_version="`${1}/bin/chef-solo -v | cut -d \" \" -f 2`";
fi
echo "$chef_version" | grep "^${2}" 2>&1 >/dev/null;
if test $? -eq 0; then
return 1;
else
echo "${2}" | grep "^$chef_version" 2>&1 >/dev/null;
if test $? -eq 0; then
return 1;
else
return 0;
fi
fi
}
# unable_to_download URL FILE
unable_to_download() {
echo "Unable to download $1 to $2, aborting";
if test "x${stderr_results}" != "x"; then
echo "\nDEBUG OUTPUT FOLLOWS:\n${stderr_results}";
fi
exit 10;
}
# main
main() {
should_update_chef "$chef_omnibus_root" "$version"
if test $? -eq 0; then
echo "-----> Installing Chef Omnibus (${pretty_version})";
# solaris 10 lacks recent enough credentials, so http url is used
platform="`/usr/bin/uname -s 2>/dev/null`";
platform_version="`/usr/bin/uname -r 2>/dev/null`";
if test "x${platform}" = "xSunOS" && test "x${platform_version}" = "x5.10"; then
chef_omnibus_url=`echo "$chef_omnibus_url" | sed -e "s/https/http/"`;
fi
do_download "$chef_omnibus_url" /tmp/install.sh;
$sudo_sh /tmp/install.sh $install_flags;
else
echo "-----> Chef Omnibus installation detected (${pretty_version})";
fi
}
# augment path in an attempt to find a download program
PATH="${PATH}:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/sfw/bin";
export PATH;
main
')
-----> Installing Chef Omnibus (install only if missing)
Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
Download complete.
Getting information for chef stable for ubuntu...
downloading https://omnitruck-direct.chef.io/stable/chef/metadata?v=&p=ubuntu&pv=14.04&m=x86_64
to file /tmp/install.sh.1381/metadata.txt
trying wget...
url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/14.04/x86_64/chef_12.6.0-1_amd64.deb
md5 5cfc19d5a036b3f7860716bc9795a85e
sha256 e0b42748daf55b5dab815a8ace1de06385db98e29a27ca916cb44f375ef65453
version 12.6.0downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/14.04/x86_64/chef_12.6.0-1_amd64.deb
to file /tmp/install.sh.1381/chef_12.6.0-1_amd64.deb
trying wget...
Comparing checksum with sha256sum...
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
You are installing an omnibus package without a version pin. If you are installing
on production servers via an automated process this is DANGEROUS and you will
be upgraded without warning on new releases, even to new major releases.
Letting the version float is only appropriate in desktop, test, development or
CI/CD environments.
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
Installing chef
installing with dpkg...
Selecting previously unselected package chef.
(Reading database ... 32352 files and directories currently installed.)
Preparing to unpack .../chef_12.6.0-1_amd64.deb ...
Unpacking chef (12.6.0-1) ...
Setting up chef (12.6.0-1) ...
Thank you for installing Chef!
D [SSH] vagrant@127.0.0.1<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>"2222", :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/Users/graham.weldon/chef-repo/cookbooks/r-chef-server/.kitchen/kitchen-vagrant/kitchen-r-chef-server-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"], :auth_methods=>["publickey"], :user=>"vagrant"}> (sh -c '
sudo_rm="sudo -E rm"
dirs="/tmp/kitchen/clients /tmp/kitchen/cookbooks /tmp/kitchen/data /tmp/kitchen/data_bags /tmp/kitchen/encrypted_data_bag_secret /tmp/kitchen/environments /tmp/kitchen/roles"
root_path="/tmp/kitchen"
$sudo_rm -rf $dirs
mkdir -p $root_path
')
Transferring files to <default-ubuntu-1404>
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/client.rb (619 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/attributes/default.rb (2282 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/files/default/15update-stamp (108 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/files/default/apt-proxy-v2.conf (1118 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/libraries/helpers.rb (1702 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/libraries/matchers.rb (553 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/libraries/network.rb (929 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/metadata.json (660 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/providers/preference.rb (2293 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/providers/repository.rb (7966 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/README.md (13176 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/recipes/cacher-client.rb (2799 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/recipes/cacher-ng.rb (1109 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/recipes/default.rb (3232 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/recipes/unattended-upgrades.rb (1349 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/resources/preference.rb (1121 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/resources/repository.rb (2188 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/templates/debian-6.0/acng.conf.erb (7877 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/templates/default/01proxy.erb (290 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/templates/default/10recommends.erb (184 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/templates/default/20auto-upgrades.erb (210 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/templates/default/50unattended-upgrades.erb (3258 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/templates/default/acng.conf.erb (13659 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/templates/default/unattended-upgrades.seed.erb (139 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb (13164 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt-chef/attributes/default.rb (2400 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt-chef/metadata.json (3108 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt-chef/README.md (2601 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt-chef/recipes/current.rb (902 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt-chef/recipes/default.rb (894 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/apt-chef/recipes/stable.rb (899 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb (2066 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/chef_ingredient_resource.rb (1630 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/chef_server_ingredient_shim.rb (1409 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/helpers.rb (9733 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb (1431 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/ingredient_config_resource.rb (1006 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/matchers.rb (2482 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/omnibus_service_provider.rb (1460 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/libraries/omnibus_service_resource.rb (1029 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/metadata.json (547 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-ingredient/README.md (5884 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-server/attributes/default.rb (1450 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-server/libraries/helpers.rb (610 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-server/metadata.json (561 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-server/README.md (8722 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-server/recipes/addons.rb (730 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/chef-server/recipes/default.rb (1391 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/attributes/default.rb (205 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/files/default/empty (0 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/libraries/empty (0 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/metadata.json (692 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/providers/empty (0 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/README.md (2609 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/recipes/default.rb (196 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/resources/empty (0 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/r-chef-server/templates/default/empty (0 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/attributes/main.rb (5548 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/libraries/matchers.rb (864 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/metadata.json (510 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/providers/globalconfig.rb (1010 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/providers/repository.rb (3952 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/README.md (12142 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/recipes/default.rb (884 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/resources/globalconfig.rb (6951 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/resources/repository.rb (3752 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/templates/default/main.erb (7505 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum/templates/default/repo.erb (2941 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum-chef/attributes/default.rb (2103 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum-chef/metadata.json (2418 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum-chef/README.md (1831 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum-chef/recipes/current.rb (1156 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum-chef/recipes/default.rb (999 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/cookbooks/yum-chef/recipes/stable.rb (1152 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/dna.json (70 bytes)
D Uploaded /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy/validation.pem (1679 bytes)
D Transfer complete
D [SSH] vagrant@127.0.0.1<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>"2222", :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/Users/graham.weldon/chef-repo/cookbooks/r-chef-server/.kitchen/kitchen-vagrant/kitchen-r-chef-server-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"], :auth_methods=>["publickey"], :user=>"vagrant"}> (sh -c '
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level debug --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
')
[2016-01-09T05:31:40+00:00] DEBUG: Sleeping for 0 seconds
[2016-01-09T05:31:40+00:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /tmp/kitchen, /tmp/kitchen
One version per cookbook
[2016-01-09T05:31:40+00:00] INFO: Forking chef instance to converge...
[2016-01-09T05:31:40+00:00] DEBUG: Fork successful. Waiting for new chef pid: 1485
[2016-01-09T05:31:40+00:00] DEBUG: Forked instance now converging
Starting Chef Client, version 12.6.0
[2016-01-09T05:31:40+00:00] INFO: *** Chef 12.6.0 ***
[2016-01-09T05:31:40+00:00] INFO: Chef-client pid: 1485
[2016-01-09T05:31:40+00:00] DEBUG: Chef-client request_id: 6ae2e18c-5250-43c8-92f3-7bb8bac82363
[2016-01-09T05:31:41+00:00] DEBUG: Parsing default via 10.0.2.2 dev eth0
[2016-01-09T05:31:41+00:00] DEBUG: Parsing 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15
[2016-01-09T05:31:41+00:00] DEBUG: default_interface set to eth0
[2016-01-09T05:31:41+00:00] DEBUG: default_gateway set to 10.0.2.2
[2016-01-09T05:31:41+00:00] DEBUG: Parsing fe80::/64 dev eth0 proto kernel metric 256
[2016-01-09T05:31:41+00:00] DEBUG: Unable to determine default inet6 interface
[2016-01-09T05:31:41+00:00] DEBUG: Plugin NetworkRoutes threw exception #<LoadError: cannot load such file -- sigar> /opt/chef/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/chef/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/sigar/network_route.rb:42:in `block (2 levels) in <main>'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:540:in `run_ohai'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
/opt/chef/bin/chef-client:54:in `load'
/opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:41+00:00] DEBUG: Plugin NetworkListeners threw exception #<LoadError: cannot load such file -- sigar> /opt/chef/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/chef/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/network_listeners.rb:25:in `block (2 levels) in <main>'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:540:in `run_ohai'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
/opt/chef/bin/chef-client:54:in `load'
/opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:41+00:00] DEBUG: [inet6] no default interface, picking the first ipaddress
[2016-01-09T05:31:41+00:00] DEBUG: No data to collect for plugin Drivers. Continuing...
[2016-01-09T05:31:41+00:00] DEBUG: Plugin Mono threw #<Errno::ENOENT: No such file or directory - mono>
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/mono.rb:29:in `block (2 levels) in <main>'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `load'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:41+00:00] DEBUG: Plugin Groovy threw #<Errno::ENOENT: No such file or directory - groovy>
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/groovy.rb:29:in `block (2 levels) in <main>'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:540:in `run_ohai'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `load'
[2016-01-09T05:31:41+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: Plugin PHP threw #<Errno::ENOENT: No such file or directory - php>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/php.rb:29:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: Plugin Go threw #<Errno::ENOENT: No such file or directory - go>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/go.rb:23:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `load'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: Plugin Lua threw #<Errno::ENOENT: No such file or directory - lua>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/lua.rb:29:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:540:in `run_ohai'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: Plugin Erlang threw #<Errno::ENOENT: No such file or directory - erl>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/erlang.rb:28:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: Plugin Java threw #<Errno::ENOENT: No such file or directory - java>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/java.rb:25:in `get_java_info'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/java.rb:68:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:540:in `run_ohai'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `load'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: No data to collect for plugin Powershell. Continuing...
[2016-01-09T05:31:42+00:00] DEBUG: Plugin Nodejs threw #<Errno::ENOENT: No such file or directory - node>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/nodejs.rb:29:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `load'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: Plugin Elixir threw #<Errno::ENOENT: No such file or directory - elixir>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/elixir.rb:25:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:540:in `run_ohai'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: Plugin Rust threw #<Errno::ENOENT: No such file or directory - rustc>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `exec'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:338:in `block in fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:316:in `fork_subprocess'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout/unix.rb:93:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:259:in `run_command'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/command.rb:33:in `shell_out'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/rust.rb:25:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `each'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:540:in `run_ohai'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:253:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `load'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: unexpected data line found before header; discarding:
Inactive
[2016-01-09T05:31:42+00:00] DEBUG: unexpected data line found before header; discarding:
Inactive
Inactive
OEM-specific Type
Header and Data:
80 08 08 00 C0 C6 2D 00
End Of Table
[2016-01-09T05:31:42+00:00] DEBUG: ip_scopes: cannot load gem, plugin disabled: cannot load such file -- ipaddr_extensions
[2016-01-09T05:31:42+00:00] DEBUG: has_ec2_mac? == false
[2016-01-09T05:31:42+00:00] DEBUG: looks_like_ec2? == false
[2016-01-09T05:31:42+00:00] DEBUG: Plugin GCE threw #<SocketError: getaddrinfo: Name or service not known>
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/gce_metadata.rb:30:in `pack_sockaddr_in'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/mixin/gce_metadata.rb:30:in `can_metadata_connect?'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/gce.rb:30:in `has_gce_metadata?'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/gce.rb:39:in `looks_like_gce?'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/plugins/gce.rb:43:in `block (2 levels) in <main>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:98:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:84:in `run_v7_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/runner.rb:43:in `run_plugin'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:98:in `block in run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:97:in `run_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.8.1/lib/ohai/system.rb:75:in `all_plugins'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
[2016-01-09T05:31:42+00:00] DEBUG: /opt/chef/bin/chef-client:54:in `<main>'
[2016-01-09T05:31:42+00:00] DEBUG: No data to collect for plugin SystemProfile. Continuing...
[2016-01-09T05:31:42+00:00] DEBUG: has_euca_mac? == false
[2016-01-09T05:31:42+00:00] DEBUG: has_euca_mac? == false
[2016-01-09T05:31:42+00:00] DEBUG: has_euca_mac? == false
[2016-01-09T05:31:42+00:00] DEBUG: looks_like_euca? == false
[2016-01-09T05:31:42+00:00] DEBUG: NOT ohai openstack
[2016-01-09T05:31:42+00:00] DEBUG: No hints present for azure.
[2016-01-09T05:31:42+00:00] DEBUG: No hints present for digital_ocean.
[2016-01-09T05:31:42+00:00] DEBUG: No data to collect for plugin Zpools. Continuing...
Creating a new client identity for default-ubuntu-1404 using the validator key.
[2016-01-09T05:31:42+00:00] INFO: Client key /tmp/kitchen/client.pem is not present - registering
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: #<ChefZero::RestRequest:0x00000002910008 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"POST", "PATH_INFO"=>"/clients", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000029100d0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:42+00:00] DEBUG: {"name":"default-ubuntu-1404","admin":false,"public_key":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuUvtiWO5r5bEJSzEYxpA\nxOheuTfIyX76YIbdm2KnMyih7j/ZB/Ad008aV0vwRHRVACIKZatNMIeh8sPlbu+v\ntqL8/DPr/AIFA5xyYPhFOm1r2vVA/+1zmmBujrlWV3NnY1lz4dRnSWMNvb80TENH\ndAG3FVRtC7OehuNhW19ztNis4ThKOUxLGA6zphM3eA14QNii7yUbComHDai+ItJZ\n0g7UQgD5V7MrTN8PBRvBFMIa1/QqdaXep6ppSRC9NoQSaN792u5GVWvw8C50fQH+\nibnwwaWxOwd24wydqiYJJCIaArgoD+bO7u/wEHfKHRVAdzI4dYsl2p6unFrQ0vPQ\nqQIDAQAB\n-----END PUBLIC KEY-----\n"}
[2016-01-09T05:31:42+00:00] DEBUG:
--- RESPONSE (201) ---
{
"uri": "chefzero://localhost:8889/clients/default-ubuntu-1404",
"public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuUvtiWO5r5bEJSzEYxpA\nxOheuTfIyX76YIbdm2KnMyih7j/ZB/Ad008aV0vwRHRVACIKZatNMIeh8sPlbu+v\ntqL8/DPr/AIFA5xyYPhFOm1r2vVA/+1zmmBujrlWV3NnY1lz4dRnSWMNvb80TENH\ndAG3FVRtC7OehuNhW19ztNis4ThKOUxLGA6zphM3eA14QNii7yUbComHDai+ItJZ\n0g7UQgD5V7MrTN8PBRvBFMIa1/QqdaXep6ppSRC9NoQSaN792u5GVWvw8C50fQH+\nibnwwaWxOwd24wydqiYJJCIaArgoD+bO7u/wEHfKHRVAdzI4dYsl2p6unFrQ0vPQ\nqQIDAQAB\n-----END PUBLIC KEY-----\n"
}
--- END RESPONSE ---
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Building node object for default-ubuntu-1404
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:42+00:00] DEBUG:
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/rest_base.rb:81:in `rescue in get_data'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/rest_base.rb:73:in `get_data'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/rest_base.rb:52:in `call'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/rest_router.rb:24:in `call'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/server.rb:634:in `block in app'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/server.rb:320:in `call'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/server.rb:320:in `handle_socketless_request'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/socketless_server_map.rb:87:in `request'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.4.0/lib/chef_zero/socketless_server_map.rb:33:in `request'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/http/socketless_chef_zero_client.rb:153:in `request'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/http.rb:275:in `block in send_http_request'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/http.rb:307:in `block in retrying_http_errors'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/http.rb:305:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/http.rb:305:in `retrying_http_errors'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/http.rb:269:in `send_http_request'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/http.rb:144:in `request'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/rest.rb:120:in `get'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/node.rb:598:in `load'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/node.rb:582:in `find_or_create'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/policy_builder/dynamic.rb:73:in `load_node'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:447:in `load_node'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/client.rb:257:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:261:in `block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:249:in `fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:215:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:203:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:413:in `block in interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:403:in `interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application/client.rb:393:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/lib/chef/application.rb:58:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/bin/chef-client:26:in `<top (required)>'
/opt/chef/bin/chef-client:54:in `load'
/opt/chef/bin/chef-client:54:in `<main>'
--- RESPONSE (404) ---
{"error":["Object not found: chefzero://localhost:8889/nodes/default-ubuntu-1404"]}
--- END RESPONSE ---
[2016-01-09T05:31:42+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2016-01-09T05:31:42+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/default-ubuntu-1404
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: {"name":"default-ubuntu-1404","chef_environment":"_default","json_class":"Chef::Node","automatic":{},"normal":{},"chef_type":"node","default":{},"override":{},"run_list":[]}
[2016-01-09T05:31:42+00:00] DEBUG:
--- RESPONSE (201) ---
{
"uri": "chefzero://localhost:8889/nodes/default-ubuntu-1404"
}
--- END RESPONSE ---
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response
[2016-01-09T05:31:42+00:00] INFO: Setting the run_list to ["recipe[r-chef-server::default]"] from CLI options
[2016-01-09T05:31:42+00:00] INFO: Run List is [recipe[r-chef-server::default]]
[2016-01-09T05:31:42+00:00] INFO: Run List expands to [r-chef-server::default]
[2016-01-09T05:31:42+00:00] INFO: Starting Chef Run for default-ubuntu-1404
[2016-01-09T05:31:42+00:00] INFO: Running start handlers
[2016-01-09T05:31:42+00:00] INFO: Start handlers complete.
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: #<ChefZero::RestRequest:0x00000002768160 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"POST", "PATH_INFO"=>"/reports/nodes/default-ubuntu-1404/runs", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000002768340>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:42+00:00] DEBUG: {"action":"start","run_id":"6ae2e18c-5250-43c8-92f3-7bb8bac82363","start_time":"2016-01-09 05:31:42 +0000"}
--- RESPONSE (404) ---
{
"error": [
"Object not found: "
]
}
--- END RESPONSE ---
[2016-01-09T05:31:42+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2016-01-09T05:31:42+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
[2016-01-09T05:31:42+00:00] DEBUG: Reporting error starting run. URL: reports/nodes/default-ubuntu-1404/runs Received 404. Disabling reporting for run.
[2016-01-09T05:31:42+00:00] DEBUG: Synchronizing cookbooks
resolving cookbooks for run list: ["r-chef-server::default"]
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:42+00:00] DEBUG: {"run_list":["r-chef-server::default"]}
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:42+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
{
"r-chef-server": {
"recipes": [
{
"name": "default.rb",
"path": "recipes/default.rb",
"checksum": "543c66780d474c81c51e4e8bba664786",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/recipes/default.rb"
}
],
"definitions": [
],
"libraries": [
],
"attributes": [
{
"name": "default.rb",
"checksum": "a49b13463517f90259bfb69b04f856fe",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/attributes/default.rb"
}
],
"files": [
{
"name": "empty",
"path": "files/default/empty",
"checksum": "d41d8cd98f00b204e9800998ecf8427e",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/files/default/empty"
}
],
"templates": [
{
"name": "empty",
"path": "templates/default/empty",
"checksum": "d41d8cd98f00b204e9800998ecf8427e",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/templates/default/empty"
}
],
"resources": [
],
"providers": [
],
"root_files": [
{
"name": "README.md",
"path": "README.md",
"checksum": "24c5144caf3fc2ae7f792abbdc6c292d",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/README.md"
},
{
"name": "metadata.json",
"path": "metadata.json",
"checksum": "0fac98547e181c781283bc6f0e23d1a6",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/metadata.json"
}
],
"metadata": {
"name": "r-chef-server",
"description": "Installs/Configures r-chef-server",
"maintainer": "Rakuten Global Operations",
"maintainer_email": "ops@rakops.com",
"license": "All rights reserved",
"platforms": {
"ubuntu": ">= 12.4.0",
"centos": ">= 6.4.0"
},
"dependencies": {
"chef-server": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
"r-chef-server": ">= 0.0.0"
},
"replacing": {
},
"groupings": {
},
"recipes": {
"r-chef-server::default": "Installs Chef Server",
"r-chef-server": ""
},
"version": "1.0.3",
"source_url": "",
"issues_url": "",
"privacy": false,
"chef_versions": [
],
"ohai_versions": [
]
},
"version": "1.0.3",
"name": "r-chef-server-1.0.3",
"cookbook_name": "r-chef-server",
"frozen?": false,
"chef_type": "cookbook_version",
"json_class": "Chef::CookbookVersion"
},
"chef-server": {
"recipes": [
{
"name": "addons.rb",
"path": "recipes/addons.rb",
"checksum": "61d3148e95ddb13325d3c0f1c2e2915c",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/recipes/addons.rb"
},
{
"name": "default.rb",
"path": "recipes/default.rb",
"checksum": "9d52a1c43d3c27c6c7406db1fcfd8231",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/recipes/default.rb"
}
],
"definitions": [
],
"libraries": [
{
"name": "helpers.rb",
"path": "libraries/helpers.rb",
"checksum": "ddfb3698816fab91ddeccb063f83ca0c",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/libraries/helpers.rb"
}
],
"attributes": [
{
"name": "default.rb",
"path": "attributes/default.rb",
"checksum": "4d9d0547c62721f33db4be04498893dd",
"specificity": "default",
}
],
"files": [
],
"templates": [
],
"resources": [
],
"providers": [
],
"root_files": [
{
"name": "README.md",
"path": "README.md",
"checksum": "c012115a2888af755265cb4daf050225",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/README.md"
},
{
"name": "metadata.json",
"path": "metadata.json",
"checksum": "be0330a0ad5b5c8e14887927046537fb",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/metadata.json"
}
],
"metadata": {
"name": "chef-server",
"description": "Installs and configures Chef Server 12",
"maintainer": "Chef Software, Inc.",
"maintainer_email": "cookbooks@chef.io",
"license": "Apache 2.0",
"platforms": {
"centos": ">= 0.0.0",
"ubuntu": ">= 0.0.0"
},
"dependencies": {
"chef-ingredient": ">= 0.11.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
"chef-server::addons": ">= 0.0.0",
"chef-server": ">= 0.0.0"
},
"replacing": {
},
"groupings": {
},
"recipes": {
"chef-server::addons": "",
"chef-server": ""
},
"version": "4.1.0",
"source_url": "",
"issues_url": "",
"privacy": false,
"chef_versions": [
],
"ohai_versions": [
]
},
"version": "4.1.0",
"name": "chef-server-4.1.0",
"cookbook_name": "chef-server",
"frozen?": false,
"chef_type": "cookbook_version",
"json_class": "Chef::CookbookVersion"
},
"chef-ingredient": {
"recipes": [
],
"definitions": [
],
"libraries": [
{
"name": "ingredient_config_provider.rb",
"path": "libraries/ingredient_config_provider.rb",
"checksum": "5a03b4af8da69f12195b406ebf8ea2f1",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb"
},
{
"name": "chef_server_ingredient_shim.rb",
"path": "libraries/chef_server_ingredient_shim.rb",
"checksum": "4886b7cffc4331cc0a1e0640461a4719",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_server_ingredient_shim.rb"
},
{
"name": "ingredient_config_resource.rb",
"path": "libraries/ingredient_config_resource.rb",
"checksum": "9f5ce96727362ee57a09f64cad5e0adb",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_resource.rb"
},
{
"name": "chef_ingredient_provider.rb",
"path": "libraries/chef_ingredient_provider.rb",
"checksum": "a1a55c123f0268d48a43624e9bf3d58b",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb"
},
{
"name": "helpers.rb",
"path": "libraries/helpers.rb",
"checksum": "9e71b3eadcd910bd06088b87a4fd87aa",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/helpers.rb"
},
{
"name": "omnibus_service_provider.rb",
"path": "libraries/omnibus_service_provider.rb",
"checksum": "393f24f7460f4bbebb569f41f9484fcc",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_provider.rb"
},
{
"name": "matchers.rb",
"path": "libraries/matchers.rb",
ecksum": "891e47207fbbe0e9af98c9da8cffe838",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/matchers.rb"
},
{
"name": "chef_ingredient_resource.rb",
"path": "libraries/chef_ingredient_resource.rb",
"checksum": "3418f6ad11715cd8bb20f0f1a2dbecb0",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_resource.rb"
},
{
"name": "omnibus_service_resource.rb",
"path": "libraries/omnibus_service_resource.rb",
"checksum": "5152077d53f8084760df8967d8ab8bc0",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_resource.rb"
}
],
"attributes": [
],
"files": [
],
"templates": [
],
"resources": [
],
"providers": [
],
"root_files": [
{
"name": "README.md",
"path": "README.md",
"checksum": "ea0db783845c5ad88b9fc68645dbed33",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/README.md"
},
{
"name": "metadata.json",
"path": "metadata.json",
"checksum": "7bd2a2facec5dd546363069504dd111d",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/metadata.json"
}
],
"metadata": {
"name": "chef-ingredient",
"description": "Primitives for managing Chef products and packages",
"maintainer": "Chef Software, Inc.",
"maintainer_email": "cookbooks@chef.io",
"license": "Apache 2.0",
"platforms": {
},
"dependencies": {
"apt-chef": ">= 0.0.0",
"yum-chef": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"groupings": {
},
"recipes": {
},
"version": "0.11.3",
"source_url": "",
"issues_url": "",
"privacy": false,
"chef_versions": [
],
"ohai_versions": [
]
},
"version": "0.11.3",
"name": "chef-ingredient-0.11.3",
"cookbook_name": "chef-ingredient",
"frozen?": false,
"chef_type": "cookbook_version",
"json_class": "Chef::CookbookVersion"
},
"apt-chef": {
"recipes": [
{
"path": "recipes/stable.rb",
"checksum": "083481792689d27cd15508fb3a41ff0d",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/stable.rb"
},
{
"name": "default.rb",
"path": "recipes/default.rb",
"checksum": "da75f08d69666fb2cfc30057af3a1337",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/default.rb"
},
{
"name": "current.rb",
"path": "recipes/current.rb",
"checksum": "4961287147b4a799dd7eb7bf0df3be3b",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/current.rb"
}
],
"definitions": [
],
"libraries": [
],
"attributes": [
{
"name": "default.rb",
"path": "attributes/default.rb",
"checksum": "e6299f273dbeecafb985d28d53f68551",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/attributes/default.rb"
}
],
"files": [
],
"templates": [
],
"resources": [
],
"providers": [
],
"root_files": [
{
"name": "README.md",
"path": "README.md",
"checksum": "882229cf072f99ca4edba5bfd3b7e0e8",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/README.md"
},
{
"name": "metadata.json",
"path": "metadata.json",
"checksum": "ad4541d1e933b8973224aa79611f42b2",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/metadata.json"
}
],
"metadata": {
"name": "apt-chef",
"description": "Configures apt repository for Chef Software, Inc. products",
"maintainer": "Chef Software, Inc.",
"maintainer_email": "cookbooks@chef.io",
"license": "Apache 2.0",
"platforms": {
"ubuntu": ">= 0.0.0"
},
"dependencies": {
"apt": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
"apt-chef::stable": ">= 0.0.0",
"apt-chef": ">= 0.0.0",
"apt-chef::current": ">= 0.0.0"
},
"replacing": {
},
"groupings": {
},
"recipes": {
"apt-chef::stable": "",
"apt-chef": "",
"apt-chef::current": ""
},
"version": "0.2.2",
"source_url": "",
"issues_url": "",
"privacy": false,
"chef_versions": [
],
"ohai_versions": [
]
},
"version": "0.2.2",
"name": "apt-chef-0.2.2",
"cookbook_name": "apt-chef",
"frozen?": false,
"chef_type": "cookbook_version",
"json_class": "Chef::CookbookVersion"
},
"yum-chef": {
"recipes": [
{
"name": "stable.rb",
"path": "recipes/stable.rb",
"checksum": "cab628d6ccd48f13591ce842ee970a4a",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/stable.rb"
},
{
"name": "default.rb",
"path": "recipes/default.rb",
"checksum": "2716b2354f9035a6f040dece4092cae8",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/default.rb"
},
{
"name": "current.rb",
"path": "recipes/current.rb",
"checksum": "ec47b09de0767aa2766c432fa6aec0ea",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/current.rb"
}
],
"definitions": [
],
"libraries": [
],
"attributes": [
{
"name": "default.rb",
fault.rb",
"checksum": "1eab213945c3f0309b5dc10f10f1ea42",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/attributes/default.rb"
}
],
"files": [
],
"templates": [
],
"resources": [
],
"providers": [
],
"root_files": [
{
"name": "README.md",
"path": "README.md",
"checksum": "6f3a9b6fac9c61d91f8bf95428bf9809",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/README.md"
},
{
"name": "metadata.json",
"path": "metadata.json",
"checksum": "ed2cb922499fcbca157119f0fdfee9b6",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/metadata.json"
}
],
"metadata": {
"name": "yum-chef",
"description": "Configures yum repository for Chef Software, Inc. products",
"maintainer": "Chef Software, Inc.",
"maintainer_email": "cookbooks@chef.io",
"license": "Apache 2.0",
"platforms": {
"amazon": ">= 0.0.0",
"centos": ">= 0.0.0",
"fedora": ">= 0.0.0",
"oracle": ">= 0.0.0",
"redhat": ">= 0.0.0",
"scientific": ">= 0.0.0"
},
"dependencies": {
"yum": ">= 3.2"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
"yum-chef::stable": ">= 0.0.0",
"yum-chef": ">= 0.0.0",
"yum-chef::current": ">= 0.0.0"
},
"replacing": {
},
"groupings": {
},
"recipes": {
"yum-chef::stable": "",
"yum-chef": "",
"yum-chef::current": ""
},
"version": "0.2.2",
"source_url": "",
"issues_url": "",
"privacy": false,
"chef_versions": [
],
"ohai_versions": [
]
},
"version": "0.2.2",
"name": "yum-chef-0.2.2",
"cookbook_name": "yum-chef",
"frozen?": false,
"chef_type": "cookbook_version",
"json_class": "Chef::CookbookVersion"
},
"apt": {
"recipes": [
{
"name": "cacher-client.rb",
"path": "recipes/cacher-client.rb",
"checksum": "9309d587b46d92393c4a923d46d16994",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/cacher-client.rb"
},
{
"name": "unattended-upgrades.rb",
"path": "recipes/unattended-upgrades.rb",
"checksum": "0a1e398c099510a122ba11288d1c392a",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/unattended-upgrades.rb"
},
{
"name": "default.rb",
"path": "recipes/default.rb",
"checksum": "b3c1f23dc1f98032cf36d40c2f7a7167",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/default.rb"
},
{
"name": "cacher-ng.rb",
"path": "recipes/cacher-ng.rb",
"checksum": "d33250d19785c3ad1fb9dbeccd03a3fe",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/cacher-ng.rb"
}
],
"definitions": [
],
"libraries": [
{
"name": "helpers.rb",
"path": "libraries/helpers.rb",
"checksum": "209d67d5323aa04242e9552a7bc94552",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/helpers.rb"
},
{
"name": "network.rb",
"path": "libraries/network.rb",
"checksum": "1a1b9bd023e84d5c1e369a623f411e9b",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/network.rb"
},
{
tchers.rb",
"path": "libraries/matchers.rb",
"checksum": "cdeb104d4aad86aa5d233ffde31467e3",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/matchers.rb"
}
],
"attributes": [
{
"name": "default.rb",
"path": "attributes/default.rb",
"checksum": "67396b808f43ce3ab7e031e8fd826715",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/attributes/default.rb"
}
],
"files": [
{
"name": "apt-proxy-v2.conf",
"path": "files/default/apt-proxy-v2.conf",
"checksum": "fdd69a59686e05653874bd7bba84adc3",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/files/default/apt-proxy-v2.conf"
},
{
"name": "15update-stamp",
"path": "files/default/15update-stamp",
"checksum": "b9de0ac9e2c9854b1bb213e362dc4e41",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/files/default/15update-stamp"
}
],
"templates": [
{
"name": "acng.conf.erb",
"path": "templates/debian-6.0/acng.conf.erb",
"checksum": "90a927da4827bafc52e8266952880006",
"specificity": "debian-6.0",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/debian-6.0/acng.conf.erb"
},
{
"name": "01proxy.erb",
"path": "templates/default/01proxy.erb",
"checksum": "3bd9dbec40e4bfb072fb97163acba08a",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/01proxy.erb"
},
{
"name": "50unattended-upgrades.erb",
"path": "templates/default/50unattended-upgrades.erb",
"checksum": "100c94c880f80d76fa6d461440781966",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/50unattended-upgrades.erb"
},
{
"name": "unattended-upgrades.seed.erb",
"path": "templates/default/unattended-upgrades.seed.erb",
"checksum": "e7b2494a57dc54c0df3e93beabf1f7a1",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/unattended-upgrades.seed.erb"
},
{
"name": "acng.conf.erb",
"path": "templates/default/acng.conf.erb",
"checksum": "797cfd1ea88e09090189557263025410",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/acng.conf.erb"
},
{
"name": "10recommends.erb",
"path": "templates/default/10recommends.erb",
"checksum": "8ccea01d9d5306901dc51457c6680701",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/10recommends.erb"
},
{
"name": "20auto-upgrades.erb",
"path": "templates/default/20auto-upgrades.erb",
"checksum": "362f31b2fbf624dc272a09c1129481de",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/20auto-upgrades.erb"
},
{
"name": "acng.conf.erb",
"path": "templates/ubuntu-10.04/acng.conf.erb",
"checksum": "b32d998cd4282cc158591f24c5f65816",
"specificity": "ubuntu-10.04",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb"
}
],
"resources": [
{
"name": "preference.rb",
"path": "resources/preference.rb",
"checksum": "5095fa7d8aff5ad50c4f4445d15221ff",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/resources/preference.rb"
},
{
"name": "repository.rb",
"path": "resources/repository.rb",
"checksum": "1187dc7a42171850b0b9acf192c66c68",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/resources/repository.rb"
}
],
"providers": [
{
"name": "preference.rb",
"path": "providers/preference.rb",
"checksum": "be2f372e58b4b9d502806c40b745d7e1",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/providers/preference.rb"
},
{
"name": "repository.rb",
"path": "providers/repository.rb",
"checksum": "cb65abd23f6453e627896cbe748c6818",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/providers/repository.rb"
}
],
"root_files": [
{
"name": "README.md",
"path": "README.md",
"checksum": "fa589cdd92a64a2428338913c689e1c6",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/README.md"
},
{
"name": "metadata.json",
"path": "metadata.json",
"checksum": "cac6ee8dcf384ce1b4de282a1609d5da",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/apt/metadata.json"
}
],
"metadata": {
"name": "apt",
"description": "Configures apt and apt services. Ships resources for managing apt repositories",
"maintainer": "Chef Software, Inc.",
"maintainer_email": "cookbooks@chef.io",
"license": "Apache 2.0",
"platforms": {
"ubuntu": ">= 0.0.0",
"debian": ">= 0.0.0"
},
"dependencies": {
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
"apt::cacher-client": ">= 0.0.0",
"apt::unattended-upgrades": ">= 0.0.0",
"apt": ">= 0.0.0",
"apt::cacher-ng": ">= 0.0.0"
},
"replacing": {
},
"groupings": {
},
"recipes": {
"apt::default": "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",
"apt::unattended-upgrades": "",
"apt": ""
},
"version": "2.9.2",
"source_url": "",
"issues_url": "",
"privacy": false,
"chef_versions": [
],
"ohai_versions": [
]
},
"version": "2.9.2",
"name": "apt-2.9.2",
"cookbook_name": "apt",
"frozen?": false,
"chef_type": "cookbook_version",
"json_class": "Chef::CookbookVersion"
},
"yum": {
"recipes": [
{
"name": "default.rb",
"path": "recipes/default.rb",
"checksum": "df06a1c7f6d3535855110f7077f1acca",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/recipes/default.rb"
}
],
"definitions": [
],
"libraries": [
{
"name": "matchers.rb",
"path": "libraries/matchers.rb",
"checksum": "8315818090e0de0469c5b4c9efc0875d",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/libraries/matchers.rb"
}
],
"attributes": [
{
"name": "main.rb",
"path": "attributes/main.rb",
"checksum": "4f208aff6a958ff56c59df042e504a93",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/attributes/main.rb"
}
],
"files": [
],
"templates": [
{
"name": "main.erb",
"path": "templates/default/main.erb",
"checksum": "ba21644510c5a99ac20d0da808510888",
"specificity": "default",
l": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/templates/default/main.erb"
},
{
"name": "repo.erb",
"path": "templates/default/repo.erb",
"checksum": "99b50ead88c791eb0e1920a3c57c7ac4",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/templates/default/repo.erb"
}
],
"resources": [
{
"name": "globalconfig.rb",
"path": "resources/globalconfig.rb",
"checksum": "2aa31202e0a1433e0e49aa9cca35fad0",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/resources/globalconfig.rb"
},
{
"name": "repository.rb",
"path": "resources/repository.rb",
"checksum": "2458744928344aa15d2e508f714aa27a",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/resources/repository.rb"
}
],
"providers": [
{
"name": "globalconfig.rb",
"path": "providers/globalconfig.rb",
"checksum": "0b8c5cbe327a14d1a5bf7f04e7cf46f5",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/providers/globalconfig.rb"
},
{
"name": "repository.rb",
"path": "providers/repository.rb",
"checksum": "2fd48b23ab84e6f6176ca78f385d1c5f",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/providers/repository.rb"
}
],
"root_files": [
{
"name": "README.md",
"path": "README.md",
"checksum": "6eaa13a8d1f82ae87f8c72fdb64a5b50",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/README.md"
},
{
"name": "metadata.json",
"path": "metadata.json",
"checksum": "deb345b3be9995174aba8e3c816a64ad",
"specificity": "default",
"url": "chefzero://localhost:8889/file_store/repo/cookbooks/yum/metadata.json"
}
],
"metadata": {
"name": "yum",
"description": "Configures various yum components on Red Hat-like systems",
"maintainer": "Chef Software, Inc.",
"maintainer_email": "cookbooks@chef.io",
"license": "Apache 2.0",
"platforms": {
"amazon": ">= 0.0.0",
"centos": ">= 0.0.0",
"fedora": ">= 0.0.0",
"oracle": ">= 0.0.0",
"redhat": ">= 0.0.0",
"scientific": ">= 0.0.0"
},
"dependencies": {
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
"yum": ">= 0.0.0"
},
"replacing": {
},
"groupings": {
},
"recipes": {
"yum": ""
},
"version": "3.8.2",
"source_url": "",
"issues_url": "",
"privacy": false,
"chef_versions": [
],
"ohai_versions": [
]
},
"version": "3.8.2",
"name": "yum-3.8.2",
"cookbook_name": "yum",
"frozen?": false,
"chef_type": "cookbook_version",
"json_class": "Chef::CookbookVersion"
}
}
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2016-01-09T05:31:43+00:00] INFO: Loading cookbooks [r-chef-server@1.0.3, chef-server@4.1.0, chef-ingredient@0.11.3, apt-chef@0.2.2, yum-chef@0.2.2, apt@2.9.2, yum@3.8.2]
[2016-01-09T05:31:43+00:00] DEBUG: Cookbooks detail: [#<Chef::CookbookVersion:0x00000004229058 @name="r-chef-server", @root_paths=[], @frozen=false, @attribute_filenames=["default.rb"], @definition_filenames=[], @template_filenames=["empty"], @file_filenames=["empty"], @recipe_filenames=["default.rb"], @recipe_filenames_by_name={"default"=>"default.rb"}, @library_filenames=[], @resource_filenames=[], @provider_filenames=[], @metadata_filenames=[], @root_filenames=["README.md", "metadata.json"], @status=:ready, @file_vendor=nil, @metadata=#<Chef::Cookbook::Metadata:0x00000004228770 @name="r-chef-server", @description="Installs/Configures r-chef-server", @long_description="", @license="All rights reserved", @maintainer="Rakuten Global Operations", @maintainer_email="ops@rakops.com", @platforms={"ubuntu"=>">= 12.4.0", "centos"=>">= 6.4.0"}, @dependencies={"chef-server"=>">= 0.0.0"}, @recommendations={}, @suggestions={}, @conflicting={}, @providing={"r-chef-server"=>">= 0.0.0"}, @replacing={}, @attributes={}, @groupings={}, @recipes={"r-chef-server::default"=>"Installs Chef Server", "r-chef-server"=>""}, @version="1.0.3", @source_url="", @issues_url="", @privacy=false, @chef_versions=[], @ohai_versions=[], @errors=[]>, @chef_server_rest=nil, @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @cookbook_manifest=#<Chef::CookbookManifest:0x0000000420b9e0 @cookbook_version=#<Chef::CookbookVersion:0x00000004229058 ...>, @policy_mode=false, @manifest={"recipes"=>[{"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"543c66780d474c81c51e4e8bba664786", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/recipes/default.rb"}], "definitions"=>[], "libraries"=>[], "attributes"=>[{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"a49b13463517f90259bfb69b04f856fe", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/attributes/default.rb"}], "files"=>[{"name"=>"empty", "path"=>"files/default/empty", "checksum"=>"d41d8cd98f00b204e9800998ecf8427e", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/files/default/empty"}], "templates"=>[{"name"=>"empty", "path"=>"templates/default/empty", "checksum"=>"d41d8cd98f00b204e9800998ecf8427e", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/templates/default/empty"}], "resources"=>[], "providers"=>[], "root_files"=>[{"name"=>"README.md", "path"=>"README.md", "checksum"=>"24c5144caf3fc2ae7f792abbdc6c292d", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/README.md"}, {"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"0fac98547e181c781283bc6f0e23d1a6", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/metadata.json"}], "metadata"=>{"name"=>"r-chef-server", "description"=>"Installs/Configures r-chef-server", "long_description"=>"", "maintainer"=>"Rakuten Global Operations", "maintainer_email"=>"ops@rakops.com", "license"=>"All rights reserved", "platforms"=>{"ubuntu"=>">= 12.4.0", "centos"=>">= 6.4.0"}, "dependencies"=>{"chef-server"=>">= 0.0.0"}, "recommendations"=>{}, "suggestions"=>{}, "conflicting"=>{}, "providing"=>{"r-chef-server"=>">= 0.0.0"}, "replacing"=>{}, "attributes"=>{}, "groupings"=>{}, "recipes"=>{"r-chef-server::default"=>"Installs Chef Server", "r-chef-server"=>""}, "version"=>"1.0.3", "source_url"=>"", "issues_url"=>"", "privacy"=>false, "chef_versions"=>[], "ohai_versions"=>[]}, "version"=>"1.0.3", "name"=>"r-chef-server-1.0.3", "cookbook_name"=>"r-chef-server", "frozen?"=>false, "chef_type"=>"cookbook_version", "json_class"=>"Chef::CookbookVersion"}, @checksums={"543c66780d474c81c51e4e8bba664786"=>nil, "a49b13463517f90259bfb69b04f856fe"=>nil, "d41d8cd98f00b204e9800998ecf8427e"=>nil, "24c5144caf3fc2ae7f792abbdc6c292d"=>nil, "0fac98547e181c781283bc6f0e23d1a6"=>nil}, @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"543c66780d474c81c51e4e8bba664786", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/recipes/default.rb"}, "attributes/default.rb"=>{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"a49b13463517f90259bfb69b04f856fe", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/attributes/default.rb"}, "files/default/empty"=>{"name"=>"empty", "path"=>"files/default/empty", "checksum"=>"d41d8cd98f00b204e9800998ecf8427e", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/files/default/empty"}, "templates/default/empty"=>{"name"=>"empty", "path"=>"templates/default/empty", "checksum"=>"d41d8cd98f00b204e9800998ecf8427e", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/templates/default/empty"}, "README.md"=>{"name"=>"README.md", "path"=>"README.md", "checksum"=>"24c5144caf3fc2ae7f792abbdc6c292d", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/README.md"}, "metadata.json"=>{"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"0fac98547e181c781283bc6f0e23d1a6", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/metadata.json"}}>>, #<Chef::CookbookVersion:0x00000004203308 @name="chef-server", @root_paths=[], @frozen=false, @attribute_filenames=["default.rb"], @definition_filenames=[], @template_filenames=[], @file_filenames=[], @recipe_filenames=["addons.rb", "default.rb"], @recipe_filenames_by_name={"addons"=>"addons.rb", "default"=>"default.rb"}, @library_filenames=["helpers.rb"], @resource_filenames=[], @provider_filenames=[], @metadata_filenames=[], @root_filenames=["README.md", "metadata.json"], @status=:ready, @file_vendor=nil, @metadata=#<Chef::Cookbook::Metadata:0x00000004202980 @name="chef-server", @description="Installs and configures Chef Server 12", @long_description="", @license="Apache 2.0", @maintainer="Chef Software, Inc.", @maintainer_email="cookbooks@chef.io", @platforms={"centos"=>">= 0.0.0", "ubuntu"=>">= 0.0.0"}, @dependencies={"chef-ingredient"=>">= 0.11.0"}, @recommendations={}, @suggestions={}, @conflicting={}, @providing={"chef-server::addons"=>">= 0.0.0", "chef-server"=>">= 0.0.0"}, @replacing={}, @attributes={}, @groupings={}, @recipes={"chef-server::addons"=>"", "chef-server"=>""}, @version="4.1.0", @source_url="", @issues_url="", @privacy=false, @chef_versions=[], @ohai_versions=[], @errors=[]>, @chef_server_rest=nil, @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @cookbook_manifest=#<Chef::CookbookManifest:0x00000004201bc0 @cookbook_version=#<Chef::CookbookVersion:0x00000004203308 ...>, @policy_mode=false, @manifest={"recipes"=>[{"name"=>"addons.rb", "path"=>"recipes/addons.rb", "checksum"=>"61d3148e95ddb13325d3c0f1c2e2915c", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/recipes/addons.rb"}, {"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"9d52a1c43d3c27c6c7406db1fcfd8231", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/recipes/default.rb"}], "definitions"=>[], "libraries"=>[{"name"=>"helpers.rb", "path"=>"libraries/helpers.rb", "checksum"=>"ddfb3698816fab91ddeccb063f83ca0c", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/libraries/helpers.rb"}], "attributes"=>[{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"4d9d0547c62721f33db4be04498893dd", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/attributes/default.rb"}], "files"=>[], "templates"=>[], "resources"=>[], "providers"=>[], "root_files"=>[{"name"=>"README.md", "path"=>"README.md", "checksum"=>"c012115a2888af755265cb4daf050225", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/README.md"}, {"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"be0330a0ad5b5c8e14887927046537fb", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/metadata.json"}], "metadata"=>{"name"=>"chef-server", "description"=>"Installs and configures Chef Server 12", "long_description"=>"", "maintainer"=>"Chef Software, Inc.", "maintainer_email"=>"cookbooks@chef.io", "license"=>"Apache 2.0", "platforms"=>{"centos"=>">= 0.0.0", "ubuntu"=>">= 0.0.0"}, "dependencies"=>{"chef-ingredient"=>">= 0.11.0"}, "recommendations"=>{}, "suggestions"=>{}, "conflicting"=>{}, "providing"=>{"chef-server::addons"=>">= 0.0.0", "chef-server"=>">= 0.0.0"}, "replacing"=>{}, "attributes"=>{}, "groupings"=>{}, "recipes"=>{"chef-server::addons"=>"", "chef-server"=>""}, "version"=>"4.1.0", "source_url"=>"", "issues_url"=>"", "privacy"=>false, "chef_versions"=>[], "ohai_versions"=>[]}, "version"=>"4.1.0", "name"=>"chef-server-4.1.0", "cookbook_name"=>"chef-server", "frozen?"=>false, "chef_type"=>"cookbook_version", "json_class"=>"Chef::CookbookVersion"}, @checksums={"61d3148e95ddb13325d3c0f1c2e2915c"=>nil, "9d52a1c43d3c27c6c7406db1fcfd8231"=>nil, "ddfb3698816fab91ddeccb063f83ca0c"=>nil, "4d9d0547c62721f33db4be04498893dd"=>nil, "c012115a2888af755265cb4daf050225"=>nil, "be0330a0ad5b5c8e14887927046537fb"=>nil}, @manifest_records_by_path={"recipes/addons.rb"=>{"name"=>"addons.rb", "path"=>"recipes/addons.rb", "checksum"=>"61d3148e95ddb13325d3c0f1c2e2915c", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/recipes/addons.rb"}, "recipes/default.rb"=>{"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"9d52a1c43d3c27c6c7406db1fcfd8231", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/recipes/default.rb"}, "libraries/helpers.rb"=>{"name"=>"helpers.rb", "path"=>"libraries/helpers.rb", "checksum"=>"ddfb3698816fab91ddeccb063f83ca0c", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/libraries/helpers.rb"}, "attributes/default.rb"=>{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"4d9d0547c62721f33db4be04498893dd", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/attributes/default.rb"}, "README.md"=>{"name"=>"README.md", "path"=>"README.md", "checksum"=>"c012115a2888af755265cb4daf050225", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/README.md"}, "metadata.json"=>{"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"be0330a0ad5b5c8e14887927046537fb", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/metadata.json"}}>>, #<Chef::CookbookVersion:0x000000041e1f00 @name="chef-ingredient", @root_paths=[], @frozen=false, @attribute_filenames=[], @definition_filenames=[], @template_filenames=[], @file_filenames=[], @recipe_filenames=[], @recipe_filenames_by_name={}, @library_filenames=["ingredient_config_provider.rb", "chef_server_ingredient_shim.rb", "ingredient_config_resource.rb", "chef_ingredient_provider.rb", "helpers.rb", "omnibus_service_provider.rb", "matchers.rb", "chef_ingredient_resource.rb", "omnibus_service_resource.rb"], @resource_filenames=[], @provider_filenames=[], @metadata_filenames=[], @root_filenames=["README.md", "metadata.json"], @status=:ready, @file_vendor=nil, @metadata=#<Chef::Cookbook::Metadata:0x000000041e1690 @name="chef-ingredient", @description="Primitives for managing Chef products and packages", @long_description="", @license="Apache 2.0", @maintainer="Chef Software, Inc.", @maintainer_email="cookbooks@chef.io", @platforms={}, @dependencies={"apt-chef"=>">= 0.0.0", "yum-chef"=>">= 0.0.0"}, @recommendations={}, @suggestions={}, @conflicting={}, @providing={}, @replacing={}, @attributes={}, @groupings={}, @recipes={}, @version="0.11.3", @source_url="", @issues_url="", @privacy=false, @chef_versions=[], @ohai_versions=[], @errors=[]>, @chef_server_rest=nil, @attribute_filenames_by_short_filename={}, @cookbook_manifest=#<Chef::CookbookManifest:0x000000041e08d0 @cookbook_version=#<Chef::CookbookVersion:0x000000041e1f00 ...>, @policy_mode=false, @manifest={"recipes"=>[], "definitions"=>[], "libraries"=>[{"name"=>"ingredient_config_provider.rb", "path"=>"libraries/ingredient_config_provider.rb", "checksum"=>"5a03b4af8da69f12195b406ebf8ea2f1", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb"}, {"name"=>"chef_server_ingredient_shim.rb", "path"=>"libraries/chef_server_ingredient_shim.rb", "checksum"=>"4886b7cffc4331cc0a1e0640461a4719", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_server_ingredient_shim.rb"}, {"name"=>"ingredient_config_resource.rb", "path"=>"libraries/ingredient_config_resource.rb", "checksum"=>"9f5ce96727362ee57a09f64cad5e0adb", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_resource.rb"}, {"name"=>"chef_ingredient_provider.rb", "path"=>"libraries/chef_ingredient_provider.rb", "checksum"=>"a1a55c123f0268d48a43624e9bf3d58b", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb"}, {"name"=>"helpers.rb", "path"=>"libraries/helpers.rb", "checksum"=>"9e71b3eadcd910bd06088b87a4fd87aa", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/helpers.rb"}, {"name"=>"omnibus_service_provider.rb", "path"=>"libraries/omnibus_service_provider.rb", "checksum"=>"393f24f7460f4bbebb569f41f9484fcc", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_provider.rb"}, {"name"=>"matchers.rb", "path"=>"libraries/matchers.rb", "checksum"=>"891e47207fbbe0e9af98c9da8cffe838", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/matchers.rb"}, {"name"=>"chef_ingredient_resource.rb", "path"=>"libraries/chef_ingredient_resource.rb", "checksum"=>"3418f6ad11715cd8bb20f0f1a2dbecb0", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_resource.rb"}, {"name"=>"omnibus_service_resource.rb", "path"=>"libraries/omnibus_service_resource.rb", "checksum"=>"5152077d53f8084760df8967d8ab8bc0", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_resource.rb"}], "attributes"=>[], "files"=>[], "templates"=>[], "resources"=>[], "providers"=>[], "root_files"=>[{"name"=>"README.md", "path"=>"README.md", "checksum"=>"ea0db783845c5ad88b9fc68645dbed33", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/README.md"}, {"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"7bd2a2facec5dd546363069504dd111d", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/metadata.json"}], "metadata"=>{"name"=>"chef-ingredient", "description"=>"Primitives for managing Chef products and packages", "long_description"=>"", "maintainer"=>"Chef Software, Inc.", "maintainer_email"=>"cookbooks@chef.io", "license"=>"Apache 2.0", "platforms"=>{}, "dependencies"=>{"apt-chef"=>">= 0.0.0", "yum-chef"=>">= 0.0.0"}, "recommendations"=>{}, "suggestions"=>{}, "conflicting"=>{}, "providing"=>{}, "replacing"=>{}, "attributes"=>{}, "groupings"=>{}, "recipes"=>{}, "version"=>"0.11.3", "source_url"=>"", "issues_url"=>"", "privacy"=>false, "chef_versions"=>[], "ohai_versions"=>[]}, "version"=>"0.11.3", "name"=>"chef-ingredient-0.11.3", "cookbook_name"=>"chef-ingredient", "frozen?"=>false, "chef_type"=>"cookbook_version", "json_class"=>"Chef::CookbookVersion"}, @checksums={"5a03b4af8da69f12195b406ebf8ea2f1"=>nil, "4886b7cffc4331cc0a1e0640461a4719"=>nil, "9f5ce96727362ee57a09f64cad5e0adb"=>nil, "a1a55c123f0268d48a43624e9bf3d58b"=>nil, "9e71b3eadcd910bd06088b87a4fd87aa"=>nil, "393f24f7460f4bbebb569f41f9484fcc"=>nil, "891e47207fbbe0e9af98c9da8cffe838"=>nil, "3418f6ad11715cd8bb20f0f1a2dbecb0"=>nil, "5152077d53f8084760df8967d8ab8bc0"=>nil, "ea0db783845c5ad88b9fc68645dbed33"=>nil, "7bd2a2facec5dd546363069504dd111d"=>nil}, @manifest_records_by_path={"libraries/ingredient_config_provider.rb"=>{"name"=>"ingredient_config_provider.rb", "path"=>"libraries/ingredient_config_provider.rb", "checksum"=>"5a03b4af8da69f12195b406ebf8ea2f1", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb"}, "libraries/chef_server_ingredient_shim.rb"=>{"name"=>"chef_server_ingredient_shim.rb", "path"=>"libraries/chef_server_ingredient_shim.rb", "checksum"=>"4886b7cffc4331cc0a1e0640461a4719", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_server_ingredient_shim.rb"}, "libraries/ingredient_config_resource.rb"=>{"name"=>"ingredient_config_resource.rb", "path"=>"libraries/ingredient_config_resource.rb", "checksum"=>"9f5ce96727362ee57a09f64cad5e0adb", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_resource.rb"}, "libraries/chef_ingredient_provider.rb"=>{"name"=>"chef_ingredient_provider.rb", "path"=>"libraries/chef_ingredient_provider.rb", "checksum"=>"a1a55c123f0268d48a43624e9bf3d58b", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb"}, "libraries/helpers.rb"=>{"name"=>"helpers.rb", "path"=>"libraries/helpers.rb", "checksum"=>"9e71b3eadcd910bd06088b87a4fd87aa", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/helpers.rb"}, "libraries/omnibus_service_provider.rb"=>{"name"=>"omnibus_service_provider.rb", "path"=>"libraries/omnibus_service_provider.rb", "checksum"=>"393f24f7460f4bbebb569f41f9484fcc", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_provider.rb"}, "libraries/matchers.rb"=>{"name"=>"matchers.rb", "path"=>"libraries/matchers.rb", "checksum"=>"891e47207fbbe0e9af98c9da8cffe838", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/matchers.rb"}, "libraries/chef_ingredient_resource.rb"=>{"name"=>"chef_ingredient_resource.rb", "path"=>"libraries/chef_ingredient_resource.rb", "checksum"=>"3418f6ad11715cd8bb20f0f1a2dbecb0", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_resource.rb"}, "libraries/omnibus_service_resource.rb"=>{"name"=>"omnibus_service_resource.rb", "path"=>"libraries/omnibus_service_resource.rb", "checksum"=>"5152077d53f8084760df8967d8ab8bc0", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_resource.rb"}, "README.md"=>{"name"=>"README.md", "path"=>"README.md", "checksum"=>"ea0db783845c5ad88b9fc68645dbed33", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/README.md"}, "metadata.json"=>{"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"7bd2a2facec5dd546363069504dd111d", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/metadata.json"}}>>, #<Chef::CookbookVersion:0x000000041d4e90 @name="apt-chef", @root_paths=[], @frozen=false, @attribute_filenames=["default.rb"], @definition_filenames=[], @template_filenames=[], @file_filenames=[], @recipe_filenames=["stable.rb", "default.rb", "current.rb"], @recipe_filenames_by_name={"stable"=>"stable.rb", "default"=>"default.rb", "current"=>"current.rb"}, @library_filenames=[], @resource_filenames=[], @provider_filenames=[], @metadata_filenames=[], @root_filenames=["README.md", "metadata.json"], @status=:ready, @file_vendor=nil, @metadata=#<Chef::Cookbook::Metadata:0x000000041d45d0 @name="apt-chef", @description="Configures apt repository for Chef Software, Inc. products", @long_description="", @license="Apache 2.0", @maintainer="Chef Software, Inc.", @maintainer_email="cookbooks@chef.io", @platforms={"ubuntu"=>">= 0.0.0"}, @dependencies={"apt"=>">= 0.0.0"}, @recommendations={}, @suggestions={}, @conflicting={}, @providing={"apt-chef::stable"=>">= 0.0.0", "apt-chef"=>">= 0.0.0", "apt-chef::current"=>">= 0.0.0"}, @replacing={}, @attributes={}, @groupings={}, @recipes={"apt-chef::stable"=>"", "apt-chef"=>"", "apt-chef::current"=>""}, @version="0.2.2", @source_url="", @issues_url="", @privacy=false, @chef_versions=[], @ohai_versions=[], @errors=[]>, @chef_server_rest=nil, @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @cookbook_manifest=#<Chef::CookbookManifest:0x000000041c7a10 @cookbook_version=#<Chef::CookbookVersion:0x000000041d4e90 ...>, @policy_mode=false, @manifest={"recipes"=>[{"name"=>"stable.rb", "path"=>"recipes/stable.rb", "checksum"=>"083481792689d27cd15508fb3a41ff0d", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/stable.rb"}, {"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"da75f08d69666fb2cfc30057af3a1337", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/default.rb"}, {"name"=>"current.rb", "path"=>"recipes/current.rb", "checksum"=>"4961287147b4a799dd7eb7bf0df3be3b", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/current.rb"}], "definitions"=>[], "libraries"=>[], "attributes"=>[{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"e6299f273dbeecafb985d28d53f68551", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/attributes/default.rb"}], "files"=>[], "templates"=>[], "resources"=>[], "providers"=>[], "root_files"=>[{"name"=>"README.md", "path"=>"README.md", "checksum"=>"882229cf072f99ca4edba5bfd3b7e0e8", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/README.md"}, {"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"ad4541d1e933b8973224aa79611f42b2", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/metadata.json"}], "metadata"=>{"name"=>"apt-chef", "description"=>"Configures apt repository for Chef Software, Inc. products", "long_description"=>"", "maintainer"=>"Chef Software, Inc.", "maintainer_email"=>"cookbooks@chef.io", "license"=>"Apache 2.0", "platforms"=>{"ubuntu"=>">= 0.0.0"}, "dependencies"=>{"apt"=>">= 0.0.0"}, "recommendations"=>{}, "suggestions"=>{}, "conflicting"=>{}, "providing"=>{"apt-chef::stable"=>">= 0.0.0", "apt-chef"=>">= 0.0.0", "apt-chef::current"=>">= 0.0.0"}, "replacing"=>{}, "attributes"=>{}, "groupings"=>{}, "recipes"=>{"apt-chef::stable"=>"", "apt-chef"=>"", "apt-chef::current"=>""}, "version"=>"0.2.2", "source_url"=>"", "issues_url"=>"", "privacy"=>false, "chef_versions"=>[], "ohai_versions"=>[]}, "version"=>"0.2.2", "name"=>"apt-chef-0.2.2", "cookbook_name"=>"apt-chef", "frozen?"=>false, "chef_type"=>"cookbook_version", "json_class"=>"Chef::CookbookVersion"}, @checksums={"083481792689d27cd15508fb3a41ff0d"=>nil, "da75f08d69666fb2cfc30057af3a1337"=>nil, "4961287147b4a799dd7eb7bf0df3be3b"=>nil, "e6299f273dbeecafb985d28d53f68551"=>nil, "882229cf072f99ca4edba5bfd3b7e0e8"=>nil, "ad4541d1e933b8973224aa79611f42b2"=>nil}, @manifest_records_by_path={"recipes/stable.rb"=>{"name"=>"stable.rb", "path"=>"recipes/stable.rb", "checksum"=>"083481792689d27cd15508fb3a41ff0d", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/stable.rb"}, "recipes/default.rb"=>{"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"da75f08d69666fb2cfc30057af3a1337", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/default.rb"}, "recipes/current.rb"=>{"name"=>"current.rb", "path"=>"recipes/current.rb", "checksum"=>"4961287147b4a799dd7eb7bf0df3be3b", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/current.rb"}, "attributes/default.rb"=>{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"e6299f273dbeecafb985d28d53f68551", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/attributes/default.rb"}, "README.md"=>{"name"=>"README.md", "path"=>"README.md", "checksum"=>"882229cf072f99ca4edba5bfd3b7e0e8", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/README.md"}, "metadata.json"=>{"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"ad4541d1e933b8973224aa79611f42b2", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/metadata.json"}}>>, #<Chef::CookbookVersion:0x000000041a1c98 @name="yum-chef", @root_paths=[], @frozen=false, @attribute_filenames=["default.rb"], @definition_filenames=[], @template_filenames=[], @file_filenames=[], @recipe_filenames=["stable.rb", "default.rb", "current.rb"], @recipe_filenames_by_name={"stable"=>"stable.rb", "default"=>"default.rb", "current"=>"current.rb"}, @library_filenames=[], @resource_filenames=[], @provider_filenames=[], @metadata_filenames=[], @root_filenames=["README.md", "metadata.json"], @status=:ready, @file_vendor=nil, @metadata=#<Chef::Cookbook::Metadata:0x000000041a0a50 @name="yum-chef", @description="Configures yum repository for Chef Software, Inc. products", @long_description="", @license="Apache 2.0", @maintainer="Chef Software, Inc.", @maintainer_email="cookbooks@chef.io", @platforms={"amazon"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "oracle"=>">= 0.0.0", "redhat"=>">= 0.0.0", "scientific"=>">= 0.0.0"}, @dependencies={"yum"=>">= 3.2"}, @recommendations={}, @suggestions={}, @conflicting={}, @providing={"yum-chef::stable"=>">= 0.0.0", "yum-chef"=>">= 0.0.0", "yum-chef::current"=>">= 0.0.0"}, @replacing={}, @attributes={}, @groupings={}, @recipes={"yum-chef::stable"=>"", "yum-chef"=>"", "yum-chef::current"=>""}, @version="0.2.2", @source_url="", @issues_url="", @privacy=false, @chef_versions=[], @ohai_versions=[], @errors=[]>, @chef_server_rest=nil, @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @cookbook_manifest=#<Chef::CookbookManifest:0x0000000419f9c0 @cookbook_version=#<Chef::CookbookVersion:0x000000041a1c98 ...>, @policy_mode=false, @manifest={"recipes"=>[{"name"=>"stable.rb", "path"=>"recipes/stable.rb", "checksum"=>"cab628d6ccd48f13591ce842ee970a4a", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/stable.rb"}, {"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"2716b2354f9035a6f040dece4092cae8", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/default.rb"}, {"name"=>"current.rb", "path"=>"recipes/current.rb", "checksum"=>"ec47b09de0767aa2766c432fa6aec0ea", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/current.rb"}], "definitions"=>[], "libraries"=>[], "attributes"=>[{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"1eab213945c3f0309b5dc10f10f1ea42", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/attributes/default.rb"}], "files"=>[], "templates"=>[], "resources"=>[], "providers"=>[], "root_files"=>[{"name"=>"README.md", "path"=>"README.md", "checksum"=>"6f3a9b6fac9c61d91f8bf95428bf9809", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/README.md"}, {"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"ed2cb922499fcbca157119f0fdfee9b6", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/metadata.json"}], "metadata"=>{"name"=>"yum-chef", "description"=>"Configures yum repository for Chef Software, Inc. products", "long_description"=>"", "maintainer"=>"Chef Software, Inc.", "maintainer_email"=>"cookbooks@chef.io", "license"=>"Apache 2.0", "platforms"=>{"amazon"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "oracle"=>">= 0.0.0", "redhat"=>">= 0.0.0", "scientific"=>">= 0.0.0"}, "dependencies"=>{"yum"=>">= 3.2"}, "recommendations"=>{}, "suggestions"=>{}, "conflicting"=>{}, "providing"=>{"yum-chef::stable"=>">= 0.0.0", "yum-chef"=>">= 0.0.0", "yum-chef::current"=>">= 0.0.0"}, "replacing"=>{}, "attributes"=>{}, "groupings"=>{}, "recipes"=>{"yum-chef::stable"=>"", "yum-chef"=>"", "yum-chef::current"=>""}, "version"=>"0.2.2", "source_url"=>"", "issues_url"=>"", "privacy"=>false, "chef_versions"=>[], "ohai_versions"=>[]}, "version"=>"0.2.2", "name"=>"yum-chef-0.2.2", "cookbook_name"=>"yum-chef", "frozen?"=>false, "chef_type"=>"cookbook_version", "json_class"=>"Chef::CookbookVersion"}, @checksums={"cab628d6ccd48f13591ce842ee970a4a"=>nil, "2716b2354f9035a6f040dece4092cae8"=>nil, "ec47b09de0767aa2766c432fa6aec0ea"=>nil, "1eab213945c3f0309b5dc10f10f1ea42"=>nil, "6f3a9b6fac9c61d91f8bf95428bf9809"=>nil, "ed2cb922499fcbca157119f0fdfee9b6"=>nil}, @manifest_records_by_path={"recipes/stable.rb"=>{"name"=>"stable.rb", "path"=>"recipes/stable.rb", "checksum"=>"cab628d6ccd48f13591ce842ee970a4a", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/stable.rb"}, "recipes/default.rb"=>{"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"2716b2354f9035a6f040dece4092cae8", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/default.rb"}, "recipes/current.rb"=>{"name"=>"current.rb", "path"=>"recipes/current.rb", "checksum"=>"ec47b09de0767aa2766c432fa6aec0ea", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/current.rb"}, "attributes/default.rb"=>{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"1eab213945c3f0309b5dc10f10f1ea42", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/attributes/default.rb"}, "README.md"=>{"name"=>"README.md", "path"=>"README.md", "checksum"=>"6f3a9b6fac9c61d91f8bf95428bf9809", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/README.md"}, "metadata.json"=>{"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"ed2cb922499fcbca157119f0fdfee9b6", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/metadata.json"}}>>, #<Chef::CookbookVersion:0x0000000418f4a8 @name="apt", @root_paths=[], @frozen=false, @attribute_filenames=["default.rb"], @definition_filenames=[], @template_filenames=["acng.conf.erb", "01proxy.erb", "50unattended-upgrades.erb", "unattended-upgrades.seed.erb", "acng.conf.erb", "10recommends.erb", "20auto-upgrades.erb", "acng.conf.erb"], @file_filenames=["apt-proxy-v2.conf", "15update-stamp"], @recipe_filenames=["cacher-client.rb", "unattended-upgrades.rb", "default.rb", "cacher-ng.rb"], @recipe_filenames_by_name={"cacher-client"=>"cacher-client.rb", "unattended-upgrades"=>"unattended-upgrades.rb", "default"=>"default.rb", "cacher-ng"=>"cacher-ng.rb"}, @library_filenames=["helpers.rb", "network.rb", "matchers.rb"], @resource_filenames=["preference.rb", "repository.rb"], @provider_filenames=["preference.rb", "repository.rb"], @metadata_filenames=[], @root_filenames=["README.md", "metadata.json"], @status=:ready, @file_vendor=nil, @metadata=#<Chef::Cookbook::Metadata:0x0000000418eb48 @name="apt", @description="Configures apt and apt services. Ships resources for managing apt repositories", @long_description="", @license="Apache 2.0", @maintainer="Chef Software, Inc.", @maintainer_email="cookbooks@chef.io", @platforms={"ubuntu"=>">= 0.0.0", "debian"=>">= 0.0.0"}, @dependencies={}, @recommendations={}, @suggestions={}, @conflicting={}, @providing={"apt::cacher-client"=>">= 0.0.0", "apt::unattended-upgrades"=>">= 0.0.0", "apt"=>">= 0.0.0", "apt::cacher-ng"=>">= 0.0.0"}, @replacing={}, @attributes={}, @groupings={}, @recipes={"apt::default"=>"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", "apt::unattended-upgrades"=>"", "apt"=>""}, @version="2.9.2", @source_url="", @issues_url="", @privacy=false, @chef_versions=[], @ohai_versions=[], @errors=[]>, @chef_server_rest=nil, @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @cookbook_manifest=#<Chef::CookbookManifest:0x0000000418d2e8 @cookbook_version=#<Chef::CookbookVersion:0x0000000418f4a8 ...>, @policy_mode=false, @manifest={"recipes"=>[{"name"=>"cacher-client.rb", "path"=>"recipes/cacher-client.rb", "checksum"=>"9309d587b46d92393c4a923d46d16994", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/cacher-client.rb"}, {"name"=>"unattended-upgrades.rb", "path"=>"recipes/unattended-upgrades.rb", "checksum"=>"0a1e398c099510a122ba11288d1c392a", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/unattended-upgrades.rb"}, {"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"b3c1f23dc1f98032cf36d40c2f7a7167", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/default.rb"}, {"name"=>"cacher-ng.rb", "path"=>"recipes/cacher-ng.rb", "checksum"=>"d33250d19785c3ad1fb9dbeccd03a3fe", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/cacher-ng.rb"}], "definitions"=>[], "libraries"=>[{"name"=>"helpers.rb", "path"=>"libraries/helpers.rb", "checksum"=>"209d67d5323aa04242e9552a7bc94552", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/helpers.rb"}, {"name"=>"network.rb", "path"=>"libraries/network.rb", "checksum"=>"1a1b9bd023e84d5c1e369a623f411e9b", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/network.rb"}, {"name"=>"matchers.rb", "path"=>"libraries/matchers.rb", "checksum"=>"cdeb104d4aad86aa5d233ffde31467e3", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/matchers.rb"}], "attributes"=>[{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"67396b808f43ce3ab7e031e8fd826715", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/attributes/default.rb"}], "files"=>[{"name"=>"apt-proxy-v2.conf", "path"=>"files/default/apt-proxy-v2.conf", "checksum"=>"fdd69a59686e05653874bd7bba84adc3", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/files/default/apt-proxy-v2.conf"}, {"name"=>"15update-stamp", "path"=>"files/default/15update-stamp", "checksum"=>"b9de0ac9e2c9854b1bb213e362dc4e41", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/files/default/15update-stamp"}], "templates"=>[{"name"=>"acng.conf.erb", "path"=>"templates/debian-6.0/acng.conf.erb", "checksum"=>"90a927da4827bafc52e8266952880006", "specificity"=>"debian-6.0", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/debian-6.0/acng.conf.erb"}, {"name"=>"01proxy.erb", "path"=>"templates/default/01proxy.erb", "checksum"=>"3bd9dbec40e4bfb072fb97163acba08a", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/01proxy.erb"}, {"name"=>"50unattended-upgrades.erb", "path"=>"templates/default/50unattended-upgrades.erb", "checksum"=>"100c94c880f80d76fa6d461440781966", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/50unattended-upgrades.erb"}, {"name"=>"unattended-upgrades.seed.erb", "path"=>"templates/default/unattended-upgrades.seed.erb", "checksum"=>"e7b2494a57dc54c0df3e93beabf1f7a1", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/unattended-upgrades.seed.erb"}, {"name"=>"acng.conf.erb", "path"=>"templates/default/acng.conf.erb", "checksum"=>"797cfd1ea88e09090189557263025410", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/acng.conf.erb"}, {"name"=>"10recommends.erb", "path"=>"templates/default/10recommends.erb", "checksum"=>"8ccea01d9d5306901dc51457c6680701", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/10recommends.erb"}, {"name"=>"20auto-upgrades.erb", "path"=>"templates/default/20auto-upgrades.erb", "checksum"=>"362f31b2fbf624dc272a09c1129481de", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/20auto-upgrades.erb"}, {"name"=>"acng.conf.erb", "path"=>"templates/ubuntu-10.04/acng.conf.erb", "checksum"=>"b32d998cd4282cc158591f24c5f65816", "specificity"=>"ubuntu-10.04", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb"}], "resources"=>[{"name"=>"preference.rb", "path"=>"resources/preference.rb", "checksum"=>"5095fa7d8aff5ad50c4f4445d15221ff", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/resources/preference.rb"}, {"name"=>"repository.rb", "path"=>"resources/repository.rb", "checksum"=>"1187dc7a42171850b0b9acf192c66c68", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/resources/repository.rb"}], "providers"=>[{"name"=>"preference.rb", "path"=>"providers/preference.rb", "checksum"=>"be2f372e58b4b9d502806c40b745d7e1", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/providers/preference.rb"}, {"name"=>"repository.rb", "path"=>"providers/repository.rb", "checksum"=>"cb65abd23f6453e627896cbe748c6818", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/providers/repository.rb"}], "root_files"=>[{"name"=>"README.md", "path"=>"README.md", "checksum"=>"fa589cdd92a64a2428338913c689e1c6", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/README.md"}, {"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"cac6ee8dcf384ce1b4de282a1609d5da", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/metadata.json"}], "metadata"=>{"name"=>"apt", "description"=>"Configures apt and apt services. Ships resources for managing apt repositories", "long_description"=>"", "maintainer"=>"Chef Software, Inc.", "maintainer_email"=>"cookbooks@chef.io", "license"=>"Apache 2.0", "platforms"=>{"ubuntu"=>">= 0.0.0", "debian"=>">= 0.0.0"}, "dependencies"=>{}, "recommendations"=>{}, "suggestions"=>{}, "conflicting"=>{}, "providing"=>{"apt::cacher-client"=>">= 0.0.0", "apt::unattended-upgrades"=>">= 0.0.0", "apt"=>">= 0.0.0", "apt::cacher-ng"=>">= 0.0.0"}, "replacing"=>{}, "attributes"=>{}, "groupings"=>{}, "recipes"=>{"apt::default"=>"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", "apt::unattended-upgrades"=>"", "apt"=>""}, "version"=>"2.9.2", "source_url"=>"", "issues_url"=>"", "privacy"=>false, "chef_versions"=>[], "ohai_versions"=>[]}, "version"=>"2.9.2", "name"=>"apt-2.9.2", "cookbook_name"=>"apt", "frozen?"=>false, "chef_type"=>"cookbook_version", "json_class"=>"Chef::CookbookVersion"}, @checksums={"5095fa7d8aff5ad50c4f4445d15221ff"=>nil, "1187dc7a42171850b0b9acf192c66c68"=>nil, "be2f372e58b4b9d502806c40b745d7e1"=>nil, "cb65abd23f6453e627896cbe748c6818"=>nil, "9309d587b46d92393c4a923d46d16994"=>nil, "0a1e398c099510a122ba11288d1c392a"=>nil, "b3c1f23dc1f98032cf36d40c2f7a7167"=>nil, "d33250d19785c3ad1fb9dbeccd03a3fe"=>nil, "209d67d5323aa04242e9552a7bc94552"=>nil, "1a1b9bd023e84d5c1e369a623f411e9b"=>nil, "cdeb104d4aad86aa5d233ffde31467e3"=>nil, "67396b808f43ce3ab7e031e8fd826715"=>nil, "fdd69a59686e05653874bd7bba84adc3"=>nil, "b9de0ac9e2c9854b1bb213e362dc4e41"=>nil, "90a927da4827bafc52e8266952880006"=>nil, "3bd9dbec40e4bfb072fb97163acba08a"=>nil, "100c94c880f80d76fa6d461440781966"=>nil, "e7b2494a57dc54c0df3e93beabf1f7a1"=>nil, "797cfd1ea88e09090189557263025410"=>nil, "8ccea01d9d5306901dc51457c6680701"=>nil, "362f31b2fbf624dc272a09c1129481de"=>nil, "b32d998cd4282cc158591f24c5f65816"=>nil, "fa589cdd92a64a2428338913c689e1c6"=>nil, "cac6ee8dcf384ce1b4de282a1609d5da"=>nil}, @manifest_records_by_path={"resources/preference.rb"=>{"name"=>"preference.rb", "path"=>"resources/preference.rb", "checksum"=>"5095fa7d8aff5ad50c4f4445d15221ff", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/resources/preference.rb"}, "resources/repository.rb"=>{"name"=>"repository.rb", "path"=>"resources/repository.rb", "checksum"=>"1187dc7a42171850b0b9acf192c66c68", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/resources/repository.rb"}, "providers/preference.rb"=>{"name"=>"preference.rb", "path"=>"providers/preference.rb", "checksum"=>"be2f372e58b4b9d502806c40b745d7e1", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/providers/preference.rb"}, "providers/repository.rb"=>{"name"=>"repository.rb", "path"=>"providers/repository.rb", "checksum"=>"cb65abd23f6453e627896cbe748c6818", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/providers/repository.rb"}, "recipes/cacher-client.rb"=>{"name"=>"cacher-client.rb", "path"=>"recipes/cacher-client.rb", "checksum"=>"9309d587b46d92393c4a923d46d16994", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/cacher-client.rb"}, "recipes/unattended-upgrades.rb"=>{"name"=>"unattended-upgrades.rb", "path"=>"recipes/unattended-upgrades.rb", "checksum"=>"0a1e398c099510a122ba11288d1c392a", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/unattended-upgrades.rb"}, "recipes/default.rb"=>{"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"b3c1f23dc1f98032cf36d40c2f7a7167", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/default.rb"}, "recipes/cacher-ng.rb"=>{"name"=>"cacher-ng.rb", "path"=>"recipes/cacher-ng.rb", "checksum"=>"d33250d19785c3ad1fb9dbeccd03a3fe", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/cacher-ng.rb"}, "libraries/helpers.rb"=>{"name"=>"helpers.rb", "path"=>"libraries/helpers.rb", "checksum"=>"209d67d5323aa04242e9552a7bc94552", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/helpers.rb"}, "libraries/network.rb"=>{"name"=>"network.rb", "path"=>"libraries/network.rb", "checksum"=>"1a1b9bd023e84d5c1e369a623f411e9b", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/network.rb"}, "libraries/matchers.rb"=>{"name"=>"matchers.rb", "path"=>"libraries/matchers.rb", "checksum"=>"cdeb104d4aad86aa5d233ffde31467e3", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/matchers.rb"}, "attributes/default.rb"=>{"name"=>"default.rb", "path"=>"attributes/default.rb", "checksum"=>"67396b808f43ce3ab7e031e8fd826715", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/attributes/default.rb"}, "files/default/apt-proxy-v2.conf"=>{"name"=>"apt-proxy-v2.conf", "path"=>"files/default/apt-proxy-v2.conf", "checksum"=>"fdd69a59686e05653874bd7bba84adc3", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/files/default/apt-proxy-v2.conf"}, "files/default/15update-stamp"=>{"name"=>"15update-stamp", "path"=>"files/default/15update-stamp", "checksum"=>"b9de0ac9e2c9854b1bb213e362dc4e41", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/files/default/15update-stamp"}, "templates/debian-6.0/acng.conf.erb"=>{"name"=>"acng.conf.erb", "path"=>"templates/debian-6.0/acng.conf.erb", "checksum"=>"90a927da4827bafc52e8266952880006", "specificity"=>"debian-6.0", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/debian-6.0/acng.conf.erb"}, "templates/default/01proxy.erb"=>{"name"=>"01proxy.erb", "path"=>"templates/default/01proxy.erb", "checksum"=>"3bd9dbec40e4bfb072fb97163acba08a", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/01proxy.erb"}, "templates/default/50unattended-upgrades.erb"=>{"name"=>"50unattended-upgrades.erb", "path"=>"templates/default/50unattended-upgrades.erb", "checksum"=>"100c94c880f80d76fa6d461440781966", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/50unattended-upgrades.erb"}, "templates/default/unattended-upgrades.seed.erb"=>{"name"=>"unattended-upgrades.seed.erb", "path"=>"templates/default/unattended-upgrades.seed.erb", "checksum"=>"e7b2494a57dc54c0df3e93beabf1f7a1", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/unattended-upgrades.seed.erb"}, "templates/default/acng.conf.erb"=>{"name"=>"acng.conf.erb", "path"=>"templates/default/acng.conf.erb", "checksum"=>"797cfd1ea88e09090189557263025410", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/acng.conf.erb"}, "templates/default/10recommends.erb"=>{"name"=>"10recommends.erb", "path"=>"templates/default/10recommends.erb", "checksum"=>"8ccea01d9d5306901dc51457c6680701", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/10recommends.erb"}, "templates/default/20auto-upgrades.erb"=>{"name"=>"20auto-upgrades.erb", "path"=>"templates/default/20auto-upgrades.erb", "checksum"=>"362f31b2fbf624dc272a09c1129481de", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/20auto-upgrades.erb"}, "templates/ubuntu-10.04/acng.conf.erb"=>{"name"=>"acng.conf.erb", "path"=>"templates/ubuntu-10.04/acng.conf.erb", "checksum"=>"b32d998cd4282cc158591f24c5f65816", "specificity"=>"ubuntu-10.04", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb"}, "README.md"=>{"name"=>"README.md", "path"=>"README.md", "checksum"=>"fa589cdd92a64a2428338913c689e1c6", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/README.md"}, "metadata.json"=>{"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"cac6ee8dcf384ce1b4de282a1609d5da", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/apt/metadata.json"}}>>, #<Chef::CookbookVersion:0x00000004163060 @name="yum", @root_paths=[], @frozen=false, @attribute_filenames=["main.rb"], @definition_filenames=[], @template_filenames=["main.erb", "repo.erb"], @file_filenames=[], @recipe_filenames=["default.rb"], @recipe_filenames_by_name={"default"=>"default.rb"}, @library_filenames=["matchers.rb"], @resource_filenames=["globalconfig.rb", "repository.rb"], @provider_filenames=["globalconfig.rb", "repository.rb"], @metadata_filenames=[], @root_filenames=["README.md", "metadata.json"], @status=:ready, @file_vendor=nil, @metadata=#<Chef::Cookbook::Metadata:0x00000004162430 @name="yum", @description="Configures various yum components on Red Hat-like systems", @long_description="", @license="Apache 2.0", @maintainer="Chef Software, Inc.", @maintainer_email="cookbooks@chef.io", @platforms={"amazon"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "oracle"=>">= 0.0.0", "redhat"=>">= 0.0.0", "scientific"=>">= 0.0.0"}, @dependencies={}, @recommendations={}, @suggestions={}, @conflicting={}, @providing={"yum"=>">= 0.0.0"}, @replacing={}, @attributes={}, @groupings={}, @recipes={"yum"=>""}, @version="3.8.2", @source_url="", @issues_url="", @privacy=false, @chef_versions=[], @ohai_versions=[], @errors=[]>, @chef_server_rest=nil, @attribute_filenames_by_short_filename={"main"=>"main.rb"}, @cookbook_manifest=#<Chef::CookbookManifest:0x000000041619b8 @cookbook_version=#<Chef::CookbookVersion:0x00000004163060 ...>, @policy_mode=false, @manifest={"recipes"=>[{"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"df06a1c7f6d3535855110f7077f1acca", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/recipes/default.rb"}], "definitions"=>[], "libraries"=>[{"name"=>"matchers.rb", "path"=>"libraries/matchers.rb", "checksum"=>"8315818090e0de0469c5b4c9efc0875d", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/libraries/matchers.rb"}], "attributes"=>[{"name"=>"main.rb", "path"=>"attributes/main.rb", "checksum"=>"4f208aff6a958ff56c59df042e504a93", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/attributes/main.rb"}], "files"=>[], "templates"=>[{"name"=>"main.erb", "path"=>"templates/default/main.erb", "checksum"=>"ba21644510c5a99ac20d0da808510888", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/templates/default/main.erb"}, {"name"=>"repo.erb", "path"=>"templates/default/repo.erb", "checksum"=>"99b50ead88c791eb0e1920a3c57c7ac4", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/templates/default/repo.erb"}], "resources"=>[{"name"=>"globalconfig.rb", "path"=>"resources/globalconfig.rb", "checksum"=>"2aa31202e0a1433e0e49aa9cca35fad0", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/resources/globalconfig.rb"}, {"name"=>"repository.rb", "path"=>"resources/repository.rb", "checksum"=>"2458744928344aa15d2e508f714aa27a", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/resources/repository.rb"}], "providers"=>[{"name"=>"globalconfig.rb", "path"=>"providers/globalconfig.rb", "checksum"=>"0b8c5cbe327a14d1a5bf7f04e7cf46f5", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/providers/globalconfig.rb"}, {"name"=>"repository.rb", "path"=>"providers/repository.rb", "checksum"=>"2fd48b23ab84e6f6176ca78f385d1c5f", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/providers/repository.rb"}], "root_files"=>[{"name"=>"README.md", "path"=>"README.md", "checksum"=>"6eaa13a8d1f82ae87f8c72fdb64a5b50", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/README.md"}, {"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"deb345b3be9995174aba8e3c816a64ad", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/metadata.json"}], "metadata"=>{"name"=>"yum", "description"=>"Configures various yum components on Red Hat-like systems", "long_description"=>"", "maintainer"=>"Chef Software, Inc.", "maintainer_email"=>"cookbooks@chef.io", "license"=>"Apache 2.0", "platforms"=>{"amazon"=>">= 0.0.0", "centos"=>">= 0.0.0", "fedora"=>">= 0.0.0", "oracle"=>">= 0.0.0", "redhat"=>">= 0.0.0", "scientific"=>">= 0.0.0"}, "dependencies"=>{}, "recommendations"=>{}, "suggestions"=>{}, "conflicting"=>{}, "providing"=>{"yum"=>">= 0.0.0"}, "replacing"=>{}, "attributes"=>{}, "groupings"=>{}, "recipes"=>{"yum"=>""}, "version"=>"3.8.2", "source_url"=>"", "issues_url"=>"", "privacy"=>false, "chef_versions"=>[], "ohai_versions"=>[]}, "version"=>"3.8.2", "name"=>"yum-3.8.2", "cookbook_name"=>"yum", "frozen?"=>false, "chef_type"=>"cookbook_version", "json_class"=>"Chef::CookbookVersion"}, @checksums={"2aa31202e0a1433e0e49aa9cca35fad0"=>nil, "2458744928344aa15d2e508f714aa27a"=>nil, "0b8c5cbe327a14d1a5bf7f04e7cf46f5"=>nil, "2fd48b23ab84e6f6176ca78f385d1c5f"=>nil, "df06a1c7f6d3535855110f7077f1acca"=>nil, "8315818090e0de0469c5b4c9efc0875d"=>nil, "4f208aff6a958ff56c59df042e504a93"=>nil, "ba21644510c5a99ac20d0da808510888"=>nil, "99b50ead88c791eb0e1920a3c57c7ac4"=>nil, "6eaa13a8d1f82ae87f8c72fdb64a5b50"=>nil, "deb345b3be9995174aba8e3c816a64ad"=>nil}, @manifest_records_by_path={"resources/globalconfig.rb"=>{"name"=>"globalconfig.rb", "path"=>"resources/globalconfig.rb", "checksum"=>"2aa31202e0a1433e0e49aa9cca35fad0", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/resources/globalconfig.rb"}, "resources/repository.rb"=>{"name"=>"repository.rb", "path"=>"resources/repository.rb", "checksum"=>"2458744928344aa15d2e508f714aa27a", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/resources/repository.rb"}, "providers/globalconfig.rb"=>{"name"=>"globalconfig.rb", "path"=>"providers/globalconfig.rb", "checksum"=>"0b8c5cbe327a14d1a5bf7f04e7cf46f5", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/providers/globalconfig.rb"}, "providers/repository.rb"=>{"name"=>"repository.rb", "path"=>"providers/repository.rb", "checksum"=>"2fd48b23ab84e6f6176ca78f385d1c5f", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/providers/repository.rb"}, "recipes/default.rb"=>{"name"=>"default.rb", "path"=>"recipes/default.rb", "checksum"=>"df06a1c7f6d3535855110f7077f1acca", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/recipes/default.rb"}, "libraries/matchers.rb"=>{"name"=>"matchers.rb", "path"=>"libraries/matchers.rb", "checksum"=>"8315818090e0de0469c5b4c9efc0875d", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/libraries/matchers.rb"}, "attributes/main.rb"=>{"name"=>"main.rb", "path"=>"attributes/main.rb", "checksum"=>"4f208aff6a958ff56c59df042e504a93", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/attributes/main.rb"}, "templates/default/main.erb"=>{"name"=>"main.erb", "path"=>"templates/default/main.erb", "checksum"=>"ba21644510c5a99ac20d0da808510888", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/templates/default/main.erb"}, "templates/default/repo.erb"=>{"name"=>"repo.erb", "path"=>"templates/default/repo.erb", "checksum"=>"99b50ead88c791eb0e1920a3c57c7ac4", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/templates/default/repo.erb"}, "README.md"=>{"name"=>"README.md", "path"=>"README.md", "checksum"=>"6eaa13a8d1f82ae87f8c72fdb64a5b50", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/README.md"}, "metadata.json"=>{"name"=>"metadata.json", "path"=>"metadata.json", "checksum"=>"deb345b3be9995174aba8e3c816a64ad", "specificity"=>"default", "url"=>"chefzero://localhost:8889/file_store/repo/cookbooks/yum/metadata.json"}}>>]
Synchronizing Cookbooks:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004078100 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-server/recipes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004078308>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000040709f0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-server/libraries/helpers.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004070ae0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004062030 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/r-chef-server/files/default/empty", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004062198>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
o", "rack.input"=>#<StringIO:0x0000000405f380>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000405a808 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/r-chef-server/attributes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000405a8d0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004060d70 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/r-chef-server/metadata.json", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004060ed8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004066fb8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/r-chef-server/README.md", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004067080>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004049710 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-server/attributes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004049940>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Copyright:: Copyright (c) 2012-2015 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
cache_path = Chef::Config[:file_cache_path]
ruby_block 'ensure node can resolve API FQDN' do
extend ChefServerCookbook::Helpers
block { repair_api_fqdn }
only_if { api_fqdn_available? }
not_if { api_fqdn_resolves? }
end
chef_ingredient 'chef-server' do
extend ChefServerCookbook::Helpers
version node['chef-server']['version']
package_source node['chef-server']['package_source']
config <<-EOS
topology "#{node['chef-server']['topology']}"
#{"api_fqdn \"#{node['chef-server']['api_fqdn']}\"" if api_fqdn_available?}
#{node['chef-server']['configuration']}
EOS
action :install
end
file "#{cache_path}/chef-server-core.firstrun" do
action :create
end
ingredient_config 'chef-server' do
notifies :reconfigure, 'chef_ingredient[chef-server]', :immediately
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000405de40 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-server/recipes/addons.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000405dfd0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
module ChefServerCookbook
module Helpers
def api_fqdn_available?
return false if node['chef-server'].nil?
return false if node['chef-server']['api_fqdn'].nil?
!node['chef-server']['api_fqdn'].empty?
end
def api_fqdn_resolves?
ChefIngredientCookbook::Helpers.fqdn_resolves?(
node['chef-server']['api_fqdn']
)
end
def repair_api_fqdn
fe = Chef::Util::FileEdit.new('/etc/hosts')
fe.insert_line_if_no_match(/#{node['chef-server']['api_fqdn']}/,
"127.0.0.1 #{node['chef-server']['api_fqdn']}")
fe.write_file
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: r-chef-server
# Attribute:: default
#
# Copyright (C) 2014 Rakuten Inc.
#
# All rights reserved - Do Not Redistribute
#
# default['chef-server']['api_fqdn'] = "chef.#{node['domain']}"
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/r-chef-server/attributes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-server/libraries/helpers.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Copyright ()c) 2015 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
node['chef-server']['addons'].each do |addon|
chef_ingredient addon do
notifies :reconfigure, "chef_ingredient[#{addon}]"
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/recipes/addons.rb to tempfile /tmp/chef-rest20160109-1485-m84n8c
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/r-chef-server
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/r-chef-server/attributes
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/chef-server
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/chef-server/libraries
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-server/recipes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: chef-server
# Attributes:: default
#
# Copyright:: Copyright (c) 2012-2015 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
default['chef-server']['version'] = nil
default['chef-server']['package-source'] = nil
# The Chef Server must have an API FQDN set.
# Ref. http://docs.chef.io/install_server_pre.html#hostnames
default['chef-server']['api_fqdn'] = node['fqdn']
default['chef-server']['topology'] = 'standalone'
default['chef-server']['addons'] = []
#
# Chef Server Tunables
#
# For a complete list see:
# http://docs.chef.io/server/config_rb_server.html
#
# Example:
#
# In a recipe:
#
# node.override['chef-server']['configuration'] = <<-EOS
# nginx['ssl_port'] = 4433
# EOS
#
# In a role:
#
# default_attributes(
# 'chef-server' => {
# 'configuration' => <<-EOS
# nginx['ssl_port'] = 4433
# EOS
# }
# )
#
default['chef-server']['configuration'] = ''
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-server/recipes/addons.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/r-chef-server/files/default/empty in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/r-chef-server/files/default
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/attributes/default.rb to tempfile /tmp/chef-rest20160109-1485-9qrurm
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# r-chef-server-cookbook
Rakuten Chef Server Cookbook
## Supported Platforms
* Ubuntu 12.04
* Centos 6.4
## Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['chef-server']['api_fqdn']</tt></td>
<td>String</td>
<td>FQDN for the chef API</td>
<td><tt>chef.#{node['fqdn']}</tt></td>
</table>
## Usage
### Simple Bootstrapping
To "bootstrap" a Chef-Server with this cookbook, simply run:
./remote-install.sh <user@ipaddress>
For example:
./remote-install.sh ops@172.24.97.20
### Full-run provisioning and bootstrap
*IMPORTANT*: This install assumes the following:
* The cookbooks are in the same directory
* Your local chef-repo is setup
* DNS is setup for: chef.<fqdn> to resolve the desired server IP
* r-chef-server recipe defaults the API FQDN to chef.<fqdn> (Can be overridden with attributes)
A full run goes something like this:
To begin, make sure you're in the directory your cookbooks are in (example):
cd ~/chef-repo
First, create a VM:
knife vsphere vm clone go-chef-001 --template ubuntu-1404-chef -f Templates --cspec linux --dest-folder Misc --datastore stor2-nfs --cips 172.24.97.20/24 --start
Next, run the remote install
cd cookbooks/r-chef-server
./remote-install.sh ops@172.24.97.20
Get the `chef-validator.pem` from the server:
ssh ops@172.24.97.20
sudo cat /etc/chef-server/chef-validator.pem
Install this certificate in your local chef-repo (`~/chef-repo/.chef/chef-validator.pem`)
Setup a user for yourself, and install certificates in your local chef-repo. This should be done from the Web UI at `https://172.24.97.20`.
While you're there, also *change the admin user password*!
Upload the basic cookbooks
cd ../r-chef-server
berks install
berks upload --ssl-verify=false
cd ../r-chef-client
berks install
berks upload --ssl-verify=false
Finally, bootstrap the node against itself, with knife, to allow auto updating.
knife bootstrap 172.24.97.20 -x ops -r 'recipe[r-chef-server],recipe[r-chef-client]' --sudo
### r-chef-server::default
Include `r-chef-server` in your node's `run_list`:
```json
{
"run_list": [
"recipe[r-chef-server::default]"
]
}
```
## Contributing
1. Fork the repository on Github
2. Create a named feature branch (i.e. `feature/add-new-recipe`)
3. Write your change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request
## License and Authors
Author:: Rakuten Global Operations (ops@rakops.com)
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003f374f8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/r-chef-server/recipes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003f375c0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: r-chef-server
# Recipe:: default
#
# Copyright (C) 2014 Rakuten Inc.
#
# All rights reserved - Do Not Redistribute
#
tag('chef-server')
include_recipe 'chef-server::default'
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/r-chef-server/templates/default/empty in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/r-chef-server/templates
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-server/attributes/default.rb in the cache.
Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/r-chef-server/README.md in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/chef-server/attributes
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/r-chef-server/templates/default
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003f17310 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-server/metadata.json", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003f173d8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
{
"name": "chef-server",
"version": "4.1.0",
"description": "Installs and configures Chef Server 12",
"long_description": "",
"maintainer": "Chef Software, Inc.",
"maintainer_email": "cookbooks@chef.io",
"license": "Apache 2.0",
"platforms": {
"centos": ">= 0.0.0",
"ubuntu": ">= 0.0.0"
},
"dependencies": {
"chef-ingredient": ">= 0.11.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
}
}
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/metadata.json to tempfile /tmp/chef-rest20160109-1485-1645g8b
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/recipes/default.rb to tempfile /tmp/chef-rest20160109-1485-19cpj4q
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
{
"name": "r-chef-server",
"description": "Installs/Configures r-chef-server",
"long_description": "Installs/Configures r-chef-server",
"maintainer": "Rakuten Global Operations",
"maintainer_email": "ops@rakops.com",
"license": "All rights reserved",
"platforms": {
"ubuntu": ">= 12.4.0",
"centos": ">= 6.4.0"
},
"dependencies": {
"chef-server": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
"r-chef-server::default": "Installs Chef Server"
},
"version": "1.0.3",
"source_url": "",
"issues_url": ""
}
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/r-chef-server/metadata.json to tempfile /tmp/chef-rest20160109-1485-1a92r4i
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/r-chef-server/metadata.json in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003ef0378 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003ef0530>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003f1eef8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-server/README.md", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003f1efe8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
chef-server README
==================
This cookbook configures a system to be a *standalone* Chef Server. It
will install the appropriate platform-specific chef-server Omnibus
package from Package Cloud and perform the initial configuration.
It is not in the scope of this cookbook to handle more complex Chef
Server topologies like 'tiered' or 'ha'. Nor is it in the scope of
this cookbook to install and configure premium features or other
add-ons. For clustered Chef Server deployments, see
[chef-server-cluster](https://github.com/opscode-cookbooks/chef-server-cluster).
For primitives for installing `chef-server-core` or other Chef Server
add-ons, see
[chef-server-ingredient](https://supermarket.chef.io/cookbooks/chef-server-ingredient).
It is also not in the scope of this cookbook to handle older versions
of Chef Server, such as 11 or 10. For Chef Server 11, see version
2.1.x of this cookbook on Supermarket, or the `chef11` branch of this
repository.
Requirements
============
This cookbook is tested with Chef (client) 12. It may work with or
without modification on earlier versions of Chef, but Chef 12 is
recommended.
## Cookbooks
* chef-server-ingredient cookbook
## Platform
This cookbook is tested on the following platforms using the
[Test Kitchen](http://kitchen.ci) `.kitchen.yml` in the repository.
- RHEL/CentOS 5 64-bit
- RHEL/CentOS 6 64-bit
- Ubuntu 10.04, 10.10 64-bit
- Ubuntu 11.04, 11.10 64-bit
- Ubuntu 12.04, 12.10 64-bit
- Ubuntu 14.04, 14.10 64-bit
Unlisted platforms in the same family, of similar or equivalent
versions may work with or without modification to this cookbook. For a
list of supported platforms for Chef Server, see the
[Chef documentation](https://docs.chef.io/supported_platforms.html#chef-server-title).
Attributes
==========
The attributes used by this cookbook are under the `chef-server` name
space.
Attribute | Description |Type | Default
-----------------|-------------|-----|--------
api_fqdn | Fully qualified domain name that you want to use for accessing the Web UI and API. If set to `nil` or empty string (`""`), the IP address will be used as hostname. | String | node['fqdn']
configuration | Configuration to pass down to the underlying server config file (i.e. `/etc/chef-server/chef-server.rb`). | String | ""
version | Chef Server version to install. If `nil`, the latest version is installed | String | nil
addons | Array of addon packages (you need to add the addons recipe to the run list for the addons to be installed) | Array | Array.new
Previous versions of this cookbook had several other attributes used
install. This is
deprecated.
Previous versions of this cookbook used `configuration` as a Hash. This is now deprecated and the configuration should be specified as a String. This must include newlines for each of the configuration items.
See https://docs.chef.io/config_rb_server.html for configuration options for Chef Server and below table for addons:
Addon | Product Name | Config Documentation
------|---------------|---------------------
manage | Management Console | https://docs.chef.io/config_rb_manage.html
chef-ha | Chef Server High Availability | https://docs.chef.io/server_high_availability.html
chef-sync | Chef Server Replication | https://docs.chef.io/config_rb_chef_sync.html
reporting | Chef Server Reporting | No separate config.
push-server | Chef Push Server | https://docs.chef.io/config_rb_push_jobs_server.html
supermarket | Supermarket | https://docs.chef.io/config_rb_supermarket.html
Recipes
=======
This section describes the recipes in the cookbook and how to use them
in your environment.
## default
This recipe:
- Installs the appropriate platform-specific chef-server Omnibus
package from our Package Cloud
[repository](https://packagecloud.io/chef/stable)
- Creates the initial `/etc/chef-server/chef-server.rb` file.
- Performs initial system configuration via `chef-server-ctl
reconfigure`.
- Updates the `/etc/hosts` file with the `api_fqdn` if that FQDN
cannot be resolved.
## addons
Chef addons are premium features that can be installed on the Chef
Server with the
[appropriate license](https://www.chef.io/chef/#plans-and-pricing). If
there are < 25 nodes managed, or a paid subscription license, addons
can be installed.
This recipe iterates through the `node['chef-server']['addons']`
attribute and installs and reconfigures all the packages listed.
Install Methods
===============
## Bootstrap Chef (server) with Chef (solo)
The easiest way to get a Chef Server up and running is to install
chef-solo (via the chef-client Omnibus packages) and bootstrap the
system using this cookbook:
# install chef-solo
curl -L https://www.chef.io/chef/install.sh | sudo bash
# create required bootstrap dirs/files
sudo mkdir -p /var/chef/cache /var/chef/cookbooks
# pull down this chef-server cookbook
wget -qO- https://supermarket.chef.io/cookbooks/chef-server/download | sudo tar xvzC /var/chef/cookbooks
# pull down dependency cookbooks
for dep in chef-ingredient yum-chef yum apt-chef apt packagecloud
do
wget -qO- https://supermarket.chef.io/cookbooks/${dep}/download | sudo tar xvzC /var/chef/cookbooks
done
# GO GO GO!!!
sudo chef-solo -o 'recipe[chef-server::default]'
Be sure to download and untar the `chef-ingredient`, `yum-chef`, `yum`, `apt-chef`, `apt`, and `packagecloud` cookbooks. They're dependencies of this cookbook.
If you need more control over the final configuration of your Chef Server instance you can create a JSON attributes file and set underlying configuration via the `node['chef-server']['configuration']` attribute. See the [attributes/default.rb](attributes/default.rb)
Then pass this file to the initial chef-solo command:
chef-solo -j /tmp/dna.json
### Configuring Chef Server
You can read all about Chef Server's configuration options on the [Chef Documentation site](http://docs.chef.io/server/config_rb_server.html).
Specify configuration using the `node['chef-server']['configuration']` attribute as a string. Each configuration item should be separated by newlines. This string will be rendered exactly as written in the configuration file, `/etc/opscode/chef-server.rb`. For example, if we want to change the notification email, we could do this in a wrapper cookbook:
```ruby
node.default['chef-server']['configuration'] = "notification_email 'chef-server@example.com'"
```
Or in a `dna.json` file:
```json
{
"chef-server": {
"configuration": "notification_email 'chef-server@example.com'"
}
}
```
figuration settings, such as the notification email and the cache size for nginx, this uses a heredoc:
```ruby
node.default['chef-server']['configuration'] = <<-EOS
notification_email 'chef-server@example.com'
nginx['cache_max_size'] = '3500m'
EOS
```
In a `dna.json` file, we need to insert a `\n` newline character.
```json
{
"chef-server": {
"configuration": "notification_email 'chef-server@example.com'\nnginx['cache_max_size'] = '3500m'"
}
}
```
### Applying configuration changes
The `chef-server-ctl` command is the administrative interface to the Chef Server. It has its own [documentation](https://docs.chef.io/ctl_chef_server.html). Various administrative functions provided by `chef-server-ctl` are not in the scope of this cookbook. Special/customized needs should be managed in your own cookbook.
As this cookbook uses the [chef-ingredient cookbook](https://supermarket.chef.io/cookbooks/chef-ingredient), its resources can be used to manage the Chef Server installation. The default recipe in this cookbook exposes `chef_ingredient[chef-server]` as a resource that can be sent a `:reconfigure` action from your own cookbooks. The `omnibus_service` resource can be used to manage the underlying services for the Chef Server. See the [chef-ingredient cookbook](https://supermarket.chef.io/cookbooks/chef-ingredient#readme) for more information.
# License and Authors
* Author: Seth Chisamore <schisamo@chef.io>
* Author: Joshua Timberman <joshua@chef.io>
* Copyright 2012-2015, Chef Software, Inc
```text
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
```
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-server/README.md to tempfile /tmp/chef-rest20160109-1485-av1sdl
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-server/README.md in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
st
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003eef3b0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_resource.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003eef478>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003f1e098 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/chef_server_ingredient_shim.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003f1e160>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
--- RESPONSE (200) ---
#
# Author:: Joshua Timberman <joshua@chef.io
# Copyright (c) 2014, Chef Software, Inc. <legal@chef.io>
#
# Portions from https://github.com/computology/packagecloud-cookbook:
# Copyright (c) 2014, Computology, LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Chef
class Provider
class ChefServerIngredient < Chef::Provider::ChefIngredient
provides :chef_server_ingredient
end
end
end
class Chef
class Resource
class ChefServerIngredient < Chef::Resource::ChefIngredient
resource_name :chef_server_ingredient
# Adding this for compatibility, it won't do anything since the
# provider doesn't implement it, and uses the yum-chef or
# apt-chef attributes.
attribute :repository, kind_of: String, default: ''
# More compatibility for older versions of chef-server-ingredient
attribute :master_token, kind_of: String
end
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Chef
class Resource
class IngredientConfig < Chef::Resource::LWRPBase
resource_name :ingredient_config
actions :render, :add
default_action :render
attribute :product_name, kind_of: String, name_attribute: true
attribute :sensitive, kind_of: [TrueClass, FalseClass], default: false
attribute :config, kind_of: String, default: nil
end
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_resource.rb to tempfile /tmp/chef-rest20160109-1485-b69m4h
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
require_relative './helpers'
class Chef
class Provider
class IngredientConfig < Chef::Provider::LWRPBase
provides :ingredient_config
include ChefIngredientCookbook::Helpers
use_inline_resources
def whyrun_supported?
true
end
action :render do
target_config = product_matrix[new_resource.product_name]['config-file']
return if target_config.nil?
directory ::File.dirname(target_config) do
recursive true
action :create
end
file target_config do
action :create
sensitive new_resource.sensitive
content get_config(new_resource.product_name)
end
end
action :add do
add_config(new_resource.product_name, new_resource.config)
end
end
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb to tempfile /tmp/chef-rest20160109-1485-1dc59yy
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003e7bd20 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003e7be10>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003e59cc0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_resource.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003e59d88>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003e182c0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_provider.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003e18388>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/r-chef-server/recipes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
--- RESPONSE (200) ---
#
# Author:: Joshua Timberman <joshua@chef.io
# Copyright (c) 2014-2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
require_relative './helpers'
class Chef
class Provider
class ChefIngredient < Chef::Provider::LWRPBase
provides :chef_ingredient
# for include_recipe
require 'chef/dsl/include_recipe'
include Chef::DSL::IncludeRecipe
# Methods for use in resources, found in helpers.rb
include ChefIngredientCookbook::Helpers
use_inline_resources
def whyrun_supported?
true
action :install do
install_mixlib_versioning
create_repository
package_resource(:install)
add_config(new_resource.product_name, new_resource.config)
end
action :upgrade do
install_mixlib_versioning
create_repository
package_resource(:upgrade)
add_config(new_resource.product_name, new_resource.config)
end
action :uninstall do
install_mixlib_versioning
package ingredient_package_name do
action :remove
end
end
action :remove do
install_mixlib_versioning
package ingredient_package_name do
action :remove
end
end
action :reconfigure do
install_mixlib_versioning
add_config(new_resource.product_name, new_resource.config)
execute "#{ingredient_package_name}-reconfigure" do
command "#{ctl_command} reconfigure"
end
end
end
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/r-chef-server/recipes
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/libraries/chef_server_ingredient_shim.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb to tempfile /tmp/chef-rest20160109-1485-9e2fwm
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003e0ed60 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/helpers.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003e0ee50>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003d99880 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/matchers.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003d99c18>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-server/metadata.json in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2014-2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
module ChefIngredientCookbook
module Helpers
if new_resource.respond_to?(:version)
product_lookup(product, version_string(new_resource.version))['ctl-command']
else
product_lookup(product)['ctl-command']
end
end
def version_string(vers)
return '0.0.0' if vers.to_sym == :latest
vers
end
def ingredient_package_name
product_lookup(new_resource.product_name, version_string(new_resource.version))['package-name']
end
def local_package_resource
return :dpkg_package if node['platform_family'] == 'debian'
return :rpm_package if node['platform_family'] == 'rhel'
:package # fallback if there's no platform match
end
def package_resource(ingredient_action)
presource = new_resource.package_source.nil? ? :package : local_package_resource
declare_resource presource, new_resource.product_name do
package_name ingredient_package_name
options new_resource.options
version install_version if Mixlib::Versioning.parse(version_string(new_resource.version)) > '0.0.0'
source new_resource.package_source
timeout new_resource.timeout
action ingredient_action
end
end
def install_mixlib_versioning
# We need Mixlib::Versioning in the library helpers for
# parsing the version string.
chef_gem "#{new_resource.product_name}-mixlib-versioning" do # ~FC009 foodcritic needs an update
package_name 'mixlib-versioning'
compile_time true
end
require 'mixlib/versioning'
end
def create_repository
cleanup_old_repo_config if ::File.exist?(old_ingredient_repo_file)
include_recipe "#{package_repo_type}-chef" if new_resource.package_source.nil?
end
def package_repo_type
return 'apt' if node['platform_family'] == 'debian'
return 'yum' if node['platform_family'] == 'rhel'
end
def rhel_major_version
return node['platform_version'].to_i if node['platform_family'] == 'rhel'
node['platform_version']
end
def install_version
require 'mixlib/versioning'
v = Mixlib::Versioning.parse(version_string(new_resource.version))
version = "#{v.major}.#{v.minor}.#{v.patch}"
version << "~#{v.prerelease}" if v.prerelease? && !v.prerelease.match(/^\d$/)
version << "+#{v.build}" if v.build?
version << '-1' unless version.match(/-1$/)
version << rhel_append_version if node['platform_family'] == 'rhel' &&
!version.match(/#{rhel_append_version}$/)
version
end
def rhel_append_version
".el#{rhel_major_version}"
end
def old_ingredient_repo_file
return '/etc/apt/sources.list.d/chef_stable_.list' if node['platform_family'] == 'debian'
return '/etc/yum.repos.d/chef_stable_.repo' if node['platform_family'] == 'rhel'
end
def cleanup_old_repo_config
file old_ingredient_repo_file do
action :delete
end
end
new_resource.ctl_command || chef_ctl_command(new_resource.product_name)
end
def reconfigure
ctl_cmd = ctl_command
execute "#{new_resource.product_name}-reconfigure" do
command "#{ctl_cmd} reconfigure"
end
end
# When updating this, also update PRODUCT_MATRIX.md
def product_matrix
{
'analytics' => {
'package-name' => 'opscode-analytics',
'ctl-command' => 'opscode-analytics-ctl',
'config-file' => '/etc/opscode-analytics/opscode-analytics.rb'
},
'chef' => {
'package-name' => 'chef',
'ctl-command' => nil,
'config-file' => nil
},
'chef-ha' => {
'package-name' => 'chef-ha',
'ctl-command' => nil,
'config-file' => '/etc/opscode/chef-server.rb'
},
'chef-marketplace' => {
'package-name' => 'chef-marketplace',
'ctl-command' => 'chef-marketplace-ctl',
'config-file' => '/etc/chef-marketplace/marketplace.rb'
},
'chef-server' => {
'package-name' => 'chef-server-core',
'ctl-command' => 'chef-server-ctl',
'config-file' => '/etc/opscode/chef-server.rb'
},
'chef-sync' => {
'package-name' => 'chef-sync',
'ctl-command' => 'chef-sync-ctl',
'config-file' => '/etc/chef-sync/chef-sync.rb'
},
'chefdk' => {
'package-name' => 'chefdk',
'ctl-command' => nil,
'config-file' => nil
},
'delivery' => {
'package-name' => 'delivery',
'ctl-command' => 'delivery-ctl',
'config-file' => '/etc/delivery/delivery.rb'
},
'delivery-cli' => {
'package-name' => 'delivery-cli',
'ctl-command' => nil,
'config-file' => nil
},
'manage' => {
'package-name' => 'chef-manage',
'ctl-command' => 'chef-manage-ctl',
'config-file' => '/etc/opscode-manage/manage.rb'
},
'private-chef' => {
'package-name' => 'private-chef',
'ctl-command' => 'private-chef-ctl',
'config-file' => '/etc/opscode/private-chef.rb'
},
'push-client' => {
'package-name' => 'chef-push-client',
'ctl-command' => nil,
'config-file' => nil
},
'push-server' => {
'package-name' => 'chef-push-server',
'ctl-command' => 'chef-push-ctl',
'config-file' => '/etc/opscode-push-jobs-server/opscode-push-jobs-server.rb'
},
'reporting' => {
'package-name' => 'opscode-reporting',
'ctl-command' => 'opscode-reporting-ctl',
'config-file' => '/etc/opscode-reporting/opscode-reporting.rb'
},
'supermarket' => {
'package-name' => 'supermarket',
'ctl-command' => 'supermarket-ctl',
'config-file' => '/etc/supermarket/supermarket.json'
}
}
end
# Version has a default value of 0.0.0 so that it is a valid
# string for the Mixlib::Versioning.parse method. This implies
# "latest", but "latest" is not a value that is valid for
# mixlib/versioning.
def product_lookup(product, version = '0.0.0')
unless product_matrix.key?(product)
Chef::Log.fatal("We don't have a product, '#{product}'. Please specify a valid product name:")
Chef::Log.fatal(product_matrix.keys.join(' '))
fail
end
require 'mixlib/versioning'
v = Mixlib::Versioning.parse(version_string(version))
data = product_matrix[product]
# We want to validate that we're getting a version that is valid
# for the Chef Server. However, since the default is 0.0.0,
# implying latest, we need to additionally ensure that the
# bottom version is something valid. If we don't have the check
say that 0.0.0 is not a valid version.
if (product == 'chef-server')
if (v < Mixlib::Versioning.parse('12.0.0')) && (v > Mixlib::Versioning.parse('11.0.0'))
data['package-name'] = 'chef-server'
elsif (v < Mixlib::Versioning.parse('11.0.0')) && (v > Mixlib::Versioning.parse('1.0.0'))
Chef::Log.fatal("Invalid version specified, '#{version}' for #{product}!")
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
end
elsif (product == 'manage') && (v < Mixlib::Versioning.parse('2.0.0'))
data['package-name'] = 'opscode-manage'
data['ctl-command'] = 'opscode-manage-ctl'
# TODO: When Chef Push server and client 2.0 are released, we
# need to implement similar logic to chef-server, so that the
# default "latest" version, 0.0.0 (no constraint) doesn't result
# in the old package.
elsif (product == 'push-server') && (v < Mixlib::Versioning.parse('2.0.0'))
data['package-name'] = 'opscode-push-jobs-server'
data['ctl-command'] = 'opscode-push-jobs-server-ctl'
elsif (product == 'push-client') && (v < Mixlib::Versioning.parse('2.0.0'))
data['package-name'] = 'opscode-push-jobs-client'
end
data
end
def add_config(product, content)
return if content.nil?
node.run_state[:ingredient_config_data] ||= {}
node.run_state[:ingredient_config_data][product] ||= ''
end
def get_config(product)
node.run_state[:ingredient_config_data] ||= {}
node.run_state[:ingredient_config_data][product] ||= ''
end
def fqdn_resolves?(fqdn)
require 'resolv'
Resolv.getaddress(fqdn)
return true
rescue Resolv::ResolvError, Resolv::ResolvTimeout
false
end
module_function :fqdn_resolves?
end
end
module ChefServerIngredientsCookbook
module Helpers
include ChefIngredientCookbook::Helpers
alias_method :chef_server_ctl_command, :chef_ctl_command
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/helpers.rb to tempfile /tmp/chef-rest20160109-1485-du7v5z
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
- r-chef-server (1.0.3)
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
if defined?(ChefSpec)
%i{chef_ingredient chef_server_ingredient omnibus_service ingredient_config}.each do |resource|
ChefSpec.define_matcher resource
end
def install_chef_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_ingredient, :install, pkg)
end
def upgrade_chef_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_ingredient, :upgrade, pkg)
end
def uninstall_chef_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_ingredient, :uninstall, pkg)
end
def remove_chef_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_ingredient, :remove, pkg)
end
def reconfigure_chef_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_ingredient, :reconfigure, pkg)
end
def install_chef_server_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_server_ingredient, :install, pkg)
end
def uninstall_chef_server_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_server_ingredient, :uninstall, pkg)
end
def remove_chef_server_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_server_ingredient, :remove, pkg)
end
def reconfigure_chef_server_ingredient(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:chef_server_ingredient, :reconfigure, pkg)
end
def restart_omnibus_service(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:omnibus_service, :restart, pkg)
end
def start_omnibus_service(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:omnibus_service, :start, pkg)
end
def stop_omnibus_service(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:omnibus_service, :stop, pkg)
end
def hup_omnibus_service(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:omnibus_service, :hup, pkg)
end
def int_omnibus_service(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:omnibus_service, :int, pkg)
end
def kill_omnibus_service(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:omnibus_service, :kill, pkg)
end
def graceful_kill_omnibus_service(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:omnibus_service, :graceful_kill, pkg)
end
def once_kill_omnibus_service(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:omnibus_service, :once, pkg)
end
def render_ingredient_config(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:ingredient_config, :render, pkg)
end
def add_ingredient_config(pkg)
ChefSpec::Matchers::ResourceMatcher.new(:ingredient_config, :add, pkg)
end
end
--- END RESPONSE ---
- chef-server (4.1.0)
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/matchers.rb to tempfile /tmp/chef-rest20160109-1485-d352ls
--- RESPONSE (200) ---
#
# Author:: Joshua Timberman <joshua@chef.io
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
require_relative './helpers'
class Chef
class Provider
class OmnibusService < Chef::Provider::LWRPBase
provides :omnibus_service
# Methods for use in resources, found in helpers.rb
include ChefIngredientCookbook::Helpers
use_inline_resources
def whyrun_supported?
true
end
%w(start stop restart hup int kill graceful-kill once).each do |sv_command|
action sv_command.tr('-', '_').to_sym do
execute "#{omnibus_ctl_command} #{sv_command} #{omnibus_service_name.last}"
end
end
private
def omnibus_ctl_command
new_resource.ctl_command || chef_ctl_command(omnibus_service_name.first)
end
def omnibus_service_name
new_resource.service_name.split('/')
end
end
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_provider.rb to tempfile /tmp/chef-rest20160109-1485-1c7z8eb
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Author:: Joshua Timberman <joshua@chef.io
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Chef
class Resource
class ChefIngredient < Chef::Resource::LWRPBase
resource_name :chef_ingredient
actions :install, :uninstall, :remove, :reconfigure, :upgrade
default_action :install
state_attrs :installed
attribute :product_name, kind_of: String, name_attribute: true
attribute :installed, kind_of: [TrueClass, FalseClass, NilClass], default: false
attribute :reconfigure, kind_of: [TrueClass, FalseClass], default: false
attribute :config, kind_of: String, default: nil
# Attribute to install package from local file
attribute :package_source, kind_of: String, default: nil
# Attributes for reconfigure step
attribute :ctl_command, kind_of: String
# Attributes for package
attribute :options, kind_of: String
attribute :version, kind_of: [String, Symbol], default: :latest
attribute :timeout, kind_of: [Integer, String, NilClass], default: nil
end
end
end
--- END RESPONSE ---
EBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/chef_ingredient_resource.rb to tempfile /tmp/chef-rest20160109-1485-1qjauuf
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/libraries/chef_ingredient_resource.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/libraries/helpers.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/libraries/omnibus_service_provider.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003ca2f30 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/README.md", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003ca3070>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003ca05a0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/metadata.json", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003ca0668>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
G: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003ca22b0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_resource.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003ca23f0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000003c85430 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt-chef/recipes/stable.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000003c854f8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Author:: Joshua Timberman <joshua@chef.io
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Chef
class Resource
class OmnibusService < Chef::Resource::LWRPBase
resource_name :omnibus_service
actions %i(start stop restart hup int kill graceful_kill once)
default_action :nothing
attribute :ctl_command, kind_of: String
attribute :service_name, kind_of: String, regex: %r{[\w-]+\/[\w-]+}, name_attribute: true
end
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/libraries/omnibus_service_resource.rb to tempfile /tmp/chef-rest20160109-1485-1p2ry4x
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000002a31e00 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt-chef/recipes/current.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000002a32198>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# chef-ingredient Cookbook
- Chef Server 12
- Chef Analytics
- Chef Delivery
- Chef Push
- Supermarket
It will perform component installation and configuration. It provides no recipes. Instead, wrapper cookbooks should be created using the resources that this cookbook provides.
For a product to package matrix, see [PRODUCT_MATRIX.md](https://github.com/chef-cookbooks/chef-ingredient/blob/master/PRODUCT_MATRIX.md)
## Support
This cookbook is supported by Chef's engineering services team.
## Requirements
Chef version 12.1.0 or higher, latest/current version is always recommended.
### Cookbooks
- apt
- yum
### Platform
- Ubuntu 12.04, 14.04
- CentOS 6, 7
## Resources
### chef_server_ingredient
This is a backwards compatibility shim for the `chef_ingredient` resource.
### chef_ingredient
A "chef ingredient" is the core package itself, or products or add-on components published by Chef Software, Inc. This resource manages the installation, configuration, and running the `ctl reconfigure` of individual packages.
#### Actions
- `install` - (default) Configures the package repository and installs the specified package.
- `uninstall` - Uninstalls the specified package.
- `remove` - Alias for uninstall
- `reconfigure` - Performs the `ctl reconfigure` command for the package.
#### Properties
- `product_name`: (name attribute) The product name. See the [PRODUCT_MATRIX.md](https://github.com/chef-cookbooks/chef-ingredient/blob/master/PRODUCT_MATRIX.md). For example, `chef-server`, `analytics`, `delivery`, `manage`, etc.
- `config`: String content that will be added to the configuration file of the given product.
- `ctl_command`: The "ctl" command, e.g., `chef-server-ctl`. This should be automatically detected by the library helper method `chef_ctl_command`, but may need to be specified if something changes, like a new add-on is made available.
- `options`: Options passed to the `package` resource used for installation.
- `version`: Package version to install. Can be specified in various semver-alike ways: `12.0.4`, `12.0.3-rc.3`, and also `:latest`/`'latest'`. Do not use this property when specifying `package_source`. Default is `:latest`, which will install the latest package from the repository.
- `package_source`: Full path to a location where the package is located. If present, this file is used for installing the package. Default `nil`.
- `timeout`: The amount of time (in seconds) to wait to fetch the installer before timing out. Default: default timeout of the Chef package resource - `900` seconds.
### omnibus_service
Manages a sub-service within the context of a Chef product package. For example the `rabbitmq` service that is run for the Chef Server.
#### Actions
This delegates to the ctl command the service management command specified in the action. Not all the service management commands are supported, however, as not all of them would make sense when used in a recipe. This resource is primarily used for sending or receiving notifications. See the example section.
#### Properties
- `ctl_command`: The "ctl" command, e.g. `chef-server-ctl`. This should be automatically detected by the library helper method `chef_ctl_command`, but may need to be specified if something changes, like a new add-on is made available.
- `service_name`: (name attribute) The name of the service to manage. Specify this like `product_name/service`, for example, `chef-server/rabbitmq`.
### ingredient_config
Makes it easy to create update configuration files of each Chef product. It uses the default locations for each product.
#### Actions
- `render` - (default) Creates the configuration file using the options passed in via `add` action or `config` attribute of `chef_ingredient` resource.
- `add` - Adds the `config` attribute contents to the data collection. Must run `:render` action to generate the file.
#### Properties
MATRIX.md). For example, `chef-server`, `analytics`, `delivery`, `manage`, etc.
- `sensitive`: (default `false`) Set to mask the config contents in logs. Use when you config contains information like passwords or secrets.
- `config`: String content that will be added to the configuration file of the given product.
#### Examples
We may need to restart the RabbitMQ service on the Chef Server, for example when adding configuration for Chef Analytics.
```ruby
template '/etc/opscode/chef-server.rb' do
notifies :restart, 'omnibus_service[chef-server-core/rabbitmq]'
end
omnibus_service 'chef-server-core/rabbitmq' do
action :nothing
end
```
To install Chef Server using some custom configuration options:
```ruby
chef_ingredient "chef-server" do
config <<-EOS
api_fqdn "#{node["fqdn"]}"
ip_version "ipv6"
notification_email "#{node["chef_admin"]}"
nginx["ssl_protocols"] = "TLSv1 TLSv1.1 TLSv1.2"
EOS
action :install
end
ingredient_config "chef-server" do
notifies :reconfigure, "chef_ingredient[chef-server]"
end
```
## License and Author
- Author: Joshua Timberman <joshua@chef.io>
- Author: Serdar Sutay <serdar@chef.io>
- Copyright (C) 2014-2015, Chef Software Inc. <legal@chef.io>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/README.md to tempfile /tmp/chef-rest20160109-1485-1dzbdji
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000002aa2cb8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt-chef/README.md", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000002aa2d80>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000002a30370 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt-chef/attributes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000002a30500>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt-chef
# Recipe:: current
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
uri 'https://packagecloud.io/chef/current/ubuntu/'
key node['apt-chef']['gpg']
distribution node['apt-chef']['codename']
components ['main']
trusted true
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/libraries/matchers.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/current.rb to tempfile /tmp/chef-rest20160109-1485-13qxro2
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
node.default['apt-chef'].tap do |apt|
# Set the repository name, must be a string.
apt['repo_name'] = 'chef-stable'
# The base URI for the repository, must be a string
apt['uri'] = 'https://packagecloud.io/chef/stable/ubuntu/'
# Use the local copy of the Chef public GPG key if we're on a Chef Server.
# This is to preserve compatibility with the `chef-server-ctl install` command.
# Otherwise, retrieve the public key from Chef's downloads page.
apt['gpg'] = if File.exist?('/opt/opscode/embedded/keys/packages-chef-io-public.key')
nil
else
'https://downloads.chef.io/packages-chef-io-public.key'
end
# A list of codenames that are supported for the repository. These
# are the Ubuntu LTS releases by default, because this is primarily
# used for the Chef Server packages. However, this list can be
# modified if an alternative package repository is used and other
# codenames are present. The packages generally "work" forward
# compatible. https://docs.chef.io/supported_platforms.html
apt['supported_codenames'] = %w(lucid precise trusty)
# A YOLO fallback so we don't fail to install packages, but use at
# one's own risk. The supported Ubuntu platforms are the LTS release
# (see above).
apt['codename'] = if node.attribute?('lsb') && node['lsb'].attribute?('codename') &&
node['apt-chef']['supported_codenames'].include?(node['lsb']['codename'])
node['lsb']['codename']
else
'lucid' # fall back to lucid, and hope for the best
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/attributes/default.rb to tempfile /tmp/chef-rest20160109-1485-1cldyz0
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt-chef
# Recipe:: stable
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apt_repository 'chef-stable' do
uri 'https://packagecloud.io/chef/stable/ubuntu/'
key node['apt-chef']['gpg']
distribution node['apt-chef']['codename']
components ['main']
trusted true
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/stable.rb to tempfile /tmp/chef-rest20160109-1485-132it9g
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
{
"name": "chef-ingredient",
"version": "0.11.3",
"description": "Primitives for managing Chef products and packages",
"long_description": "",
"maintainer": "Chef Software, Inc.",
"maintainer_email": "cookbooks@chef.io",
"license": "Apache 2.0",
"platforms": {
},
"dependencies": {
"apt-chef": ">= 0.0.0",
"yum-chef": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
}
}
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/chef-ingredient/metadata.json to tempfile /tmp/chef-rest20160109-1485-1yslxjn
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/README.md in the cache.
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt-chef/recipes/current.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000028ca2d8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt-chef/recipes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000028ca3a0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt-chef
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# apt-chef
[![Build Status](https://travis-ci.org/chef-cookbooks/apt-chef.svg?branch=master)](https://travis-ci.org/chef-cookbooks/apt-chef)
[![Cookbook Version](https://img.shields.io/cookbook/v/apt-chef.svg)](https://supermarket.chef.io/cookbooks/apt-chef)
Sets up the default apt package repository for Chef Software, Inc. products.
Primarily intended to be consumed by the chef-ingredient cookbook.
## Requirements
#### Platforms
- Only supports Ubuntu. May work on other Debian-family distributions. Other platforms don't make sense with apt repositories. However, not all platforms that this cookbook will work on have supported packages from the repository. See [supported platforms](https://docs.chef.io/supported_platforms.html). Users may need to override attributes in roles or wrapper cookbooks to get this to work, or write their own cookbooks entirely.
#### Chef
- Chef 11+
#### Cookbooks
- apt
## Attributes
The `attributes/default.rb` file contains comments with all the attributes that can be set to control how this cookbook sets up the repository.
## Recipes
### default
Uses the attributes in `attributes/default.rb` to control how the repository is configured.
### current
Hard-codes Chef's public "current" repository. Used for situations where both stable and current repositories are desired.
### stable
Hard-codes Chef's public "stable" repository. Used for situations where both stable and current repositories are desired.
## A Note About Proxies
If an HTTP proxy is required to reach the configured repository, then that can be managed outside this cookbook using an apt preferences file. A very simple example can be rendered with a file resource:
```ruby
file '/etc/apt/apt.conf.d/01proxy' do
content 'Acquire::http::Proxy "http://proxy.example.com:3128";'
end
```
See the [apt preferences documentation](https://wiki.debian.org/AptConf) for more information and configurable options.
## License & Authors
**Author:** Cookbook Engineering Team (<cookbooks@chef.io>)
**Copyright:** 2008-2015, Chef Software, Inc.
```
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt-chef/attributes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/README.md to tempfile /tmp/chef-rest20160109-1485-1vuo9ua
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
--- RESPONSE (200) ---
#
# Cookbook Name:: apt-chef
# Recipe:: default
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apt_repository node['apt-chef']['repo_name'] do
uri node['apt-chef']['uri']
key node['apt-chef']['gpg']
distribution node['apt-chef']['codename']
components ['main']
trusted true
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/libraries/omnibus_service_resource.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt-chef/attributes
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/recipes/default.rb to tempfile /tmp/chef-rest20160109-1485-bn79jn
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000279c190 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum-chef/recipes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000279c3e8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: yum-chef
# Recipe:: default
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
yum_repository node['yum-chef']['repositoryid'] do
description "Chef #{node['yum-chef']['repositoryid']} repository"
node['yum-chef'].each_pair do |opt, val|
next if opt == 'repositoryid'
send(opt.to_sym, val) unless val.nil?
end
sslverify true
gpgcheck true
action :create
end
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/chef-ingredient/metadata.json in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt-chef/recipes/stable.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
- chef-ingredient (0.11.3)
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt-chef/README.md in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
O: Storing updated cookbooks/apt-chef/recipes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/default.rb to tempfile /tmp/chef-rest20160109-1485-1a0oacg
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000002715078 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum-chef/recipes/current.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000002715168>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000026cc9b8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum-chef/README.md", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000026ccaf8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000026a3568 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum-chef/attributes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000026a3630>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000002672788 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum-chef/metadata.json", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000002672850>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000270da08 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum-chef/recipes/stable.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000270dc88>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
{"name":"yum-chef","version":"0.2.2","description":"Configures yum repository for Chef Software, Inc. products","long_description":"# yum-chef\n[![Build Status](https://travis-ci.org/chef-cookbooks/yum-chef.svg?branch=master)](http://travis-ci.org/chef-cookbooks/yum-chef) [![Cookbook Version](https://img.shields.io/cookbook/v/yum-chef.svg)](https://supermarket.chef.io/cookbooks/yum-chef)\n\nSets up the default yum package repository for Chef Software, Inc. products.\n\nPrimarily intended to be consumed by the [chef-ingredient cookbook](https://supermarket.chef.io/cookbooks/chef-ingredient).\n\n## Requirements\n### Platforms\n- RHEL/CentOS and derivatives\n- Fedora\n\n### Chef\n- Chef 11+\n\n### Cookbooks\n- yum version 3.2.0 or higher\n\n## Attributes\nThe `attributes/default.rb` file contains comments with all the attributes that can be set to control how this cookbook sets up the repository.\n\n## Recipes\n### default\nUses the attributes in `attributes/default.rb` to control how the repository is configured.\n\n### current\nHard-codes Chef's public \"current\" repository. Used for situations where both stable and current repositories are desired.\n\n### stable\nHard-codes Chef's public \"stable\" repository. Used for situations where both stable and current repositories are desired.\n\n## License and Author\n**Author:** Cookbook Engineering Team ([cookbooks@chef.io](mailto:cookbooks@chef.io))\n\n**Copyright:** 2011-2015, Chef Software, Inc.\n\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```\n","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","centos":">= 0.0.0","fedora":">= 0.0.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0"},"dependencies":{"yum":">= 3.2"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}}
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# yum-chef
[![Build Status](https://travis-ci.org/chef-cookbooks/yum-chef.svg?branch=master)](http://travis-ci.org/chef-cookbooks/yum-chef) [![Cookbook Version](https://img.shields.io/cookbook/v/yum-chef.svg)](https://supermarket.chef.io/cookbooks/yum-chef)
Sets up the default yum package repository for Chef Software, Inc. products.
Primarily intended to be consumed by the [chef-ingredient cookbook](https://supermarket.chef.io/cookbooks/chef-ingredient).
## Requirements
### Platforms
- RHEL/CentOS and derivatives
- Fedora
### Chef
- Chef 11+
### Cookbooks
- yum version 3.2.0 or higher
## Attributes
The `attributes/default.rb` file contains comments with all the attributes that can be set to control how this cookbook sets up the repository.
## Recipes
### default
Uses the attributes in `attributes/default.rb` to control how the repository is configured.
### current
Hard-codes Chef's public "current" repository. Used for situations where both stable and current repositories are desired.
### stable
Hard-codes Chef's public "stable" repository. Used for situations where both stable and current repositories are desired.
## License and Author
**Author:** Cookbook Engineering Team ([cookbooks@chef.io](mailto:cookbooks@chef.io))
**Copyright:** 2011-2015, Chef Software, Inc.
```
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
node.default['yum-chef'].tap do |yum|
# The name of the repository, the configuration will be written to
# /etc/yum/repos.d/repositoryid.repo
yum['repositoryid'] = 'chef-stable'
# The baseurl setting for the repository. This is calculated using the major
# number part of the node's platform version. Must be a supported major version.
# See https://docs.chef.io/supported_platforms.html
yum['baseurl'] = "https://packagecloud.io/chef/stable/el/#{node['platform_version'].split('.').first}/$basearch"
# Use the local copy of the Chef public GPG key if we're on a Chef Server.
# This is to preserve compatibility with the `chef-server-ctl install` command.
# Otherwise, retrieve the public key from Chef's downloads page.
yum['gpgkey'] = if File.exist?('/opt/opscode/embedded/keys/packages-chef-io-public.key')
'file:///opt/opscode/embedded/keys/packages-chef-io-public.key'
else
'https://downloads.chef.io/packages-chef-io-public.key'
end
# The path to the CA certificates used to verify SSL
yum['sslcacert'] = '/etc/pki/tls/certs/ca-bundle.crt'
# If a proxy is required, specify the URI as a string.
# e.g., "http://proxy.example.com:3128"
# Specify the username and password if required.
yum['proxy'] = nil
yum['proxy_username'] = nil
yum['proxy_password'] = nil
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000265e710 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/resources/repository.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000265eaf8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000026a6970 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/resources/preference.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000026a6bf0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000002625988 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/providers/preference.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000002625af0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000263a1f8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt-chef/metadata.json", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000263a7c0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum-chef/recipes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: yum-chef
# Recipe:: current
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
yum_repository 'chef-current' do
description 'Chef chef-current repository'
baseurl "https://packagecloud.io/chef/current/el/#{node['platform_version'].split('.').first}/$basearch"
gpgkey node['yum-chef']['gpgkey']
sslcacert node['yum-chef']['sslcacert']
proxy node['yum-chef']['proxy']
proxy_username node['yum-chef']['proxy_username']
proxy_password node['yum-chef']['proxy_password']
sslverify true
gpgcheck true
action :create
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: yum-chef
# Recipe:: stable
#
# Author:: Joshua Timberman <joshua@chef.io>
# Copyright (c) 2015, Chef Software, Inc. <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
yum_repository 'chef-stable' do
description 'Chef chef-stable repository'
baseurl "https://packagecloud.io/chef/stable/el/#{node['platform_version'].split('.').first}/$basearch"
gpgkey node['yum-chef']['gpgkey']
sslcacert node['yum-chef']['sslcacert']
proxy node['yum-chef']['proxy']
proxy_username node['yum-chef']['proxy_username']
proxy_password node['yum-chef']['proxy_password']
sslverify true
gpgcheck true
action :create
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum-chef/recipes/current.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum-chef/recipes
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Provider:: preference
#
# Copyright 2010-2011, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
use_inline_resources if defined?(use_inline_resources)
def whyrun_supported?
true
end
# Build preferences.d file contents
def build_pref(package_name, pin, pin_priority)
"Package: #{package_name}\nPin: #{pin}\nPin-Priority: #{pin_priority}\n"
end
def safe_name(name)
name.tr('.', '_').gsub('*', 'wildcard')
end
action :add do
preference = build_pref(
new_resource.glob || new_resource.package_name,
new_resource.pin,
new_resource.pin_priority
)
directory '/etc/apt/preferences.d' do
owner 'root'
group 'root'
mode 00755
recursive true
action :create
end
name = safe_name(new_resource.name)
file "/etc/apt/preferences.d/#{new_resource.name}.pref" do
action :delete
if ::File.exist?("/etc/apt/preferences.d/#{new_resource.name}.pref")
Chef::Log.warn "Replacing #{new_resource.name}.pref with #{name}.pref in /etc/apt/preferences.d/"
end
only_if { name != new_resource.name }
end
file "/etc/apt/preferences.d/#{new_resource.name}" do
action :delete
if ::File.exist?("/etc/apt/preferences.d/#{new_resource.name}")
Chef::Log.warn "Replacing #{new_resource.name} with #{new_resource.name}.pref in /etc/apt/preferences.d/"
end
end
file "/etc/apt/preferences.d/#{name}.pref" do
owner 'root'
group 'root'
mode 00644
content preference
action :create
end
end
action :remove do
name = safe_name(new_resource.name)
if ::File.exist?("/etc/apt/preferences.d/#{name}.pref")
Chef::Log.info "Un-pinning #{name} from /etc/apt/preferences.d/"
file "/etc/apt/preferences.d/#{name}.pref" do
action :delete
end
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Resource:: repository
#
# Copyright 2010-2013, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
actions :add, :remove
default_action :add if defined?(default_action) # Chef > 10.8
# Needed for Chef versions < 0.10.10
def initialize(*args)
super
@action = :add
end
state_attrs :arch,
:cache_rebuild,
:components,
:cookbook,
:deb_src,
:distribution,
:key,
:keyserver,
oxy,
:repo_name,
:trusted,
:uri,
:sensitive
# name of the repo, used for source.list filename
attribute :repo_name, kind_of: String, name_attribute: true, regex: [/^([a-z]|[A-Z]|[0-9]|_|-|\.)+$/]
attribute :uri, kind_of: String
attribute :distribution, kind_of: String
attribute :components, kind_of: Array, default: []
attribute :arch, kind_of: String, default: nil
attribute :trusted, kind_of: [TrueClass, FalseClass], default: false
# whether or not to add the repository as a source repo as well
attribute :deb_src, default: false
attribute :keyserver, kind_of: String, default: nil
attribute :key, kind_of: String, default: nil
attribute :key_proxy, kind_of: String, default: node['apt']['key_proxy']
attribute :cookbook, kind_of: String, default: nil
# trigger cache rebuild
# If not you can trigger in the recipe itself after checking the status of resource.updated{_by_last_action}?
attribute :cache_rebuild, kind_of: [TrueClass, FalseClass], default: true
# Hide content of the source file, don't show output for commands being run, etc.
attribute :sensitive, kind_of: [TrueClass, FalseClass], default: false
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/resources/repository.rb to tempfile /tmp/chef-rest20160109-1485-ogsru3
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/resources/repository.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/resources
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/providers/preference.rb to tempfile /tmp/chef-rest20160109-1485-6utfwz
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
alling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum-chef/recipes/stable.rb to tempfile /tmp/chef-rest20160109-1485-17f3b44
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum-chef/recipes/stable.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
ory. Used for situations where both stable and current repositories are desired.\n\n## A Note About Proxies\n\nIf an HTTP proxy is required to reach the configured repository, then that can be managed outside this cookbook using an apt preferences file. A very simple example can be rendered with a file resource:\n\n```ruby\nfile '/etc/apt/apt.conf.d/01proxy' do\n content 'Acquire::http::Proxy \"http://proxy.example.com:3128\";'\nend\n```\n\nSee the [apt preferences documentation](https://wiki.debian.org/AptConf) for more information and configurable options.\n\n## License & Authors\n\n**Author:** Cookbook Engineering Team (<cookbooks@chef.io>)\n\n**Copyright:** 2008-2015, Chef Software, 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```\n","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"ubuntu":">= 0.0.0"},"dependencies":{"apt":">= 0.0.0"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}}
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt-chef/metadata.json to tempfile /tmp/chef-rest20160109-1485-5aeu0w
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt-chef/metadata.json in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000001bdab40 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/providers/repository.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000001bdae88>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000001b36d38 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/recipes/unattended-upgrades.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000001b36ec8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000001ad1618 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/recipes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000001ad1c08>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Resource:: preference
#
# Copyright 2010-2013, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
actions :add, :remove
default_action :add if defined?(default_action) # Chef > 10.8
# Needed for Chef versions < 0.10.10
def initialize(*args)
super
@action = :add
end
state_attrs :glob,
:package_name,
:pin,
:pin_priority
attribute :package_name, kind_of: String, name_attribute: true, regex: [/^([a-z]|[A-Z]|[0-9]|_|-|\.|\*)+$/]
attribute :glob, kind_of: String
attribute :pin, kind_of: String
attribute :pin_priority, kind_of: String
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum-chef/README.md in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum-chef/attributes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/resources/preference.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/providers/preference.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum-chef/attributes
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Recipe:: unattended-upgrades
#
# Copyright 2014, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an 'AS IS' BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# On systems where apt is not installed, the resources in this recipe are not
# executed. However, they _must_ still be present in the resource collection
# or other cookbooks which notify these resources will fail on non-apt-enabled
# systems.
#
package 'unattended-upgrades' do
response_file 'unattended-upgrades.seed.erb'
action :install
end
package 'bsd-mailx' do
only_if { node['apt']['unattended_upgrades']['mail'] }
end
template '/etc/apt/apt.conf.d/20auto-upgrades' do
owner 'root'
group 'root'
mode '644'
source '20auto-upgrades.erb'
end
template '/etc/apt/apt.conf.d/50unattended-upgrades' do
owner 'root'
group 'root'
mode '644'
source '50unattended-upgrades.erb'
end
--- END RESPONSE ---
- apt-chef (0.2.2)
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum-chef/metadata.json in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/unattended-upgrades.rb to tempfile /tmp/chef-rest20160109-1485-1j6jss0
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Recipe:: cacher-client
#
# Copyright 2011-2013 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class ::Chef::Recipe
include ::Apt
end
# remove Acquire::http::Proxy lines from /etc/apt/apt.conf since we use 01proxy
# these are leftover from preseed installs
execute 'Remove proxy from /etc/apt/apt.conf' do
command "sed --in-place '/^Acquire::http::Proxy/d' /etc/apt/apt.conf"
only_if 'grep Acquire::http::Proxy /etc/apt/apt.conf'
end
servers = []
if node['apt']
if node['apt']['cacher_ipaddress']
cacher = Chef::Node.new
cacher.default.name = node['apt']['cacher_ipaddress']
cacher.default.ipaddress = node['apt']['cacher_ipaddress']
cacher.default.apt.cacher_port = node['apt']['cacher_port']
cacher.default.apt.cacher_interface = node['apt']['cacher_interface']
cacher.default.apt.cacher_ssl_support = node['apt']['cacher_ssl_support']
elsif node['apt']['caching_server']
node.override['apt']['compiletime'] = false
servers << node
end
end
unless Chef::Config[:solo] || servers.length > 0
query = 'apt_caching_server:true'
query += " AND chef_environment:#{node.chef_environment}" if node['apt']['cacher-client']['restrict_environment']
Chef::Log.debug("apt::cacher-client searching for '#{query}'")
servers += search(:node, query)
end
if servers.length > 0
Chef::Log.info("apt-cacher-ng server found on #{servers[0]}.")
if servers[0]['apt']['cacher_interface']
cacher_ipaddress = interface_ipaddress(servers[0], servers[0]['apt']['cacher_interface'])
else
cacher_ipaddress = servers[0].ipaddress
end
t = template '/etc/apt/apt.conf.d/01proxy' do
source '01proxy.erb'
owner 'root'
group 'root'
mode 00644
variables(
proxy: cacher_ipaddress,
port: servers[0]['apt']['cacher_port'],
proxy_ssl: servers[0]['apt']['cacher_ssl_support'],
bypass: node['apt']['cache_bypass']
)
action(node['apt']['compiletime'] ? :nothing : :create)
notifies :run, 'execute[apt-get update]', :immediately
end
t.run_action(:create) if node['apt']['compiletime']
else
Chef::Log.info('No apt-cacher-ng server found.')
file '/etc/apt/apt.conf.d/01proxy' do
action :delete
end
end
include_recipe 'apt::default'
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Provider:: repository
#
# Copyright 2010-2011, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
use_inline_resources if defined?(use_inline_resources)
def whyrun_supported?
true
end
# install apt key from keyserver
def install_key_from_keyserver(key, keyserver, key_proxy)
execute "install-key #{key}" do
if keyserver.start_with?('hkp://')
command "apt-key adv --keyserver #{keyserver} --recv #{key}"
elsif key_proxy.empty?
command "apt-key adv --keyserver hkp://#{keyserver}:80 --recv #{key}"
else
command "apt-key adv --keyserver-options http-proxy=#{key_proxy} --keyserver hkp://#{keyserver}:80 --recv #{key}"
end
sensitive new_resource.sensitive if respond_to?(:sensitive)
action :run
not_if do
key_present = extract_fingerprints_from_cmd('apt-key finger').any? do |fingerprint|
fingerprint.end_with?(key.upcase)
end
key_present && key_is_valid('apt-key list', key.upcase)
end
end
ruby_block "validate-key #{key}" do
block do
fail "The key #{key} is no longer valid and cannot be used for an apt repository."
end
not_if { key_is_valid('apt-key list', key.upcase) }
end
end
# run command and extract gpg ids
def extract_fingerprints_from_cmd(cmd)
so = Mixlib::ShellOut.new(cmd, env: { 'LANG' => 'en_US', 'LANGUAGE' => 'en_US' })
so.run_command
so.stdout.split(/\n/).map do |t|
if z = t.match(/^ +Key fingerprint = ([0-9A-F ]+)/)
z[1].split.join
end
end.compact
end
# determine whether apt thinks the key is still valid
def key_is_valid(cmd, key)
valid = true
so = Mixlib::ShellOut.new(cmd, env: { 'LANG' => 'en_US', 'LANGUAGE' => 'en_US' })
so.run_command
# rubocop:disable Style/Next
so.stdout.split(/\n/).map do |t|
if t.match(%r{^\/#{key}.*\[expired: .*\]$})
Chef::Log.debug "Found expired key: #{t}"
valid = false
break
end
end
Chef::Log.debug "key #{key} validity: #{valid}"
valid
end
# install apt key from URI
def install_key_from_uri(uri)
key_name = uri.split(%r{\/}).last
cached_keyfile = "#{Chef::Config[:file_cache_path]}/#{key_name}"
if new_resource.key =~ /http/
remote_file cached_keyfile do
source new_resource.key
mode 00644
sensitive new_resource.sensitive if respond_to?(:sensitive)
action :create
end
else
cookbook_file cached_keyfile do
source new_resource.key
cookbook new_resource.cookbook
mode 00644
sensitive new_resource.sensitive if respond_to?(:sensitive)
action :create
end
ruby_block "validate-key #{cached_keyfile}" do
block do
fail "The key #{cached_keyfile} is no longer valid and cannot be used for an apt repository." unless key_is_valid("gpg #{cached_keyfile}", '')
end
end
end
execute "install-key #{key_name}" do
command "apt-key add #{cached_keyfile}"
sensitive new_resource.sensitive if respond_to?(:sensitive)
action :run
not_if do
installed_keys = extract_fingerprints_from_cmd('apt-key finger')
proposed_keys = extract_fingerprints_from_cmd("gpg --with-fingerprint #{cached_keyfile}")
(installed_keys & proposed_keys).sort == proposed_keys.sort
end
end
end
# build repo file contents
def build_repo(uri, distribution, components, trusted, arch, add_deb_src)
uri = '"' + uri + '"' unless uri.start_with?("\"", "'")
components = components.join(' ') if components.respond_to?(:join)
repo_options = []
repo_opti[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
ons << "arch=#{arch}" if arch
repo_options << 'trusted=yes' if trusted
repo_opts = '[' + repo_options.join(' ') + ']' unless repo_options.empty?
repo_info = "#{repo_opts} #{uri} #{distribution} #{components}\n".lstrip
repo = "deb #{repo_info}"
repo << "deb-src #{repo_info}" if add_deb_src
repo
end
def get_ppa_key(ppa_owner, ppa_repo, key_proxy)
# Launchpad has currently only one stable API which is marked as EOL April 2015.
# The new api in devel still uses the same api call for +archive, so I made the version
# configurable to provide some sort of workaround if api 1.0 ceases to exist.
# See https://launchpad.net/+apidoc/
launchpad_ppa_api = "https://launchpad.net/api/#{node['apt']['launchpad_api_version']}/~%s/+archive/%s"
default_keyserver = 'keyserver.ubuntu.com'
require 'open-uri'
print", ppa_owner, ppa_repo)
begin
key_id = open(api_query).read.delete('"')
rescue OpenURI::HTTPError => e
error = 'Could not access launchpad ppa key api: HttpError: ' + e.message
raise error
rescue SocketError => e
error = 'Could not access launchpad ppa key api: SocketError: ' + e.message
raise error
end
install_key_from_keyserver(key_id, default_keyserver, key_proxy)
end
# fetch ppa key, return full repo url
def get_ppa_url(ppa, key_proxy)
repo_schema = 'http://ppa.launchpad.net/%s/%s/ubuntu'
# ppa:user/repo logic ported from
# http://bazaar.launchpad.net/~ubuntu-core-dev/software-properties/main/view/head:/softwareproperties/ppa.py#L86
return false unless ppa.start_with?('ppa:')
ppa_name = ppa.split(':')[1]
ppa_owner = ppa_name.split('/')[0]
ppa_repo = ppa_name.split('/')[1]
ppa_repo = 'ppa' if ppa_repo.nil?
get_ppa_key(ppa_owner, ppa_repo, key_proxy)
format(repo_schema, ppa_owner, ppa_repo)
end
action :add do
# add key
if new_resource.keyserver && new_resource.key
install_key_from_keyserver(new_resource.key, new_resource.keyserver, new_resource.key_proxy)
elsif new_resource.key
install_key_from_uri(new_resource.key)
end
file '/var/lib/apt/periodic/update-success-stamp' do
action :nothing
end
execute 'apt-cache gencaches' do
ignore_failure true
action :nothing
end
execute 'apt-get update' do
command "apt-get update -o Dir::Etc::sourcelist='sources.list.d/#{new_resource.name}.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0'"
ignore_failure true
sensitive new_resource.sensitive if respond_to?(:sensitive)
action :nothing
notifies :run, 'execute[apt-cache gencaches]', :immediately
end
if new_resource.uri.start_with?('ppa:')
# build ppa repo file
repository = build_repo(
get_ppa_url(new_resource.uri, new_resource.key_proxy),
new_resource.distribution,
'main',
new_resource.trusted,
new_resource.arch,
new_resource.deb_src
else
# build repo file
repository = build_repo(
new_resource.uri,
new_resource.distribution,
new_resource.components,
new_resource.trusted,
new_resource.arch,
new_resource.deb_src
)
end
file "/etc/apt/sources.list.d/#{new_resource.name}.list" do
owner 'root'
group 'root'
mode 00644
content repository
sensitive new_resource.sensitive if respond_to?(:sensitive)
action :create
notifies :delete, 'file[/var/lib/apt/periodic/update-success-stamp]', :immediately
notifies :run, 'execute[apt-get update]', :immediately if new_resource.cache_rebuild
end
end
action :remove do
if ::File.exist?("/etc/apt/sources.list.d/#{new_resource.name}.list")
Chef::Log.info "Removing #{new_resource.name} repository from /etc/apt/sources.list.d/"
file "/etc/apt/sources.list.d/#{new_resource.name}.list" do
sensitive new_resource.sensitive if respond_to?(:sensitive)
action :delete
end
end
end
--- END RESPONSE ---
- yum-chef (0.2.2)
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/providers/repository.rb to tempfile /tmp/chef-rest20160109-1485-d3y8g
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Recipe:: default
#
# Copyright 2008-2013, Chef Software, Inc.
# Copyright 2009, Bryan McLellan <btm@loftninjas.org>
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an 'AS IS' BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# On systems where apt is not installed, the resources in this recipe are not
# executed. However, they _must_ still be present in the resource collection
# or other cookbooks which notify these resources will fail on non-apt-enabled
# systems.
Chef::Log.debug 'apt is not installed. Apt-specific resources will not be executed.' unless apt_installed?
first_run_file = File.join(Chef::Config[:file_cache_path], 'apt_compile_time_update_first_run')
file '/var/lib/apt/periodic/update-success-stamp' do
owner 'root'
group 'root'
only_if { apt_installed? }
action :nothing
end
# If compile_time_update run apt-get update at compile time
if node['apt']['compile_time_update'] && (!apt_up_to_date? || !::File.exist?(first_run_file))
e = bash 'apt-get-update at compile time' do
code <<-EOH
apt-get update
touch #{first_run_file}
EOH
ignore_failure true
only_if { apt_installed? }
action :nothing
notifies :touch, 'file[/var/lib/apt/periodic/update-success-stamp]', :immediately
end
e.run_action(:run)
end
# Updates 'apt-get update' timestamp after each update success
directory '/etc/apt/apt.conf.d' do
recursive true
end
cookbook_file '/etc/apt/apt.conf.d/15update-stamp' do
source '15update-stamp'
end
# For other recipes to call to force an update
execute 'apt-get update' do
command 'apt-get update'
ignore_failure true
only_if { apt_installed? }
action :nothing
notifies :touch, 'file[/var/lib/apt/periodic/update-success-stamp]', :immediately
end
# Automatically remove packages that are no longer needed for dependencies
execute 'apt-get autoremove' do
command 'apt-get -y autoremove'
only_if { apt_installed? }
action :nothing
end
# Automatically remove .deb files for packages no longer on your system
execute 'apt-get autoclean' do
command 'apt-get -y autoclean'
only_if { apt_installed? }
action :nothing
end
execute 'apt-get-update-periodic' do
command 'apt-get update'
ignore_failure true
only_if { apt_installed? }
not_if { apt_up_to_date? }
notifies :touch, 'file[/var/lib/apt/periodic/update-success-stamp]', :immediately
end
%w(/var/cache/local /var/cache/local/preseeding).each do |dirname|
directory dirname do
owner 'root'
group 'root'
mode 00755
action :create
only_if { apt_installed? }
end
end
template '/etc/apt/apt.conf.d/10recommends' do
owner 'root'
group 'root'
mode '644'
source '10recommends.erb'
end
package 'apt-transport-https' do
only_if { apt_installed? }
action :install
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004591e48 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/libraries/helpers.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004591f38>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004580350 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/libraries/network.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004580440>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/recipes/unattended-upgrades.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004559bb0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/files/default/apt-proxy-v2.conf", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004559cf0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/recipes/cacher-client.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/recipes
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# library:: network
#
# Copyright 2013, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
module ::Apt
def interface_ipaddress(host, interface)
if interface
addresses = host['network']['interfaces'][interface]['addresses']
addresses.select do |ip, data|
return ip if data['family'].eql?('inet')
end
else
return host.ipaddress
end
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Library:: helpers
#
# Copyright 2013 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
module Apt
# Helpers for apt
module Helpers
# Determines if apt is installed on a system.
#
# @return [Boolean]
def apt_installed?
!which('apt-get').nil?
end
# Determines whether we need to run `apt-get update`
# @return [Boolean]
def apt_up_to_date?
if ::File.exist?('/var/lib/apt/periodic/update-success-stamp') &&
::File.mtime('/var/lib/apt/periodic/update-success-stamp') > Time.now - node['apt']['periodic_update_min_delay']
true
else
false
end
end
# Finds a command in $PATH
#
# @return [String, nil]
def which(cmd)
ENV['PATH'] = '' if ENV['PATH'].nil?
paths = (ENV['PATH'].split(::File::PATH_SEPARATOR) + %w(/bin /usr/bin /sbin /usr/sbin))
paths.each do |path|
possible = File.join(path, cmd)
return possible if File.executable?(possible)
end
nil
end
end
end
Chef::Recipe.send(:include, ::Apt::Helpers)
Chef::Resource.send(:include, ::Apt::Helpers)
Chef::Provider.send(:include, ::Apt::Helpers)
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/recipes
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
if defined?(ChefSpec)
def add_apt_preference(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:apt_preference, :add, resource_name)
end
def remove_apt_preference(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:apt_preference, :remove, resource_name)
end
def add_apt_repository(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:apt_repository, :add, resource_name)
end
def remove_apt_repository(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:apt_repository, :remove, resource_name)
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/libraries/matchers.rb to tempfile /tmp/chef-rest20160109-1485-113to3l
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/recipes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
[DEFAULT]
;; All times are in seconds, but you can add a suffix
;; for minutes(m), hours(h) or days(d)
;; commented out address so apt-proxy will listen on all IPs
;; address = 127.0.0.1
port = 9999
cache_dir = /var/cache/apt-proxy
;; Control files (Packages/Sources/Contents) refresh rate
min_refresh_delay = 1s
complete_clientless_downloads = 1
;; Debugging settings.
debug = all:4 db:0
passive_ftp = on
;;--------------------------------------------------------------
;; Cache housekeeping
cleanup_freq = 1d
max_age = 120d
max_versions = 3
;;---------------------------------------------------------------
;; Backend servers
;;
;; Place each server in its own [section]
[ubuntu]
; Ubuntu archive
backends =
http://us.archive.ubuntu.com/ubuntu
[ubuntu-security]
; Ubuntu security updates
backends = http://security.ubuntu.com/ubuntu
[debian]
;; Backend servers, in order of preference
backends =
http://debian.osuosl.org/debian/
[security]
;; Debian security archive
backends =
http://security.debian.org/debian-security
http://ftp2.de.debian.org/debian-security
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/libraries/matchers.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/providers/repository.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004489618 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/recipes/cacher-ng.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004489758>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/files/default/apt-proxy-v2.conf to tempfile /tmp/chef-rest20160109-1485-15y4ye1
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004484118 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/attributes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004484208>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/libraries/network.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/libraries/helpers.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000446efc0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/templates/default/01proxy.erb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000446f088>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Recipe:: cacher-ng
#
# Copyright 2008-2013, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an 'AS IS' BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
node.set['apt']['caching_server'] = true
package 'apt-cacher-ng' do
action :install
end
directory node['apt']['cacher_dir'] do
owner 'apt-cacher-ng'
group 'apt-cacher-ng'
mode 0755
end
template '/etc/apt-cacher-ng/acng.conf' do
source 'acng.conf.erb'
owner 'root'
group 'root'
mode 00644
notifies :restart, 'service[apt-cacher-ng]', :immediately
end
service 'apt-cacher-ng' do
supports restart: true, status: false
action [:enable, :start]
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/recipes/cacher-ng.rb to tempfile /tmp/chef-rest20160109-1485-18as497
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004470668 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/templates/default/50unattended-upgrades.erb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004470780>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004411708 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/templates/default/unattended-upgrades.seed.erb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000044117d0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
<% unless node['apt']['unattended_upgrades']['allowed_origins'].empty? -%>
<% node['apt']['unattended_upgrades']['allowed_origins'].each do |origin| -%>
"<%= origin %>";
<% end -%>
};
// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
<% unless node['apt']['unattended_upgrades']['package_blacklist'].empty? -%>
<% node['apt']['unattended_upgrades']['package_blacklist'].each do |package| -%>
"<%= package %>";
<% end -%>
<% end -%>
};
// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
// dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
Unattended-Upgrade::AutoFixInterruptedDpkg "<%= node['apt']['unattended_upgrades']['auto_fix_interrupted_dpkg'] ? 'true' : 'false' %>";
// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
Unattended-Upgrade::MinimalSteps "<%= node['apt']['unattended_upgrades']['minimal_steps'] ? 'true' : 'false' %>";
// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
Unattended-Upgrade::InstallOnShutdown "<%= node['apt']['unattended_upgrades']['install_on_shutdown'] ? 'true' : 'false' %>";
// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed.
<% if node['apt']['unattended_upgrades']['mail'] -%>
Unattended-Upgrade::Mail "<%= node['apt']['unattended_upgrades']['mail'] %>";
<% end -%>
// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
Unattended-Upgrade::MailOnlyOnError "<%= node['apt']['unattended_upgrades']['mail_only_on_error'] ? 'true' : 'false' %>";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "<%= node['apt']['unattended_upgrades']['remove_unused_dependencies'] ? 'true' : 'false' %>";
// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "<%= node['apt']['unattended_upgrades']['automatic_reboot'] ? 'true' : 'false' %>";
// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
// Default: "now"
<% if node['apt']['unattended_upgrades']['automatic_reboot'] -%>
Unattended-Upgrade::Automatic-Reboot-Time "<%= node['apt']['unattended_upgrades']['automatic_reboot_time'] %>";
<% end %>
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
<% if node['apt']['unattended_upgrades']['dl_limit'] -%>
Acquire::http::Dl-Limit "<%= node['apt']['unattended_upgrades']['dl_limit'] %>";
<% end -%>
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/files/default/apt-proxy-v2.conf in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/files
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/50unattended-upgrades.erb to tempfile /tmp/chef-rest20160109-1485-ixrmsn
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: apt
# Attributes:: default
#
# Copyright 2009-2013, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
default['apt']['cacher-client']['restrict_environment'] = false
default['apt']['cacher_dir'] = '/var/cache/apt-cacher-ng'
default['apt']['cacher_interface'] = nil
default['apt']['cacher_port'] = 3142
default['apt']['cacher_ssl_support'] = false
default['apt']['caching_server'] = false
default['apt']['compiletime'] = false
default['apt']['compile_time_update'] = false
default['apt']['key_proxy'] = ''
default['apt']['cache_bypass'] = {}
default['apt']['periodic_update_min_delay'] = 86_400
default['apt']['launchpad_api_version'] = '1.0'
default['apt']['unattended_upgrades']['enable'] = false
default['apt']['unattended_upgrades']['update_package_lists'] = true
# this needs a good default
codename = node.attribute?('lsb') ? node['lsb']['codename'] : 'notlinux'
default['apt']['unattended_upgrades']['allowed_origins'] = [
"#{node['platform'].capitalize} #{codename}"
]
default['apt']['unattended_upgrades']['package_blacklist'] = []
default['apt']['unattended_upgrades']['auto_fix_interrupted_dpkg'] = false
default['apt']['unattended_upgrades']['minimal_steps'] = false
default['apt']['unattended_upgrades']['install_on_shutdown'] = false
default['apt']['unattended_upgrades']['mail'] = nil
default['apt']['unattended_upgrades']['mail_only_on_error'] = true
default['apt']['unattended_upgrades']['remove_unused_dependencies'] = false
default['apt']['unattended_upgrades']['automatic_reboot'] = false
default['apt']['unattended_upgrades']['automatic_reboot_time'] = 'now'
default['apt']['unattended_upgrades']['dl_limit'] = nil
default['apt']['confd']['install_recommends'] = true
default['apt']['confd']['install_suggests'] = false
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/attributes/default.rb to tempfile /tmp/chef-rest20160109-1485-1j5mh6e
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
unattended-upgrades unattended-upgrades/enable_auto_updates boolean <%= node['apt']['unattended_upgrades']['enable'] ? 'true' : 'false' %>
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/recipes/cacher-ng.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
Acquire::http::Proxy "http://<%= @proxy %>:<%= @port %>";
<% if @proxy_ssl %>
Acquire::https::Proxy "http://<%= @proxy %>:<%= @port %>";
<% else %>
Acquire::https::Proxy "DIRECT";
<% end %>
<% @bypass.each do |bypass, type| %>
Acquire::<%= type %>::Proxy::<%= bypass %> "DIRECT";
<% end %>
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/files/default
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/default/01proxy.erb to tempfile /tmp/chef-rest20160109-1485-1va5wic
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000043b65b0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/templates/default/10recommends.erb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000043b6678>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000043ab098 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/templates/debian-6.0/acng.conf.erb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000043ab160>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG:
ify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000439ba58 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/templates/default/acng.conf.erb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000439bb48>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000043900b8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/templates/default/20auto-upgrades.erb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000043902c0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/attributes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/templates/default/unattended-upgrades.seed.erb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/templates
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/attributes
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/templates/default
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# Letter case in directive names does not matter. Must be separated with colons.
# Valid boolean values are a zero number for false, non-zero numbers for true.
CacheDir: <%= node['apt']['cacher_dir'] %>
# set empty to disable logging
LogDir: /var/log/apt-cacher-ng
# TCP (http) port
# Set to 9999 to emulate apt-proxy
Port:<%= node['apt']['cacher_port'] %>
# Addresses or hostnames to listen on. Multiple addresses must be separated by
# spaces. Each entry must be associated with a local interface. DNS resolution
# is performed using getaddrinfo(3) for all available protocols (i.e. IPv4 and
# IPv6 if available).
#
# Default: not set, will listen on all interfaces.
#
# BindAddress: localhost 192.168.7.254 publicNameOnMainInterface
#Proxy: http://www-proxy.example.net:80
#proxy: http://username:proxypassword@proxy.example.net:3128
# Repository remapping. See manual for details.
# In this example, backends file is generated during package installation.
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu
Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # incomplete, please create this file
# Virtual page accessible in a web browser to see statistics and status
# information, i.e. under http://localhost:3142/acng-report.html
ReportPage: acng-report.html
# Socket file for accessing through local UNIX socket instead of TCP/IP. Can be
# used with inetd bridge or cron client.
# SocketPath:/var/run/apt-cacher-ng/socket
# Forces log file to be written to disk after every line when set to 1. Default
# is 0, buffer flush happens after client disconnects.
#
# (technically, this is an alias to the Debug option provided for convenience)
#
# UnbufferLogs: 0
# Set to 0 to store only type, time and transfer sizes.
# 1 -> client IP and relative local path are logged too
# VerboseLog: 1
# Don't detach from the console
# ForeGround: 0
# Store the pid of the daemon process therein
# PidFile: /var/run/apt-cacher-ng/pid
# Forbid outgoing connections, work around them or respond with 503 error
# offlinemode:0
# Forbid all downloads that don't run through preconfigured backends (.where)
#ForceManaged: 0
# Days before considering an unreferenced file expired (to be deleted).
# Warning: if the value is set too low and particular index files are not
# available for some days (mirror downtime) there is a risk of deletion of
# still usefull package files.
ExTreshold: 4
# Stop expiration when a critical problem appeared. Currently only failed
# refresh of an index file is considered as critical.
#
# WARNING: don't touch this option or set to a non-zero number.
# Anything else is DANGEROUS and may cause data loss.
#
# ExAbortOnProblems: 1
# Replace some Windows/DOS-FS incompatible chars when storing
# StupidFs: 0
# Experimental feature for apt-listbugs: pass-through SOAP requests and
# responses to/from bugs.debian.org. If not set, default is true if
# ForceManaged is enabled and false otherwise.
# ForwardBtsSoap: 1
# The daemon has a small cache for DNS data, to speed up resolution. The
# expiration time of the DNS entries can be configured in seconds.
# DnsCacheSeconds: 3600
# Don't touch the following values without good consideration!
#
# Max. count of connection threads kept ready (for faster response in the
# future). Should be a sane value between 0 and average number of connections,
# and depend on the amount of spare RAM.
# MaxStandbyConThreads: 8
#
# Hard limit of active thread count for incomming connections, i.e. operation
# is refused when this value is reached (below zero = unlimited).
# MaxConThreads: -1
#
#VfilePattern = (^|.*?/)(Index|Packages\.bz2|Packages\.gz|Packages|Release|Release\.gpg|Sources\.bz2|Sources\.gz|Sources|release|index\.db-.*\.gz|Contents-[^/]*\.gz|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*\.bz2)$
#PfilePattern = .*(\.deb|\.rpm|\.dsc|\.tar\.gz\.gpg|[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
# Whitelist for expiration, file types not to be removed even when being
# unreferenced. Default: same as VfilePattern which is a safe bed. When and
# only when the only used mirrors are official repositories (with working
# Release files) then it might be set to something more restrictive, like
# (^|.*?/)(Release|Release\.gpg|release|meta-release|Translation[^/]*\.bz2)$
#WfilePattern = (^|.*?/)(Index|Packages\.bz2|Packages\.gz|Packages|Release|Release\.gpg|Sources\.bz2|Sources\.gz|Sources|release|index\.db-.*\.gz|Contents-[^/]*\.gz|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*\.bz2)$
# Higher modes only working with the debug version
# Warning, writes a lot into apt-cacher.err logfile
# Value overwrites UnbufferLogs setting (aliased)
# Debug:3
# Usually, general purpose proxies like Squid expose the IP adress of the
# client user to the remote server using the X-Forwarded-For HTTP header. This
# behaviour can be optionally turned on with the Expose-Origin option.
# ExposeOrigin: 0
# When logging the originating IP address, trust the information supplied by
# the client in the X-Forwarded-For header.
# LogSubmittedOrigin: 0
# The version string reported to the peer, to be displayed as HTTP client (and
# version) in the logs of the mirror.
# WARNING: some archives use this header to detect/guess capabilities of the
# client (i.e. redirection support) and change the behaviour accordingly, while
# ACNG might not support the expected features. Expect side effects.
#
# UserAgent: Yet Another HTTP Client/1.2.3p4
# In some cases the Import and Expiration tasks might create fresh volatile
# data for internal use by reconstructing them using patch files. This
# by-product might be recompressed with bzip2 and with some luck the resulting
# file becomes identical to the *.bz2 file on the server, usable for APT
# clients trying to fetch the full .bz2 compressed version. Injection of the
# generated files into the cache has however a disadvantage on underpowered
# servers: bzip2 compession can create high load on the server system and the
# visible download of the busy .bz2 files also becomes slower.
#
# RecompBz2: 0
# Network timeout for outgoing connections.
# NetworkTimeout: 60
# package data to client as it comes in. DontCache parameters can enable this
# behaviour for certain URL types. The tokens are extended regular expressions
# that URLs are matched against.
#
# DontCacheRequested is applied to the URL as it comes in from the client.
# Example: exclude packages built with kernel-package for x86
# DontCacheRequested: linux-.*_10\...\.Custo._i386
# Example usecase: exclude popular private IP ranges from caching
# DontCacheRequested: 192.168.0 ^10\..* 172.30
#
# DontCacheResolved is applied to URLs after mapping to the target server. If
# multiple backend servers are specified then it's only matched against the
# download link for the FIRST possible source (due to implementation limits).
# Example usecase: all Ubuntu stuff comes from a local mirror (specified as
# backend), don't cache it again:
# DontCacheResolved: ubuntumirror.local.net
#
# DontCache directive sets (overrides) both, DontCacheResolved and
# DontCacheRequested. Provided for convenience, see those directives for
# details.
#
# Default permission set of freshly created files and directories, as octal
# numbers (see chmod(1) for details).
# Can by limited by the umask value (see umask(2) for details) if it's set in
# the environment of the starting shell, e.g. in apt-cacher-ng init script or
# in its configuration file.
# DirPerms: 00755
# FilePerms: 00664
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
--- RESPONSE (200) ---
# Managed by Chef
APT::Install-Recommends "<%= node['apt']['confd']['install_recommends'] ? 1 : 0 %>";
APT::Install-Suggests "<%= node['apt']['confd']['install_suggests'] ? 1 : 0 %>";
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000043a1e80 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/files/default/15update-stamp", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000043a1f48>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/files/default/15update-stamp to tempfile /tmp/chef-rest20160109-1485-1tgozg2
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# Letter case in directive names does not matter. Must be separated with colons.
# Valid boolean values are a zero number for false, non-zero numbers for true.
CacheDir: <%= node['apt']['cacher_dir'] %>
# set empty to disable logging
LogDir: /var/log/apt-cacher-ng
# place to look for additional configuration and resource files if they are not
# found in the configuration directory
# SupportDir: /usr/lib/apt-cacher-ng
# TCP (http) port
# Set to 9999 to emulate apt-proxy
Port:<%= node['apt']['cacher_port'] %>
# Addresses or hostnames to listen on. Multiple addresses must be separated by
# spaces. Each entry must be an exact local address which is associated with a
# local interface. DNS resolution is performed using getaddrinfo(3) for all
# available protocols (IPv4, IPv6, ...). Using a protocol specific format will
# create binding(s) only on protocol specific socket(s) (e.g. 0.0.0.0 will listen
# only to IPv4).
#
# Default: not set, will listen on all interfaces and protocols
#
# BindAddress: localhost 192.168.7.254 publicNameOnMainInterface
# The specification of another proxy which shall be used for downloads.
# Username and password are, and see manual for limitations.
#
#Proxy: http://www-proxy.example.net:80
#proxy: username:proxypassword@proxy.example.net:3128
# Repository remapping. See manual for details.
# In this example, some backends files might be generated during package
# installation using information collected on the system.
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian Archives
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu Archives
Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol # Debian Volatile Archives
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # incomplete, please create this file or specify preferred mirrors here
Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please create this file or specify preferred mirrors here
Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch Linux
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-epel: file:epel_mirrors # Fedora EPEL
Remap-slrep: file:sl_mirrors # Scientific Linux
# This is usually not needed for security.debian.org because it's always the
# same DNS hostname. However, it might be enabled in order to use hooks,
# ForceManaged mode or special flags in this context.
# Remap-secdeb: security.debian.org
# Virtual page accessible in a web browser to see statistics and status
# information, i.e. under http://localhost:3142/acng-report.html
ReportPage: acng-report.html
# Socket file for accessing through local UNIX socket instead of TCP/IP. Can be
# used with inetd bridge or cron client.
# SocketPath:/var/run/apt-cacher-ng/socket
# Forces log file to be written to disk after every line when set to 1. Default
# is 0, buffers are flushed when the client disconnects.
#
# (technically, alias to the Debug option, see its documentation for details)
#
# UnbufferLogs: 0
# Set to 0 to store only type, time and transfer sizes.
# 1 -> client IP and relative local path are logged too
# VerboseLog: 1
# Don't detach from the console
# ForeGround: 0
# Store the pid of the daemon process therein
# PidFile: /var/run/apt-cacher-ng/pid
# Forbid outgoing connections, work around them or respond with 503 error
# offlinemode:0
# Forbid all downloads that don't run through preconfigured backends (.where)
#ForceManaged: 0
# Days before considering an unreferenced file expired (to be deleted).
# Warning: if the value is set too low and particular index files are not
# available for some days (mirror downtime) there is a risk of deletion of
# still useful package files.
ExTreshold: 4
# Stop expiration when a critical problem appeared. Currently only failed
# refresh of an index file is considered as critical.
#
# WARNING: don't touch this option or set to zero.
# Anything else is DANGEROUS and may cause data loss.
#
# ExAbortOnProblems: 1
# Replace some Windows/DOS-FS incompatible chars when storing
# StupidFs: 0
# Experimental feature for apt-listbugs: pass-through SOAP requests and
# responses to/from bugs.debian.org. If not set, default is true if
# ForceManaged is enabled and false otherwise.
# ForwardBtsSoap: 1
# The daemon has a small cache for DNS data, to speed up resolution. The
# expiration time of the DNS entries can be configured in seconds.
# DnsCacheSeconds: 3600
# Don't touch the following values without good consideration!
#
# Max. count of connection threads kept ready (for faster response in the
# future). Should be a sane value between 0 and average number of connections,
# and depend on the amount of spare RAM.
# MaxStandbyConThreads: 8
#
# Hard limit of active thread count for incoming connections, i.e. operation
# is refused when this value is reached (below zero = unlimited).
# MaxConThreads: -1
#
# Pigeonholing files with regular expressions (static/volatile). Can be
# overriden here but not should not be done permanently because future update
# of default settings would not be applied later.
# VfilePattern = (^|.*?/)(Index|Packages(\.gz|\.bz2|\.lzma|\.xz)?|InRelease|Release|Release\.gpg|Sources(\.gz|\.bz2|\.lzma|\.xz)?|release|index\.db-.*\.gz|Contents-[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|((setup|setup-legacy)(\.ini|\.bz2|\.hint)(\.sig)?)|mirrors\.lst|repo(index|md)\.xml(\.asc|\.key)?|directory\.yast|products|content(\.asc|\.key)?|media|filelists\.xml\.gz|filelists\.sqlite\.bz2|repomd\.xml|packages\.[a-zA-Z][a-zA-Z]\.gz|info\.txt|license\.tar\.gz|license\.zip|.*\.db(\.tar\.gz)?|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|metalink\?repo|.*prestodelta\.xml\.gz)$|/dists/.*/installer-[^/]+/[^0-9][^/]+/images/.*
download.*)?|/dists/.*/installer-[^/]+/[0-9][^/]+/images/.*)$
# Whitelist for expiration, file types not to be removed even when being
# unreferenced. Default: many parts from VfilePattern where no parent index
# exists or might be unknown.
# WfilePattern = (^|.*?/)(Release|InRelease|Release\.gpg|(Packages|Sources)(\.gz|\.bz2|\.lzma|\.xz)?|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|.*\.xml|.*\.db\.tar\.gz|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|[a-z]+32.exe)$|/dists/.*/installer-.*/images/.*
# Higher modes only working with the debug version
# Warning, writes a lot into apt-cacher.err logfile
# Value overwrites UnbufferLogs setting (aliased)
# Debug:3
# Usually, general purpose proxies like Squid expose the IP address of the
# client user to the remote server using the X-Forwarded-For HTTP header. This
# behaviour can be optionally turned on with the Expose-Origin option.
# ExposeOrigin: 0
# When logging the originating IP address, trust the information supplied by
# the client in the X-Forwarded-For header.
# LogSubmittedOrigin: 0
# The version string reported to the peer, to be displayed as HTTP client (and
# version) in the logs of the mirror.
# WARNING: some archives use this header to detect/guess capabilities of the
# client (i.e. redirection support) and change the behaviour accordingly, while
# ACNG might not support the expected features. Expect side effects.
#
# UserAgent: Yet Another HTTP Client/1.2.3p4
# In some cases the Import and Expiration tasks might create fresh volatile
# data for internal use by reconstructing them using patch files. This
# by-product might be recompressed with bzip2 and with some luck the resulting
# file becomes identical to the *.bz2 file on the server, usable for APT
# clients trying to fetch the full .bz2 compressed version. Injection of the
# generated files into the cache has however a disadvantage on underpowered
# servers: bzip2 compression can create high load on the server system and the
# visible download of the busy .bz2 files also becomes slower.
#
# RecompBz2: 0
# Network timeout for outgoing connections.
# NetworkTimeout: 60
# Sometimes it makes sense to not store the data in cache and just return the
# package data to client as it comes in. DontCache parameters can enable this
# behaviour for certain URL types. The tokens are extended regular expressions
# that URLs are matched against.
#
# DontCacheRequested is applied to the URL as it comes in from the client.
# Example: exclude packages built with kernel-package for x86
# DontCacheRequested: linux-.*_10\...\.Custo._i386
# Example usecase: exclude popular private IP ranges from caching
# DontCacheRequested: 192.168.0 ^10\..* 172.30
#
# DontCacheResolved is applied to URLs after mapping to the target server. If
# multiple backend servers are specified then it's only matched against the
# download link for the FIRST possible source (due to implementation limits).
# Example usecase: all Ubuntu stuff comes from a local mirror (specified as
# backend), don't cache it again:
# DontCacheResolved: ubuntumirror.local.net
#
# DontCache directive sets (overrides) both, DontCacheResolved and
# DontCacheRequested. Provided for convenience, see those directives for
# details.
#
# Default permission set of freshly created files and directories, as octal
# numbers (see chmod(1) for details).
# Can by limited by the umask value (see umask(2) for details) if it's set in
# the environment of the starting shell, e.g. in apt-cacher-ng init script or
# in its configuration file.
# DirPerms: 00755
# FilePerms: 00664
#
#
# It's possible to use use apt-cacher-ng as a regular web server with limited
# feature set, i.e.
# including directory browsing and download of any file;
# excluding sorting, mime types/encodings, CGI execution, index page
# redirection and other funny things.
# To get this behavior, mappings between virtual directories and real
# directories on the server must be defined with the LocalDirs directive.
# Virtual and real dirs are separated by spaces, multiple pairs are separated
# by semi-colons. Real directories must be absolute paths.
# NOTE: Since the names of that key directories share the same namespace as
# repository names (see Remap-...) it's administrators job to avoid such
# collisions on them (unless created deliberately).
#
# LocalDirs: woo /data/debarchive/woody ; hamm /data/debarchive/hamm
# Precache a set of files referenced by specified index files. This can be used
# to create a partial mirror usable for offline work. There are certain limits
# and restrictions on the path specification, see manual for details. A list of
# (maybe) relevant index files could be retrieved via
# "apt-get --print-uris update" on a client machine.
#
# PrecacheFor: debrep/dists/unstable/*/source/Sources* debrep/dists/unstable/*/binary-amd64/Packages*
# Arbitrary set of data to append to request headers sent over the wire. Should
# be a well formated HTTP headers part including newlines (DOS style) which
# can be entered as escape sequences (\r\n).
# RequestAppendix: X-Tracking-Choice: do-not-track\r\n
# Specifies the IP protocol families to use for remote connections. Order does
# matter, first specified are considered first. Possible combinations:
# v6 v4
# v4 v6
# v6
# v4
# (empty or not set: use system default)
#
# ConnectProto: v6 v4
# Regular expiration algorithm finds package files which are no longer listed
# in any index file and removes them of them after a safety period.
# This option allows to keep more versions of a package in the cache after
# safety period is over.
# KeepExtraVersions: 1
# Optionally uses TCP access control provided by libwrap, see hosts_access(5)
# for details. Daemon name is apt-cacher-ng. Default if not set: decided on
# startup by looking for explicit mentioning of apt-cacher-ng in
# /etc/hosts.allow or /etc/hosts.deny files.
# UseWrap: 0
# If many machines from the same local network attempt to update index files
# (apt-get update) at nearly the same time, the known state of these index file
# is temporarily frozen and multiple requests receive the cached response
# without contacting the server. This parameter (in seconds) specifies the
# length of this period before the files are considered outdated.
# Setting it too low transfers more data and increases remote server load,
# setting it too high (more than a couple of minutes) increases the risk of
# delivering inconsistent responses to the clients.
# FreshIndexMaxAge: 27
# Usually the users are not allowed to specify custom TCP ports of remote
only the default HTTP port can be used (instead,
# proxy administrator can create Remap- rules with custom ports). This
# restriction can be disabled by specifying a list of allowed ports or 0 for
# any port.
#
# AllowUserPorts: 80
# Normally the HTTP redirection responses are forwarded to the original caller
# (i.e. APT) which starts a new download attempt from the new URL. This
# solution is ok for client configurations with proxy mode but doesn't work
# well with configurations using URL prefixes. To work around this the server
# can restart its own download with another URL. However, this might be used to
# circumvent download source policies by malicious users.
# The RedirMax option specifies how many such redirects the server should
# follow per request, 0 disables the internal redirection. If not set,
# default value is 0 if ForceManaged is used and 5 otherwise.
#
# RedirMax: 5
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/files/default/15update-stamp in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/templates/default/01proxy.erb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/templates/default/acng.conf.erb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x000000042b2628 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum/resources/repository.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000042b26f0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: yum
# Resource:: repository
#
# Author:: Sean OMeara <someara@chef.io>
# Copyright 2013, Chef
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
actions :create, :delete, :add, :remove, :makecache
default_action :create
# http://linux.die.net/man/5/yum.conf
attribute :baseurl, kind_of: String, regex: /.*/, default: nil
attribute :cost, kind_of: String, regex: /^\d+$/, default: nil
attribute :clean_headers, kind_of: [TrueClass, FalseClass], default: false # deprecated
attribute :clean_metadata, kind_of: [TrueClass, FalseClass], default: true
attribute :description, kind_of: String, regex: /.*/, default: 'Ye Ole Rpm Repo'
attribute :enabled, kind_of: [TrueClass, FalseClass], default: true
attribute :enablegroups, kind_of: [TrueClass, FalseClass], default: nil
attribute :exclude, kind_of: String, regex: /.*/, default: nil
attribute :failovermethod, kind_of: String, equal_to: %w(priority roundrobin), default: nil
attribute :fastestmirror_enabled, kind_of: [TrueClass, FalseClass], default: nil
attribute :gpgcheck, kind_of: [TrueClass, FalseClass], default: true
attribute :gpgkey, kind_of: [String, Array], regex: /.*/, default: nil
attribute :http_caching, kind_of: String, equal_to: %w(packages all none), default: nil
attribute :include_config, kind_of: String, regex: /.*/, default: nil
attribute :includepkgs, kind_of: String, regex: /.*/, default: nil
attribute :keepalive, kind_of: [TrueClass, FalseClass], default: nil
attribute :make_cache, kind_of: [TrueClass, FalseClass], default: true
attribute :max_retries, kind_of: [String, Integer], default: nil
attribute :metadata_expire, kind_of: String, regex: [/^\d+$/, /^\d+[mhd]$/, /never/], default: nil
attribute :mirrorexpire, kind_of: String, regex: /.*/, default: nil
attribute :mirrorlist, kind_of: String, regex: /.*/, default: nil
attribute :mirror_expire, kind_of: String, regex: [/^\d+$/, /^\d+[mhd]$/], default: nil
attribute :mirrorlist_expire, kind_of: String, regex: [/^\d+$/, /^\d+[mhd]$/], default: nil
attribute :mode, default: '0644'
attribute :priority, kind_of: String, regex: /^(\d?[0-9]|[0-9][0-9])$/, default: nil
attribute :proxy, kind_of: String, regex: /.*/, default: nil
attribute :proxy_username, kind_of: String, regex: /.*/, default: nil
attribute :proxy_password, kind_of: String, regex: /.*/, default: nil
attribute :username, kind_of: String, regex: /.*/, default: nil
attribute :password, kind_of: String, regex: /.*/, default: nil
attribute :repo_gpgcheck, kind_of: [TrueClass, FalseClass], default: nil
attribute :report_instanceid, kind_of: [TrueClass, FalseClass], default: nil
attribute :repositoryid, kind_of: String, regex: /.*/, name_attribute: true
attribute :skip_if_unavailable, kind_of: [TrueClass, FalseClass], default: nil
attribute :source, kind_of: String, regex: /.*/, default: nil
attribute :sslcacert, kind_of: String, regex: /.*/, default: nil
attribute :sslclientcert, kind_of: String, regex: /.*/, default: nil
attribute :sslclientkey, kind_of: String, regex: /.*/, default: nil
attribute :sslverify, kind_of: [TrueClass, FalseClass], default: nil
attribute :timeout, kind_of: String, regex: /^\d+$/, default: nil
attribute :options, kind_of: Hash
alias_method :url, :baseurl
alias_method :keyurl, :gpgkey
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/resources/repository.rb to tempfile /tmp/chef-rest20160109-1485-1hoy5aj
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000430e7e8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000430e8d8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
APT::Periodic::Update-Package-Lists "<%= node['apt']['unattended_upgrades']['update_package_lists'] ? 1 : 0 %>";
APT::Periodic::Unattended-Upgrade "<%= node['apt']['unattended_upgrades']['enable'] ? 1 : 0 %>";
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004252138 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/README.md", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004252278>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000422ac28 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum/providers/repository.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000422ae30>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: yum
# Resource:: repository
#
# Author:: Sean OMeara <someara@chef.io>
# Copyright 2013, Chef
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
actions :create, :delete
default_action :create
# http://linux.die.net/man/5/yum.conf
attribute :alwaysprompt, kind_of: [TrueClass, FalseClass], default: nil
attribute :assumeyes, kind_of: [TrueClass, FalseClass], default: nil
attribute :bandwidth, kind_of: String, regex: /^\d+/, default: nil
attribute :bugtracker_url, kind_of: String, regex: /.*/, default: nil
attribute :clean_requirements_on_remove, kind_of: [TrueClass, FalseClass], default: nil
attribute :cachedir, kind_of: String, regex: /.*/, default: '/var/cache/yum/$basearch/$releasever'
attribute :color, kind_of: String, equal_to: %w(always never), default: nil
attribute :color_list_available_downgrade, kind_of: String, regex: /.*/, default: nil
attribute :color_list_available_install, kind_of: String, regex: /.*/, default: nil
attribute :color_list_available_reinstall, kind_of: String, regex: /.*/, default: nil
attribute :color_list_available_upgrade, kind_of: String, regex: /.*/, default: nil
attribute :color_list_installed_extra, kind_of: String, regex: /.*/, default: nil
attribute :color_list_installed_newer, kind_of: String, regex: /.*/, default: nil
attribute :color_list_installed_older, kind_of: String, regex: /.*/, default: nil
attribute :color_list_installed_reinstall, kind_of: String, regex: /.*/, default: nil
attribute :color_search_match, kind_of: String, regex: /.*/, default: nil
attribute :color_update_installed, kind_of: String, regex: /.*/, default: nil
attribute :color_update_local, kind_of: String, regex: /.*/, default: nil
attribute :color_update_remote, kind_of: String, regex: /.*/, default: nil
attribute :commands, kind_of: String, regex: /.*/, default: nil
attribute :debuglevel, kind_of: String, regex: /^\d+$/, default: '2'
attribute :deltarpm, kind_of: [TrueClass, FalseClass], default: nil
attribute :diskspacecheck, kind_of: [TrueClass, FalseClass], default: nil
attribute :distroverpkg, kind_of: String, regex: /.*/, default: nil
attribute :enable_group_conditionals, kind_of: [TrueClass, FalseClass], default: nil
attribute :errorlevel, kind_of: String, regex: /^\d+$/, default: nil
attribute :exactarch, kind_of: [TrueClass, FalseClass], default: true
attribute :exclude, kind_of: String, regex: /.*/, default: nil
attribute :gpgcheck, kind_of: [TrueClass, FalseClass], default: true
attribute :group_package_types, kind_of: String, regex: /.*/, default: nil
attribute :groupremove_leaf_only, kind_of: [TrueClass, FalseClass], default: nil
attribute :history_list_view, kind_of: String, equal_to: %w(users commands single-user-commands), default: nil
attribute :history_record, kind_of: [TrueClass, FalseClass], default: nil
attribute :history_record_packages, kind_of: String, regex: /.*/, default: nil
attribute :http_caching, kind_of: String, equal_to: %w(packages all none), default: nil
attribute :installonly_limit, kind_of: String, regex: [/^\d+/, /keep/], default: '3'
attribute :installonlypkgs, kind_of: String, regex: /.*/, default: nil
attribute :installroot, kind_of: String, regex: /.*/, default: nil
attribute :keepalive, kind_of: [TrueClass, FalseClass], default: nil
attribute :kernelpkgnames, kind_of: String, regex: /.*/, default: nil
attribute :localpkg_gpgcheck, kind_of: [TrueClass, FalseClass], default: nil
attribute :logfile, kind_of: String, regex: /.*/, default: '/var/log/yum.log'
attribute :max_retries, kind_of: String, regex: /^\d+$/, default: nil
attribute :mdpolicy, kind_of: String, equal_to: %w(instant group:primary group:small group:main group:all), default: nil
attribute :metadata_expire, kind_of: String, regex: [/^\d+$/, /^\d+[mhd]$/, /never/], default: nil
attribute :mirrorlist_expire, kind_of: String, regex: /^\d+$/, default: nil
attribute :multilib_policy, kind_of: String, equal_to: %w(all best), default: nil
attribute :obsoletes, kind_of: [TrueClass, FalseClass], default: nil
attribute :overwrite_groups, kind_of: [TrueClass, FalseClass], default: nil
attribute :password, kind_of: String, regex: /.*/, default: nil
attribute :path, kind_of: String, regex: /.*/, name_attribute: true
attribute :persistdir, kind_of: String, regex: /.*/, default: nil
attribute :pluginconfpath, kind_of: String, regex: /.*/, default: nil
attribute :pluginpath, kind_of: String, regex: /.*/, default: nil
attribute :plugins, kind_of: [TrueClass, FalseClass], default: true
attribute :protected_multilib, kind_of: [TrueClass, FalseClass], default: nil
attribute :protected_packages, kind_of: String, regex: /.*/, default: nil
attribute :proxy, kind_of: String, regex: /.*/, default: nil
attribute :proxy_password, kind_of: String, regex: /.*/, default: nil
attribute :proxy_username, kind_of: String, regex: /.*/, default: nil
attribute :recent, kind_of: String, regex: /^\d+$/, default: nil
attribute :releasever, kind_of: String, regex: /.*/, default: nil
attribute :repo_gpgcheck, kind_of: [TrueClass, FalseClass], default: nil
attribute :reposdir, kind_of: String, regex: /.*/, default: nil
attribute :reset_nice, kind_of: [TrueClass, FalseClass], default: nil
attribute :rpmverbosity, kind_of: String, equal_to: %w(info critical emergency error warn debug), default: nil
attribute :showdupesfromrepos, kind_of: [TrueClass, FalseClass], default: nil
attribute :skip_broken, kind_of: [TrueClass, FalseClass], default: nil
attribute :ssl_check_cert_permissions, kind_of: [TrueClass, FalseClass], default: nil
attribute :sslcacert, kind_of: String, regex: /.*/, default: nil
attribute :sslclientcert, kind_of: String, regex: /.*/, default: nil
attribute :sslclientkey, kind_of: String, regex: /.*/, default: nil
attribute :sslverify, kind_of: [TrueClass, FalseClass], default: nil
attribute :syslog_device, kind_of: String, regex: /.*/, default: nil
attribute :syslog_facility, kind_of: String, regex: /.*/, default: nil
attribute :syslog_ident, kind_of: String, regex: /.*/, default: nil
attribute :throttle, kind_of: String, regex: [/\d+k/, /\d+M/, /\d+G/], default: nil
attribute :timeout, kind_of: String, regex: /^\d+$/, default: nil
attribute :tolerant, kind_of: [TrueClass, FalseClass], default: nil
attribute :tsflags, kind_of: String, regex: /.*/, default: nil
attribute :username, kind_of: String, regex: /.*/, default: nil
attribute :options, kind_of: Hash
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000423e4a8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum/providers/globalconfig.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000423e778>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000420aba8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/apt/metadata.json", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000420acc0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/templates/default/20auto-upgrades.erb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
{"name":"apt","version":"2.9.2","description":"Configures apt and apt services. Ships resources for managing apt repositories","long_description":"","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"ubuntu":">= 0.0.0","debian":">= 0.0.0"},"dependencies":{},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{"apt::default":"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"}}
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/metadata.json to tempfile /tmp/chef-rest20160109-1485-1tj1p6l
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/metadata.json in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000417ea68 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum/libraries/matchers.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000417eb58>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# Matchers for chefspec 3
if defined?(ChefSpec)
def create_yum_repository(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:yum_repository, :create, resource_name)
end
def add_yum_repository(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:yum_repository, :add, resource_name)
end
def delete_yum_repository(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:yum_repository, :delete, resource_name)
end
def remove_yum_repository(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:yum_repository, :remove, resource_name)
end
def create_yum_globalconfig(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:yum_globalconfig, :create, resource_name)
end
def delete_yum_globalconfig(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:yum_globalconfig, :delete, resource_name)
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/libraries/matchers.rb to tempfile /tmp/chef-rest20160109-1485-1wcck7p
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/libraries/matchers.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum/libraries
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004127650 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum/attributes/main.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004127740>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
--- RESPONSE (200) ---
# Letter case in directive names does not matter. Must be separated with colons.
# Valid boolean values are a zero number for false, non-zero numbers for true.
# set empty to disable logging
LogDir: /var/log/apt-cacher-ng
# place to look for additional configuration and resource files if they are not
# found in the configuration directory
# SupportDir: /usr/lib/apt-cacher-ng
# TCP (http) port
# Set to 9999 to emulate apt-proxy
Port:<%= node['apt']['cacher_port'] %>
# Addresses or hostnames to listen on. Multiple addresses must be separated by
# spaces. Each entry must be an exact local address which is associated with a
# local interface. DNS resolution is performed using getaddrinfo(3) for all
# available protocols (IPv4, IPv6, ...). Using a protocol specific format will
# create binding(s) only on protocol specific socket(s) (e.g. 0.0.0.0 will listen
# only to IPv4).
#
# Default: not set, will listen on all interfaces and protocols
#
# BindAddress: localhost 192.168.7.254 publicNameOnMainInterface
# The specification of another proxy which shall be used for downloads.
# Username and password are, and see manual for limitations.
#
#Proxy: http://www-proxy.example.net:80
#proxy: username:proxypassword@proxy.example.net:3128
# Repository remapping. See manual for details.
# In this example, some backends files might be generated during package
# installation using information collected on the system.
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian Archives
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu Archives
Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol # Debian Volatile Archives
# This is usually not needed for security.debian.org because it's always the
# same DNS hostname. However, it might be enabled in order to use hooks,
# ForceManaged mode or special flags in this context.
# Remap-secdeb: security.debian.org
# Virtual page accessible in a web browser to see statistics and status
# information, i.e. under http://localhost:3142/acng-report.html
ReportPage: acng-report.html
# Socket file for accessing through local UNIX socket instead of TCP/IP. Can be
# used with inetd bridge or cron client.
# SocketPath:/var/run/apt-cacher-ng/socket
# Forces log file to be written to disk after every line when set to 1. Default
# is 0, buffers are flushed when the client disconnects.
#
# (technically, alias to the Debug option, see its documentation for details)
#
# UnbufferLogs: 0
# Set to 0 to store only type, time and transfer sizes.
# 1 -> client IP and relative local path are logged too
# VerboseLog: 1
# Don't detach from the console
# ForeGround: 0
# Store the pid of the daemon process therein
# PidFile: /var/run/apt-cacher-ng/pid
# Forbid outgoing connections, work around them or respond with 503 error
# offlinemode:0
# Forbid all downloads that don't run through preconfigured backends (.where)
#ForceManaged: 0
# Days before considering an unreferenced file expired (to be deleted).
# Warning: if the value is set too low and particular index files are not
# available for some days (mirror downtime) there is a risk of deletion of
# still useful package files.
ExTreshold: 4
# Stop expiration when a critical problem appeared. Currently only failed
# refresh of an index file is considered as critical.
#
# WARNING: don't touch this option or set to zero.
# Anything else is DANGEROUS and may cause data loss.
#
# ExAbortOnProblems: 1
# Replace some Windows/DOS-FS incompatible chars when storing
# StupidFs: 0
# Experimental feature for apt-listbugs: pass-through SOAP requests and
# responses to/from bugs.debian.org. If not set, default is true if
# ForceManaged is enabled and false otherwise.
# ForwardBtsSoap: 1
# The daemon has a small cache for DNS data, to speed up resolution. The
# expiration time of the DNS entries can be configured in seconds.
# DnsCacheSeconds: 3600
# Don't touch the following values without good conside[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
chefzero://localhost:8889/file_store/repo/cookbooks/yum/resources/globalconfig.rb to tempfile /tmp/chef-rest20160109-1485-ch42rm
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
ration!
#
# Max. count of connection threads kept ready (for faster response in the
# future). Should be a sane value between 0 and average number of connections,
# and depend on the amount of spare RAM.
# MaxStandbyConThreads: 8
#
# Hard limit of active thread count for incoming connections, i.e. operation
# is refused when this value is reached (below zero = unlimited).
# MaxConThreads: -1
# Pigeonholing files with regular expressions (static/volatile). Can be
# overriden here but not should not be done permanently because future update
# of default settings would not be applied later.
# VfilePattern = (^|.*?/)(Index|Packages(\.gz|\.bz2|\.lzma|\.xz)?|InRelease|Release|Release\.gpg|Sources(\.gz|\.bz2|\.lzma|\.xz)?|release|index\.db-.*\.gz|Contents-[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|((setup|setup-legacy)(\.ini|\.bz2|\.hint)(\.sig)?)|mirrors\.lst|repo(index|md)\.xml(\.asc|\.key)?|directory\.yast|products|content(\.asc|\.key)?|media|filelists\.xml\.gz|filelists\.sqlite\.bz2|repomd\.xml|packages\.[a-zA-Z][a-zA-Z]\.gz|info\.txt|license\.tar\.gz|license\.zip|.*\.db(\.tar\.gz)?|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|metalink\?repo|.*prestodelta\.xml\.gz)$|/dists/.*/installer-[^/]+/[^0-9][^/]+/images/.*
# PfilePattern = .*(\.d?deb|\.rpm|\.dsc|\.tar(\.gz|\.bz2|\.lzma|\.xz)(\.gpg)?|\.diff(\.gz|\.bz2|\.lzma|\.xz)|\.jigdo|\.template|changelog|copyright|\.udeb|\.debdelta|\.diff/.*\.gz|(Devel)?ReleaseAnnouncement(\?.*)?|[a-f0-9]+-(susedata|updateinfo|primary|deltainfo).xml.gz|fonts/(final/)?[a-z]+32.exe(\?download.*)?|/dists/.*/installer-[^/]+/[0-9][^/]+/images/.*)$
# Whitelist for expiration, file types not to be removed even when being
# unreferenced. Default: many parts from VfilePattern where no parent index
# exists or might be unknown.
# WfilePattern = (^|.*?/)(Release|InRelease|Release\.gpg|(Packages|Sources)(\.gz|\.bz2|\.lzma|\.xz)?|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|.*\.xml|.*\.db\.tar\.gz|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|[a-z]+32.exe)$|/dists/.*/installer-.*/images/.*
# Higher modes only working with the debug version
# Warning, writes a lot into apt-cacher.err logfile
# Value overwrites UnbufferLogs setting (aliased)
# Debug:3
# Usually, general purpose proxies like Squid expose the IP address of the
# client user to the remote server using the X-Forwarded-For HTTP header. This
# behaviour can be optionally turned on with the Expose-Origin option.
# ExposeOrigin: 0
# When logging the originating IP address, trust the information supplied by
# the client in the X-Forwarded-For header.
# LogSubmittedOrigin: 0
# The version string reported to the peer, to be displayed as HTTP client (and
# version) in the logs of the mirror.
# WARNING: some archives use this header to detect/guess capabilities of the
# client (i.e. redirection support) and change the behaviour accordingly, while
# ACNG might not support the expected features. Expect side effects.
#
# UserAgent: Yet Another HTTP Client/1.2.3p4
# In some cases the Import and Expiration tasks might create fresh volatile
# data for internal use by reconstructing them using patch files. This
# by-product might be recompressed with bzip2 and with some luck the resulting
# file becomes identical to the *.bz2 file on the server, usable for APT
# clients trying to fetch the full .bz2 compressed version. Injection of the
# generated files into the cache has however a disadvantage on underpowered
# servers: bzip2 compression can create high load on the server system and the
# visible download of the busy .bz2 files also becomes slower.
#
# RecompBz2: 0
# Network timeout for outgoing connections.
# NetworkTimeout: 60
# Sometimes it makes sense to not store the data in cache and just return the
# package data to client as it comes in. DontCache parameters can enable this
# behaviour for certain URL types. The tokens are extended regular expressions
# that URLs are matched against.
#
# DontCacheRequested is applied to the URL as it comes in from the [2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
client.
# Example: exclude packages built with kernel-package for x86
# DontCacheRequested: linux-.*_10\...\.Custo._i386
# Example usecase: exclude popular private IP ranges from caching
# DontCacheRequested: 192.168.0 ^10\..* 172.30
#
# DontCacheResolved is applied to URLs after mapping to the target server. If
# multiple backend servers are specified then it's only matched against the
# download link for the FIRST possible source (due to implementation limits).
# Example usecase: all Ubuntu stuff comes from a local mirror (specified as
# backend), don't cache it again:
# DontCacheResolved: ubuntumirror.local.net
#
# DontCache directive sets (overrides) both, DontCacheResolved and
# DontCacheRequested. Provided for convenience, see those directives for
# details.
#
# Default permission set of freshly created files and directories, as octal
# numbers (see chmod(1) for details).
# Can by limited by the umask value (see umask(2) for details) if it's set in
# the environment of the starting shell, e.g. in apt-cacher-ng init script or
# in its configuration file.
# DirPerms: 00755
# FilePerms: 00664
#
#
# It's possible to use use apt-cacher-ng as a regular web server with limited
# feature set, i.e.
# including directory browsing and download of any file;
# excluding sorting, mime types/encodings, CGI execution, index page
# To get this behavior, mappings between virtual directories and real
# directories on the server must be defined with the LocalDirs directive.
# Virtual and real dirs are separated by spaces, multiple pairs are separated
# by semi-colons. Real directories must be absolute paths.
# NOTE: Since the names of that key directories share the same namespace as
# repository names (see Remap-...) it's administrators job to avoid such
# collisions on them (unless created deliberately).
#
# LocalDirs: woo /data/debarchive/woody ; hamm /data/debarchive/hamm
# Precache a set of files referenced by specified index files. This can be used
# and restrictions on the path specification, see manual for details. A list of
# (maybe) relevant index files could be retrieved via
# "apt-get --print-uris update" on a client machine.
#
# PrecacheFor: debrep/dists/unstable/*/source/Sources* debrep/dists/unstable/*/binary-amd64/Packages*
# Arbitrary set of data to append to request headers sent over the wire. Should
# be a well formated HTTP headers part including newlines (DOS style) which
# can be entered as escape sequences (\r\n).
# RequestAppendix: X-Tracking-Choice: do-not-track\r\n
# Specifies the IP protocol families to use for remote connections. Order does
# matter, first specified are considered first. Possible combinations:
# v6 v4
# v4 v6
# v6
# v4
# (empty or not set: use system default)
#
# ConnectProto: v6 v4
# Regular expiration algorithm finds package files which are no longer listed
# in any index file and removes them of them after a safety period.
# This option allows to keep more versions of a package in the cache after
# safety period is over.
# KeepExtraVersions: 1
# Optionally uses TCP access control provided by libwrap, see hosts_access(5)
# for details. Daemon name is apt-cacher-ng. Default if not set: decided on
# startup by looking for explicit mentioning of apt-cacher-ng in
# /etc/hosts.allow or /etc/hosts.deny files.
# UseWrap: 0
# If many machines from the same local network attempt to update index files
# (apt-get update) at nearly the same time, the known state of these index file
# is temporarily frozen and multiple requests receive the cached response
# without contacting the server. This parameter (in seconds) specifies the
# length of this period before the files are considered outdated.
# Setting it too low transfers more data and increases remote server load,
# setting it too high (more than a couple of minutes) increases the risk of
# delivering inconsistent responses to the clients.
# FreshIndexMaxAge: 27
# Usually the users are not allowed to specify custom TCP ports o[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
f remote
# mirrors in the requests, only the default HTTP port can be used (instead,
# proxy administrator can create Remap- rules with custom ports). This
# restriction can be disabled by specifying a list of allowed ports or 0 for
# any port.
#
# AllowUserPorts: 80
# Normally the HTTP redirection responses are forwarded to the original caller
# (i.e. APT) which starts a new download attempt from the new URL. This
# solution is ok for client configurations with proxy mode but doesn't work
# well with configurations using URL prefixes. To work around this the server
# can restart its own download with another URL. However, this might be used to
# circumvent download source policies by malicious users.
# The RedirMax option specifies how many such redirects the server should
# follow per request, 0 disables the internal redirection. If not set,
# default value is 0 if ForceManaged is used and 5 otherwise.
#
# RedirMax: 5
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/templates/debian-6.0
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: yum
# Provider:: repository
#
# Author:: Sean OMeara <someara@chef.io>
# Copyright 2013, Chef
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# In Chef 11 and above, calling the use_inline_resources method will
# make Chef create a new "run_context". When an action is called, any
# nested resources are compiled and converged in isolation from the
# recipe that calls it.
# Allow for Chef 10 support
use_inline_resources if defined?(use_inline_resources)
def whyrun_supported?
true
end
action :create do
# Hack around the lack of "use_inline_resources" before Chef 11 by
# uniquely naming the execute[yum-makecache] resources. Set the
# notifies timing to :immediately for the same reasons. Remove both
# of these when dropping Chef 10 support.
if new_resource.clean_headers
Chef::Log.warn <<-eos
Use of `clean_headers` in resource yum[#{new_resource.repositoryid}] is now deprecated and will be removed in a future release.
`clean_metadata` should be used instead
eos
end
template "/etc/yum.repos.d/#{new_resource.repositoryid}.repo" do
if new_resource.source.nil?
source 'repo.erb'
cookbook 'yum'
else
source new_resource.source
end
mode new_resource.mode
variables(config: new_resource)
if new_resource.make_cache
notifies :run, "execute[yum clean metadata #{new_resource.repositoryid}]", :immediately if new_resource.clean_metadata || new_resource.clean_headers
notifies :run, "execute[yum-makecache-#{new_resource.repositoryid}]", :immediately
notifies :create, "ruby_block[yum-cache-reload-#{new_resource.repositoryid}]", :immediately
end
end
execute "yum clean metadata #{new_resource.repositoryid}" do
command "yum clean metadata --disablerepo=* --enablerepo=#{new_resource.repositoryid}"
action :nothing
end
# get the metadata for this repo only
execute "yum-makecache-#{new_resource.repositoryid}" do
command "yum -q -y makecache --disablerepo=* --enablerepo=#{new_resource.repositoryid}"
action :nothing
only_if { new_resource.enabled }
end
# reload internal Chef yum cache
block { Chef::Provider::Package::Yum::YumCache.instance.reload }
action :nothing
end
end
action :delete do
file "/etc/yum.repos.d/#{new_resource.repositoryid}.repo" do
action :delete
notifies :run, "execute[yum clean all #{new_resource.repositoryid}]", :immediately
notifies :create, "ruby_block[yum-cache-reload-#{new_resource.repositoryid}]", :immediately
end
execute "yum clean all #{new_resource.repositoryid}" do
command "yum clean all --disablerepo=* --enablerepo=#{new_resource.repositoryid}"
only_if "yum repolist | grep -P '^#{new_resource.repositoryid}([ \t]|$)'"
action :nothing
end
ruby_block "yum-cache-reload-#{new_resource.repositoryid}" do
block { Chef::Provider::Package::Yum::YumCache.instance.reload }
action :nothing
end
end
action :makecache do
execute "yum-makecache-#{new_resource.repositoryid}" do
command "yum -q makecache --disablerepo=* --enablerepo=#{new_resource.repositoryid}"
action :run
end
ruby_block "yum-cache-reload-#{new_resource.repositoryid}" do
block { Chef::Provider::Package::Yum::YumCache.instance.reload }
action :run
end
end
alias_method :action_add, :action_create
alias_method :action_remove, :action_delete
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/providers/repository.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb to tempfile /tmp/chef-rest20160109-1485-epuv8z
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Cookbook Name:: yum
# Provider:: repository
#
# Author:: Sean OMeara <someara@chef.io>
# Copyright 2013, Chef
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Allow for Chef 10 support
use_inline_resources if defined?(use_inline_resources)
def whyrun_supported?
true
end
action :create do
template new_resource.path do
source 'main.erb'
cookbook 'yum'
mode '0644'
variables(config: new_resource)
end
end
action :delete do
file new_resource.path do
action :delete
end
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/providers/globalconfig.rb to tempfile /tmp/chef-rest20160109-1485-7qnj7c
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
apt Cookbook
============
[![Build Status](https://img.shields.io/travis/chef-cookbooks/apt.svg)][travis]
[![Cookbook Version](https://img.shields.io/cookbook/v/apt.svg)][cookbook]
[cookbook]: https://community.chef.io/cookbooks/apt
[travis]: https://travis-ci.org/chef-cookbooks/apt
This cookbook includes recipes to execute apt-get update to ensure the local APT package cache is up to date. There are recipes for managing the apt-cacher-ng caching proxy and proxy clients. It also includes a LWRP for managing APT repositories in /etc/apt/sources.list.d as well as an LWRP for pinning packages via /etc/apt/preferences.d.
Requirements
------------
**Version 2.0.0+ of this cookbook requires Chef 11.0.0 or later**. If your Chef version is earlier than 11.0.0, use version 1.10.0 of this cookbook.
Version 1.8.2 to 1.10.0 of this cookbook requires **Chef 10.16.4** or later.
If your Chef version is earlier than 10.16.4, use version 1.7.0 of this cookbook.
### Platform
Please refer to the [TESTING file](TESTING.md) to see the currently (and passing) tested platforms. The release was tested on:
* Ubuntu 10.04
* Ubuntu 12.04
* Ubuntu 13.04
* Debian 7.1
* Debian 6.0 (have with manual testing)
May work with or without modification on other Debian derivatives.
-------
### default
This recipe manually updates the timestamp file used to only run `apt-get update` if the cache is more than one day old.
This recipe should appear first in the run list of Debian or Ubuntu nodes to ensure that the package cache is up to date before managing any `package` resources with Chef.
This recipe also sets up a local cache directory for preseeding packages.
**Including the default recipe on a node that does not support apt (such as Windows) results in a noop.**
### cacher-client
Configures the node to use the `apt-cacher-ng` server as a client.
#### Bypassing the cache
Occasionally you may come across repositories that do not play nicely when the node is using an `apt-cacher-ng` server. You can configure `cacher-client` to bypass the server and connect directly to the repository with the `cache_bypass` attribute.
To do this, you need to override the `cache_bypass` attribute with an array of repositories, with each array key as the repository URL and value as the protocol to use:
```json
{
"apt": {
"cache_bypass": {
"URL": "PROTOCOL"
}
}
}
```
For example, to prevent caching and directly connect to the repository at `download.oracle.com` via http:
```json
{
"apt": {
"cache_bypass": {
"download.oracle.com": "http"
}
}
}
```
### cacher-ng
Installs the `apt-cacher-ng` package and service so the system can provide APT caching. You can check the usage report at http://{hostname}:3142/acng-report.html.
If you wish to help the `cacher-ng` recipe seed itself, you must now explicitly include the `cacher-client` recipe in your run list **after** `cacher-ng` or you will block your ability to install any packages (ie. `apt-cacher-ng`).
### unattended-upgrades
Installs and configures the `unattended-upgrades` package to provide automatic package updates. This can be configured to upgrade all packages or to just install security updates by setting `['apt']['unattended_upgrades']['allowed_origins']`.
To pull just security updates, you'd set `allowed_origins` to something link `["Ubuntu trusty-security"]` (for Ubuntu trusty) or `["Debian wheezy-security"]` (for Debian wheezy).
Attributes
----------
### General
* `['apt']['compile_time_update']` - force the default recipe to run `apt-get update` at compile time.
* `['apt']['periodic_update_min_delay']` - minimum delay (in seconds) beetween two actual executions of `apt-get update` by the `execute[apt-get-update-periodic]` resource, default is '86400' (24 hours)
### Caching
* `['apt']['cacher_ipaddress']` - use a cacher server (or standard proxy server) not available via search
* `['apt']['cacher_interface']` - interface to connect to the cacher-ng service, no default.
* `['apt']['cacher_port']` - port for the cacher-ng service (either client or server), default is '3142'
* `['apt']['cacher_ssl_support']` - indicates whether the cacher supports upstream SSL servers, default is 'false'
* `['apt']['cacher_dir']` - directory used by cacher-ng service, default is '/var/cache/apt-cacher-ng'
* `['apt']['cacher-client']['restrict_environment']` - restrict your node to using the `apt-cacher-ng` server in your Environment, default is 'false'
* `['apt']['compiletime']` - force the `cacher-client` recipe to run before other recipes. It forces apt to use the proxy before other recipes run. Useful if your nodes have limited access to public apt repositories. This is overridden if the `cacher-ng` recipe is in your run list. Default is 'false'
* `['apt']['cache_bypass']` - array of URLs to bypass the cache. Accepts the URL and protocol to fetch directly from the remote repository and not attempt to cache
### Unattended Upgrades
* `['apt']['unattended_upgrades']['enable']` - enables unattended upgrades, default is false
, default is true
* `['apt']['unattended_upgrades']['allowed_origins']` - array of allowed apt origins from which to pull automatic upgrades, defaults to a guess at the system's main origin and should almost always be overridden
* `['apt']['unattended_upgrades']['package_blacklist']` - an array of package which should never be automatically upgraded, defaults to none
* `['apt']['unattended_upgrades']['auto_fix_interrupted_dpkg']` - attempts to repair dpkg state with `dpkg --force-confold --configure -a` if it exits uncleanly, defaults to false (contrary to the unattended-upgrades default)
* `['apt']['unattended_upgrades']['minimal_steps']` - Split the upgrade into the smallest possible chunks. This makes the upgrade a bit slower but it has the benefit that shutdown while a upgrade is running is possible (with a small delay). Defaults to false.
* `['apt']['unattended_upgrades']['install_on_shutdown']` - Install upgrades when the machine is shuting down instead of doing it in the background while the machine is running. This will (obviously) make shutdown slower. Defaults to false.
* `['apt']['unattended_upgrades']['mail']` - Send email to this address for problems or packages upgrades. Defaults to no email.
* `['apt']['unattended_upgrades']['mail_only_on_error']` - If set, email will only be set on upgrade errors. Otherwise, an email will be sent after each upgrade. Defaults to true.
* `['apt']['unattended_upgrades']['remove_unused_dependencies']` Do automatic removal of new unused dependencies after the upgrade. Defaults to false.
* `['apt']['unattended_upgrades']['automatic_reboot']` - Automatically reboots *without confirmation* if a restart is required after the upgrade. Defaults to false.
* `['apt']['unattended_upgrades']['dl_limit']` - Limits the bandwidth used by apt to download packages. Value given as an integer in kb/sec. Defaults to nil (no limit).
### Configuration for APT
* `['apt']['confd']['install_recommends']` - Consider recommended packages as a dependency for installing. (default: true)
* `['apt']['confd']['install_suggests']` - Consider suggested packages as a dependency for installing. (default: false)
Libraries
---------
There is an `interface_ipaddress` method that returns the IP address for a particular host and interface, used by the `cacher-client` recipe. To enable it on the server use the `['apt']['cacher_interface']` attribute.
Resources/Providers
-------------------
### `apt_repository`
This LWRP provides an easy way to manage additional APT repositories. Adding a new repository will notify running the `execute[apt-get-update]` resource immediately.
#### Actions
- :add: creates a repository file and builds the repository listing (default)
- :remove: removes the repository file
#### Attribute Parameters
- repo_name: name attribute. The name of the channel to discover
- uri: the base of the Debian distribution
- distribution: this is usually your release's codename...ie something like `karmic`, `lucid` or `maverick`
- components: package groupings... when in doubt use `main`
- arch: constrain package to a particular arch like `i386`, `amd64` or even `armhf` or `powerpc`. Defaults to nil.
- trusted: treat all packages from this repository as authenticated regardless of signature
- deb_src: whether or not to add the repository as a source repo as well - value can be `true` or `false`, default `false`.
- keyserver: the GPG keyserver where the key for the repo should be retrieved
- key: if a `keyserver` is provided, this is assumed to be the fingerprint, otherwise it can be either the URI to the GPG key for the repo, or a cookbook_file.
- key_proxy: if set, pass the specified proxy via `http-proxy=` to GPG.
- cookbook: if key should be a cookbook_file, specify a cookbook where the key is located for files/default. Defaults to nil, so it will use the cookbook where the resource is used.
#### Examples
Add the Zenoss repo:
```ruby
apt_repository 'zenoss' do
uri 'http://dev.zenoss.org/deb'
components ['main', 'stable']
end
```
Enable Ubuntu [multiverse](https://help.ubuntu.com/community/Repositories/Ubuntu) repositories:
```ruby
apt_repository 'security-ubuntu-multiverse' do
uri 'http://security.ubuntu.com/ubuntu'
distribution 'trusty-security'
components ['multiverse']
deb_src 'true'
end
```
Add the Nginx PPA, autodetect the key and repository url:
```ruby
apt_repository 'nginx-php' do
uri 'ppa:nginx/stable'
distribution node['lsb']['codename']
end
```
Add the JuJu PPA, grab the key from the keyserver, and add source repo:
```ruby
apt_repository 'juju' do
uri 'http://ppa.launchpad.net/juju/stable/ubuntu'
components ['main']
distribution 'trusty'
key 'C8068B11'
keyserver 'keyserver.ubuntu.com'
action :add
deb_src true
end
```
Add the Cloudera Repo of CDH4 packages for Ubuntu 12.04 on AMD64:
```ruby
apt_repository 'cloudera' do
uri 'http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh'
arch 'amd64'
distribution 'precise-cdh4'
components ['contrib']
key 'http://archive.cloudera.com/debian/archive.key'
end
```
Remove Zenoss repo:
```ruby
apt_repository 'zenoss' do
action :remove
end
```
### `apt_preference`
This LWRP provides an easy way to pin packages in /etc/apt/preferences.d. Although apt-pinning is quite helpful from time to time please note that Debian does not encourage its use without thorough consideration.
Further information regarding apt-pinning is available via http://wiki.debian.org/AptPreferences.
#### Actions
- :add: creates a preferences file under /etc/apt/preferences.d
- :remove: Removes the file, therefore unpin the package
#### Attribute Parameters
- package_name: name attribute. The name of the package
- glob: Pin by glob() expression or regexp surrounded by /.
- pin: The package version/repository to pin
- pin_priority: The pinning priority aka "the highest package version wins"
#### Examples
Pin libmysqlclient16 to version 5.1.49-3:
```ruby
apt_preference 'libmysqlclient16' do
pin 'version 5.1.49-3'
pin_priority '700'
end
```
Unpin libmysqlclient16:
```ruby
apt_preference 'libmysqlclient16' do
action :remove
end
```
Pin all packages from dotdeb.org:
```ruby
apt_preference 'dotdeb' do
glob '*'
pin 'origin packages.dotdeb.org'
pin_priority '700'
end
```
Usage
-----
Put `recipe[apt]` first in the run list. If you have other recipes that you want to use to configure how apt behaves, like new sources, notify the execute resource to run, e.g.:
```ruby
template '/etc/apt/sources.list.d/my_apt_sources.list' do
notifies :run, 'execute[apt-get update]', :immediately
end
```
The above will run during execution phase since it is a normal template resource, and should appear before other package resources that need the sources in the template.
Put `recipe[apt::cacher-ng]` in the run_list for a server to provide APT caching and add `recipe[apt::cacher-client]` on the rest of the De[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/resources/repository.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum/resources
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
bian-based nodes to take advantage of the caching server.
If you want to cleanup unused packages, there is also the `apt-get autoclean` and `apt-get autoremove` resources provided for automated cleanup.
License & Authors
-----------------
- Author:: Joshua Timberman (joshua@chef.io)
- Author:: Matt Ray (matt@chef.io)
- Author:: Seth Chisamore (schisamo@chef.io)
```text
Copyright:: 2009-2015, Chef Software, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/apt/README.md to tempfile /tmp/chef-rest20160109-1485-mo1jzz
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000410ffa0 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum/recipes/default.rb", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x000000041140f0>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/providers/globalconfig.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/apt/templates/ubuntu-10.04
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
#
# Author:: Sean OMeara (<someara@chef.io>)
# Author:: Joshua Timberman (<joshua@chef.io>)
# Recipe:: yum::default
#
# Copyright 2013-2014, Chef Software, Inc (<legal@chef.io>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
yum_globalconfig '/etc/yum.conf' do
node['yum']['main'].each do |config, value|
send(config.to_sym, value) unless value.nil?
end
action :create
end
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/recipes/default.rb to tempfile /tmp/chef-rest20160109-1485-mp4m7r
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/apt/README.md in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
- apt (2.9.2)
--- RESPONSE (200) ---
# This file was generated by Chef
# Do NOT modify this file by hand.
[<%= @config.repositoryid %>]
name=<%= @config.description %>
<% if @config.baseurl %>
baseurl=<%= @config.baseurl %>
<% end %>
<% if @config.cost %>
cost=<%= @config.cost %>
<% end %>
<% if @config.enabled %>
enabled=1
<% else %>
enabled=0
<% end %>
<% if @config.enablegroups %>
enablegroups=1
<% end %>
<% if @config.exclude %>
exclude=<%= @config.exclude %>
<% end %>
<% if @config.failovermethod %>
failovermethod=<%= @config.failovermethod %>
<% end %>
<% if @config.fastestmirror_enabled %>
fastestmirror_enabled=<%= @config.fastestmirror_enabled %>
<% end %>
<% if @config.gpgcheck %>
gpgcheck=1
<% else %>
gpgcheck=0
<% end %>
<% if @config.gpgkey %>
gpgkey=<%= case @config.gpgkey
when Array
@config.gpgkey.join("\n ")
else
@config.gpgkey
end %>
<% end -%>
<% if @config.http_caching %>
http_caching=<%= @config.http_caching %>
<% end %>
<% if @config.include_config %>
include=<%= @config.include_config %>
<% end %>
<% if @config.includepkgs %>
includepkgs=<%= @config.includepkgs %>
<% end %>
<% if @config.keepalive %>
keepalive=1
<% end %>
<% if @config.metadata_expire %>
metadata_expire=<%= @config.metadata_expire %>
<% end %>
<% if @config.mirrorlist %>
mirrorlist=<%= @config.mirrorlist %>
<% end %>
<% if @config.mirror_expire %>
mirror_expire=<%= @config.mirror_expire %>
<% end %>
<% if @config.mirrorlist_expire %>
mirrorlist_expire=<%= @config.mirrorlist_expire %>
<% end %>
<% if @config.priority %>
priority=<%= @config.priority %>
<% end %>
<% if @config.proxy %>
proxy=<%= @config.proxy %>
<% end %>
<% if @config.proxy_username %>
<% end %>
<% if @config.proxy_password %>
proxy_password=<%= @config.proxy_password %>
<% end %>
<% if @config.username %>
username=<%= @config.username %>
<% end %>
<% if @config.password %>
password=<%= @config.password %>
<% end %>
<% if @config.repo_gpgcheck %>
repo_gpgcheck=1
<% end %>
<% if @config.max_retries %>
retries=<%= @config.max_retries %>
<% end %>
<% if @config.report_instanceid %>
report_instanceid=<%= @config.report_instanceid %>
<% end %>
<% if @config.skip_if_unavailable %>
skip_if_unavailable=1
<% end %>
<% if @config.sslcacert %>
sslcacert=<%= @config.sslcacert %>
<% end %>
<% if @config.sslclientcert %>
sslclientcert=<%= @config.sslclientcert %>
<% end %>
<% if @config.sslclientkey %>
sslclientkey=<%= @config.sslclientkey %>
<% end %>
<% unless @config.sslverify.nil? %>
sslverify=<%= ( @config.sslverify ) ? 'true' : 'false' %>
<% end %>
<% if @config.timeout %>
timeout=<%= @config.timeout %>
<% end %>
<% if @config.options -%>
<% @config.options.each do |key, value| -%>
<%= key %>=<%=
case value
when Array
value.join("\n ")
when TrueClass
'1'
when FalseClass
'0'
else
value
end %>
<% end -%>
<% end -%>
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/resources/globalconfig.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/templates/default/repo.erb to tempfile /tmp/chef-rest20160109-1485-1qhzu6f
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x0000000406de30 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum/metadata.json", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x0000000406e0d8>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: #<ChefZero::RestRequest:0x00000004049d78 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/file_store/repo/cookbooks/yum/README.md", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x00000004049e90>}, @rest_base_prefix=["organizations", "chef"]>
[2016-01-09T05:31:43+00:00] DEBUG:
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
{"name":"yum","version":"3.8.2","description":"Configures various yum components on Red Hat-like systems","long_description":"","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","centos":">= 0.0.0","fedora":">= 0.0.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0"},"dependencies":{},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}}
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: No chefignore file found at /tmp/kitchen/chefignore no files will be ignored
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/metadata.json to tempfile /tmp/chef-rest20160109-1485-19s68ju
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# http://linux.die.net/man/5/yum.conf
case node['platform_version'].to_i
when 5
default['yum']['main']['cachedir'] = '/var/cache/yum'
else
default['yum']['main']['cachedir'] = '/var/cache/yum/$basearch/$releasever'
end
case node['platform']
when 'amazon'
default['yum']['main']['distroverpkg'] = 'system-release'
when 'scientific'
default['yum']['main']['distroverpkg'] = 'sl-release'
when 'redhat'
default['yum']['main']['distroverpkg'] = nil
else
default['yum']['main']['distroverpkg'] = "#{node['platform']}-release"
end
default['yum']['main']['alwaysprompt'] = nil # [TrueClass, FalseClass]
default['yum']['main']['assumeyes'] = nil # [TrueClass, FalseClass]
default['yum']['main']['bandwidth'] = nil # /^\d+$/
default['yum']['main']['bugtracker_url'] = nil # /.*/
default['yum']['main']['clean_requirements_on_remove'] = nil # [TrueClass, FalseClass]
default['yum']['main']['color'] = nil # %w{ always never }
default['yum']['main']['color_list_available_downgrade'] = nil # /.*/
default['yum']['main']['color_list_available_install'] = nil # /.*/
default['yum']['main']['color_list_available_reinstall'] = nil # /.*/
default['yum']['main']['color_list_available_upgrade'] = nil # /.*/
default['yum']['main']['color_list_installed_extra'] = nil # /.*/
default['yum']['main']['color_list_installed_newer'] = nil # /.*/
default['yum']['main']['color_list_installed_older'] = nil # /.*/
default['yum']['main']['color_list_installed_reinstall'] = nil # /.*/
default['yum']['main']['color_search_match'] = nil # /.*/
default['yum']['main']['color_update_installed'] = nil # /.*/
default['yum']['main']['color_update_local'] = nil # /.*/
default['yum']['main']['color_update_remote'] = nil # /.*/
default['yum']['main']['commands'] = nil # /.*/
default['yum']['main']['deltarpm'] = nil # [TrueClass, FalseClass]
default['yum']['main']['debuglevel'] = nil # /^\d+$/
default['yum']['main']['diskspacecheck'] = nil # [TrueClass, FalseClass]
default['yum']['main']['enable_group_conditionals'] = nil # [TrueClass, FalseClass]
default['yum']['main']['errorlevel'] = nil # /^\d+$/
default['yum']['main']['exactarch'] = nil # [TrueClass, FalseClass]
default['yum']['main']['exclude'] = nil # /.*/
default['yum']['main']['gpgcheck'] = true # [TrueClass, FalseClass]
default['yum']['main']['group_package_types'] = nil # /.*/
default['yum']['main']['groupremove_leaf_only'] = nil # [TrueClass, FalseClass]
default['yum']['main']['history_list_view'] = nil # /.*/
default['yum']['main']['history_record'] = nil # [TrueClass, FalseClass]
default['yum']['main']['history_record_packages'] = nil # /.*/
default['yum']['main']['http_caching'] = nil # %w{ packages all none }
default['yum']['main']['installonly_limit'] = nil # /\d+/, /keep/
default['yum']['main']['installonlypkgs'] = nil # /.*/
default['yum']['main']['installroot'] = nil # /.*/
default['yum']['main']['keepalive'] = nil # [TrueClass, FalseClass]
default['yum']['main']['keepcache'] = false # [TrueClass, FalseClass]
default['yum']['main']['kernelpkgnames'] = nil # /.*/
default['yum']['main']['localpkg_gpgcheck'] = false # [TrueClass,# FalseClass]
default['yum']['main']['logfile'] = '/var/log/yum.log' # /.*/
default['yum']['main']['max_retries'] = nil # /^\d+$/
default['yum']['main']['mdpolicy'] = nil # %w{ packages all none }
default['yum']['main']['metadata_expire'] = nil # /^\d+$/
default['yum']['main']['mirrorlist_expire'] = nil # /^\d+$/
default['yum']['main']['multilib_policy'] = nil # %w{ all best }
default['yum']['main']['obsoletes'] = nil # [TrueClass, FalseClass]
default['yum']['main']['overwrite_groups'] = nil # [TrueClass, FalseClass]
default['yum']['main']['password'] = nil # /.*/
default['yum']['main']['path'] = '/etc/yum.conf' # /.*/
default['yum']['main']['persistdir'] = nil # /.*/
default['yum']['main']['pluginconfpath'] = nil # /.*/
default['yum']['main']['pluginpath'] = nil # /.*/
default['yum']['main']['plugins'] = nil # [TrueClass, FalseClass]
default['yum']['main']['protected_multilib'] = nil # /.*/
default['yum']['main']['protected_packages'] = nil # /.*/
default['yum']['main']['proxy'] = nil # /.*/
default['yum']['main']['proxy_password'] = nil # /.*/
default['yum']['main']['proxy_username'] = nil # /.*/
default['yum']['main']['password'] = nil # /.*/
default['yum']['main']['recent'] = nil # /^\d+$/
default['yum']['main']['releasever'] = nil # /.*/
default['yum']['main']['repo_gpgcheck'] = nil # [TrueClass, FalseClass]
default['yum']['main']['reposdir'] = nil # /.*/
default['yum']['main']['reset_nice'] = nil # [TrueClass, FalseClass]
default['yum']['main']['rpmverbosity'] = nil # %w{ info critical# emergency error warn debug }
default['yum']['main']['showdupesfromrepos'] = nil # [TrueClass, FalseClass]
default['yum']['main']['skip_broken'] = nil # [TrueClass, FalseClass]
default['yum']['main']['ssl_check_cert_permissions'] = nil # [TrueClass, FalseClass]
default['yum']['main']['sslcacert'] = nil # /.*/
default['yum']['main']['sslclientcert'] = nil # /.*/
default['yum']['main']['sslclientkey'] = nil # /.*/
default['yum']['main']['sslverify'] = nil # [TrueClass, FalseClass]
default['yum']['main']['syslog_device'] = nil # /.*/
default['yum']['main']['syslog_facility'] = nil # /.*/
default['yum']['main']['syslog_ident'] = nil # /.*/
default['yum']['main']['throttle'] = nil # [/\d+k/, /\d+M/, /\d+G/]
default['yum']['main']['timeout'] = nil # /\d+/
default['yum']['main']['tolerant'] = false
default['yum']['main']['tsflags'] = nil # /.*/
default['yum']['main']['username'] = nil # /.*/
-
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/attributes/main.rb to tempfile /tmp/chef-rest20160109-1485-1i0f81b
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/templates/default/repo.erb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum/templates
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/recipes/default.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum/recipes
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/metadata.json in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/attributes/main.rb in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum/attributes
[2016-01-09T05:31:43+00:00] DEBUG: Creating directory /tmp/kitchen/cache/cookbooks/yum/templates/default
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
yum Cookbook
============
[![Build Status](https://travis-ci.org/chef-cookbooks/yum.svg?branch=master)](http://travis-ci.org/chef-cookbooks/yum)
[![Cookbook Version](https://img.shields.io/cookbook/v/yum.svg)](https://supermarket.chef.io/cookbooks/yum)
[![Code Climate](https://codeclimate.com/github/chef-cookbooks/yum/badges/gpa.svg)](https://codeclimate.com/github/chef-cookbooks/yum)
The Yum cookbook exposes the `yum_globalconfig` and `yum_repository`
resources that allows a user to both control global behavior and make
individual Yum repositories available for use. These resources aim to
allow the user to configure all options listed in the `yum.conf` man
page, found at http://linux.die.net/man/5/yum.conf
NOTES
-----
WARNING: Yum cookbook version 3.0.0 and above contain non-backwards
compatible breaking changes and will not work with cookbooks written
against the 2.x and 1.x series. Changes have been made to the
yum_repository resource, and the yum_key resource has been eliminated
entirely. Recipes have been eliminated and moved into their own
cookbooks. Please lock yum to the 2.x series in your Chef environments
until all dependent cookbooks have been ported.
Requirements
------------
#### Platforms
* RHEL/CentOS and derivatives
* Fedora
#### Chef
* Chef 11+
#### Cookbooks
* none
Resources/Providers
-------------------
### yum_repository
This resource manages a yum repository configuration file at
/etc/yum.repos.d/`repositoryid`.repo. When the file needs to be
repaired, it calls yum-makecache so packages in the repo become
available to the next resource.
#### Example
``` ruby
# add the Zenoss repository
yum_repository 'zenoss' do
description "Zenoss Stable repo"
baseurl "http://dev.zenoss.com/yum/stable/"
gpgkey 'http://dev.zenoss.com/yum/RPM-GPG-KEY-zenoss'
action :create
end
# add the EPEL repo
yum_repository 'epel' do
description 'Extra Packages for Enterprise Linux'
mirrorlist 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
gpgkey 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
action :create
end
```
``` ruby
# delete CentOS-Media repo
yum_repository 'CentOS-Media' do
action :delete
end
```
#### Actions
- `:create` - creates a repository file and builds the repository listing
- `:delete` - deletes the repository file
- `:makecache` - update yum cache
#### Parameters
* `baseurl` - Must be a URL to the directory where the yum repository's
'repodata' directory lives. Can be an http://, ftp:// or file://
URL. You can specify multiple URLs in one baseurl statement.
* `cost` - relative cost of accessing this repository. Useful for
weighing one repo's packages as greater/less than any other.
defaults to 1000
* `clean_metadata` - Run "yum clean metadata <reponame>" during
repository creation. defaults to true.
* `description` - Maps to the 'name' parameter in a repository .conf.
r the repository channel. This directive must be
specified.
* `enabled` - Either `true` or `false`. This tells yum whether or not use this repository.
* `enablegroups` - Either `true` or `false`. Determines whether yum
will allow the use of package groups for this repository. Default is
`true` (package groups are allowed).
* `exclude` - List of packages to exclude from updates or installs. This
should be a space separated list in a single string. Shell globs using wildcards (eg. *
and ?) are allowed.
* `failovermethod` - Either 'roundrobin' or 'priority'.
* `fastestmirror_enabled` - Either `true` or `false`
* `gpgcheck` - Either `true` or `false`. This tells yum whether or not
it should perform a GPG signature check on packages. When this is
set in the [main] section it sets the default for all repositories.
The default is `true`.
* `gpgkey` - A URL pointing to the ASCII-armored GPG key file for the
repository. This option is used if yum needs a public key to verify
a package and the required key hasn't been imported into the RPM
database. If this option is set, yum will automatically import the
key from the specified URL.
* `http_caching` - Either 'all', 'packages', or 'none'. Determines how
upstream HTTP caches are instructed to handle any HTTP downloads
that Yum does. Defaults to 'all'
* `includepkgs` - Inverse of exclude. This is a list of packages you
want to use from a repository. If this option lists only one package
then that is all yum will ever see from the repository. Defaults to
an empty list.
* `keepalive` - Either `true` or `false`. This tells yum whether or not
HTTP/1.1 keepalive should be used with this repository.
* `make_cache` - Optional, Default is `true`, if `false` then `yum -q makecache` will not
be ran
* `max_retries` - Set the number of times any attempt to retrieve a file
should retry before returning an error. Setting this to '0' makes
yum try forever. Default is '10'.
* `metadata_expire` - Time (in seconds) after which the metadata will
expire. So that if the current metadata downloaded is less than this
many seconds old then yum will not update the metadata against the
repository. If you find that yum is not downloading information on
updates as often as you would like lower the value of this option.
You can also change from the default of using seconds to using days,
hours or minutes by appending a d, h or m respectively. The default
is 6 hours, to compliment yum-updatesd running once an hour. It's
also possible to use the word "never", meaning that the metadata
will never expire. Note that when using a metalink file the metalink
must always be newer than the metadata for the repository, due to
the validation, so this timeout also applies to the metalink file.
* `mirrorlist` - Specifies a URL to a file containing a list of
baseurls. This can be used instead of or with the baseurl option.
Substitution variables, described below, can be used with this
option. As a special hack is the mirrorlist URL contains the word
"metalink" then the value of mirrorlist is copied to metalink (if
metalink is not set)
* `mirror_expire` - Time (in seconds) after which the mirrorlist locally
cached will expire. If the current mirrorlist is less than this many
seconds old then yum will not download another copy of the
mirrorlist, it has the same extra format as metadata_expire. If you
find that yum is not downloading the mirrorlists as often as you
would like lower the value of this option.
* `mirrorlist_expire` - alias for mirror_expire
* `mode` - Permissions mode of .repo file on disk. Useful for
scenarios where secrets are in the repo file. If set to '600',
normal users will not be able to use yum search, yum info, etc.
Defaults to '0644'
* `priority` - When the yum-priorities plug-in is enabled, you set
priorities on repository entries, where N is an integer from 1 to 99. The
default priority for repositories is 99.
server that yum should use.
* `proxy_username` - username to use for proxy
* `proxy_password` - password for this proxy
* `report_instanceid` - Report instance ID when using Amazon Linux AMIs
and repositories
* `repositoryid` - Must be a unique name for each repository, one word.
Defaults to name attribute.
* `source` - Use a custom template source instead of the default one
in the yum cookbook
* `sslcacert` - Path to the directory containing the databases of the
certificate authorities yum should use to verify SSL certificates.
Defaults to none - uses system default
* `sslclientcert` - Path to the SSL client certificate yum should use to
connect to repos/remote sites Defaults to none.
* `sslclientkey` - Path to the SSL client key yum should use to connect
to repos/remote sites Defaults to none.
* `sslverify` - Either `true` or `false`. Determines if yum will verify SSL certificates/hosts. Defaults to `true`
* `timeout` - Number of seconds to wait for a connection before timing
out. Defaults to 30 seconds. This may be too short of a time for
extremely overloaded sites.
### yum_globalconfig
This renders a template with global yum configuration parameters. The
default recipe uses it to render `/etc/yum.conf`. It is flexible
enough to be used in other scenarios, such as building RPMs in
isolation by modifying `installroot`.
#### Example
``` ruby
yum_globalconfig '/my/chroot/etc/yum.conf' do
cachedir '/my/chroot/etc/yum.conf'
keepcache 'yes'
debuglevel '2'
installroot '/my/chroot'
action :create
end
```
#### Parameters
`yum_globalconfig` can take most of the same parameters as a
`yum_repository`, plus more, too numerous to describe here. Below are
a few of the more commonly used ones. For a complete list, please
consult the `yum.conf` man page, found here:
http://linux.die.net/man/5/yum.conf
* `cachedir` - Directory where yum should store its cache and db
files. The default is '/var/cache/yum'.
* `keepcache` - Either `true` or `false`. Determines whether or not
yum keeps the cache of headers and packages after successful
installation. Default is `false`
* `debuglevel` - Debug message output level. Practical range is 0-10.
Default is '2'.
* `exclude` - List of packages to exclude from updates or installs.
This should be a space separated list. Shell globs using wildcards
(eg. * and ?) are allowed.
* `installonlypkgs` = List of package provides that should only ever
be installed, never updated. Kernels in particular fall into this
category. Defaults to kernel, kernel-bigmem, kernel-enterprise,
kernel-smp, kernel-debug, kernel-unsupported, kernel-source,
kernel-devel, kernel-PAE, kernel-PAE-debug.
* `logfile` - Full directory and file name for where yum should write
its log file.
* `exactarch` - Either `true` or `false`. Set to `true` to make 'yum update' only
update the architectures of packages that you have installed. ie:
with this enabled yum will not install an i686 package to update an
x86_64 package. Default is `true`
* `gpgcheck` - Either `true` or `false`. This tells yum whether or not
it should perform a GPG signature check on the packages gotten from
this repository.
Recipes
-------
* `default` - Configures `yum_globalconfig[/etc/yum.conf]` with values
found in node attributes at `node['yum']['main']`
Attributes
----------
The following attributes are set by default
``` ruby
default['yum']['main']['cachedir'] = '/var/cache/yum/$basearch/$releasever'
default['yum']['main']['keepcache'] = false
default['yum']['main']['debuglevel'] = nil
default['yum']['main']['exclude'] = nil
default['yum']['main']['logfile'] = '/var/log/yum.log'
default['yum']['main']['exactarch'] = nil
default['yum']['main']['obsoletes'] = nil
default['yum']['main']['installonly_limit'] = nil
default['yum']['main']['installonlypkgs'] = nil
default['yum']['main']['installroot'] = nil
```
Related Cookbooks
-----------------
moved
individual cookbooks. Recipes for managing platform yum configurations
and installing specific repositories can be found in one (or more!) of
the following cookbook.
* yum-centos
* yum-fedora
* yum-amazon
* yum-epel
* yum-elrepo
* yum-repoforge
* yum-ius
* yum-percona
* yum-pgdg
Usage
-----
Put `depends 'yum'` in your metadata.rb to gain access to the
yum_repository resource.
License & Authors
-----------------
- Author:: Eric G. Wolfe
- Author:: Matt Ray (<matt@chef.io>)
- Author:: Joshua Timberman (<joshua@chef.io>)
- Author:: Sean OMeara (<someara@chef.io>)
```text
Copyright:: 2011 Eric G. Wolfe
Copyright:: 2013-2014 Chef Software, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/README.md to tempfile /tmp/chef-rest20160109-1485-16wq69t
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG:
--- RESPONSE (200) ---
# This file was generated by Chef
# Do NOT modify this file by hand.
[main]
<% if @config.alwaysprompt %>
alwaysprompt=<%= @config.alwaysprompt %>
<% end %>
<% if @config.assumeyes %>
assumeyes=<%= @config.assumeyes %>
<% end %>
<% if @config.bandwidth %>
bandwidth=<%= @config.bandwidth %>
<% end %>
<% if @config.bugtracker_url %>
bugtracker_url=<%= @config.bugtracker_url %>
<% end %>
<% if @config.cachedir %>
cachedir=<%= @config.cachedir %>
<% end %>
<% if @config.clean_requirements_on_remove %>
clean_requirements_on_remove=<%= @config.clean_requirements_on_remove %>
<% end %>
<% if @config.color %>
color=<%= @config.color %>
<% end %>
<% if @config.color_list_available_downgrade %>
color_list_available_downgrade=<%= @config.color_list_available_downgrade %>
<% end %>
<% if @config.color_list_available_install %>
color_list_available_install=<%= @config.color_list_available_install %>
<% end %>
<% if @config.color_list_available_reinstall %>
color_list_available_reinstall=<%= @config.color_list_available_reinstall %>
<% end %>
<% if @config.color_list_available_upgrade %>
color_list_available_upgrade=<%= @config.color_list_available_upgrade %>
<% end %>
<% if @config.color_list_installed_extra %>
color_list_installed_extra=<%= @config.color_list_installed_extra %>
<% end %>
<% if @config.color_list_installed_newer %>
color_list_installed_newer=<%= @config.color_list_installed_newer %>
<% end %>
<% if @config.color_list_installed_older %>
color_list_installed_older=<%= @config.color_list_installed_older %>
<% end %>
<% if @config.color_list_installed_reinstall %>
color_list_installed_reinstall=<%= @config.color_list_installed_reinstall %>
<% end %>
<% if @config.color_search_match %>
color_search_match=<%= @config.color_search_match %>
<% end %>
<% if @config.color_update_installed %>
color_update_installed=<%= @config.color_update_installed %>
<% end %>
<% if @config.color_update_local %>
color_update_local=<%= @config.color_update_local %>
<% end %>
<% if @config.color_update_remote %>
color_update_remote=<%= @config.color_update_remote %>
<% end %>
<% if @config.commands %>
commands=<%= @config.commands %>
<% end %>
<% if @config.debuglevel %>
debuglevel=<%= @config.debuglevel %>
<% end %>
<% if @config.deltarpm == true %>
deltarpm=1
<% elsif @config.deltarpm == false %>
deltarpm=0
<% end %>
<% if @config.diskspacecheck %>
diskspacecheck=<%= @config.diskspacecheck %>
<% end %>
<% if @config.distroverpkg %>
distroverpkg=<%= @config.distroverpkg %>
<% end %>
<% if @config.enable_group_conditionals %>
enable_group_conditionals=1
<% end %>
<% if @config.errorlevel %>
errorlevel=<%= @config.errorlevel %>
<% end %>
<% if @config.exactarch %>
exactarch=1
<% else %>
exactarch=0
<% end %>
<% if @config.exclude %>
exclude=<%= @config.exclude %>
<% end %>
<% if @config.gpgcheck %>
gpgcheck=1
<% else %>
gpgcheck=0
<% end %>
<% if @config.group_package_types %>
group_package_types=<%= @config.group_package_types %>
<% end %>
<% if @config.groupremove_leaf_only %>
groupremove_leaf_only=<%= @config.groupremove_leaf_only %>
<% end %>
<% if @config.history_list_view %>
history_list_view=<%= @config.history_list_view %>
<% end %>
<% if @config.history_record %>
history_record=<%= @config.history_record %>
<% end %>
<% if @config.history_record_packages %>
history_record_packages=<%= @config.history_record_packages %>
<% end %>
<% if @config.http_caching %>
http_caching=<%= @config.http_caching %>
<% end %>
<% if @config.installonly_limit %>
installonly_limit=<%= @config.installonly_limit %>
<% end %>
<% if @config.installonlypkgs %>
installonlypkgs=<%= @config.installonlypkgs %>
<% end %>
<% if @config.installroot %>
installroot=<%= @config.installroot %>
<% end %>
<% if @config.keepalive %>
keepalive=<%= @config.keepalive %>
<% end %>
<% if @config.keepcache %>
keepcache=1
<% else %>
keepcache=0
<% end %>
<% if @config.kernelpkgnames %>
kernelpkgnames=<%= @config.kernelpkgnames %>
<% end %>
onfig.localpkg_gpgcheck %>
localpkg_gpgcheck=1
<% else %>
localpkg_gpgcheck=0
<% end %>
<% if @config.logfile %>
logfile=<%= @config.logfile %>
<% end %>
<% if @config.max_retries %>
max_retries=<%= @config.max_retries %>
<% end %>
<% if @config.mdpolicy %>
mdpolicy=<%= @config.mdpolicy %>
<% end %>
<% if @config.metadata_expire %>
metadata_expire=<%= @config.metadata_expire %>
<% end %>
<% if @config.mirrorlist_expire %>
mirrorlist_expire=<%= @config.mirrorlist_expire %>
<% end %>
<% if @config.multilib_policy %>
multilib_policy=<%= @config.multilib_policy %>
<% end %>
<% if @config.obsoletes == false %>
obsoletes=0
<% else %>
obsoletes=1
<% end %>
<% if @config.overwrite_groups %>
overwrite_groups=<%= @config.overwrite_groups %>
<% end %>
<% if @config.password %>
password=<%= @config.password %>
<% end %>
<% if @config.persistdir %>
persistdir=<%= @config.persistdir %>
<% end %>
<% if @config.pluginconfpath %>
pluginconfpath=<%= @config.pluginconfpath %>
<% end %>
<% if @config.pluginpath %>
pluginpath=<%= @config.pluginpath %>
<% end %>
<% if @config.plugins %>
plugins=1
<% else %>
plugins=0
<% end %>
<% if @config.protected_multilib %>
protected_multilib=<%= @config.protected_multilib %>
<% end %>
<% if @config.protected_packages %>
protected_packages=<%= @config.protected_packages %>
<% end %>
<% if @config.proxy %>
proxy=<%= @config.proxy %>
<% end %>
<% if @config.proxy_password %>
proxy_password=<%= @config.proxy_password %>
<% end %>
<% if @config.proxy_username %>
proxy_username=<%= @config.proxy_username %>
<% end %>
<% if @config.recent %>
recent=<%= @config.recent %>
<% end %>
<% if @config.releasever %>
releasever=<%= @config.releasever %>
<% end %>
<% if @config.repo_gpgcheck %>
repo_gpgcheck=<%= @config.repo_gpgcheck %>
<% end %>
<% if @config.reposdir %>
reposdir=<%= @config.reposdir %>
<% end %>
<% if @config.reset_nice %>
reset_nice=<%= @config.reset_nice %>
<% end %>
<% if @config.rpmverbosity %>
rpmverbosity=<%= @config.rpmverbosity %>
<% end %>
<% if @config.showdupesfromrepos %>
showdupesfromrepos=<%= @config.showdupesfromrepos %>
<% end %>
<% if @config.skip_broken %>
skip_broken=<%= @config.skip_broken %>
<% end %>
<% if @config.ssl_check_cert_permissions %>
ssl_check_cert_permissions=<%= @config.ssl_check_cert_permissions %>
<% end %>
<% if @config.sslcacert %>
sslcacert=<%= @config.sslcacert %>
<% end %>
<% if @config.sslclientcert %>
sslclientcert=<%= @config.sslclientcert %>
<% end %>
<% if @config.sslclientkey %>
sslclientkey=<%= @config.sslclientkey %>
<% end %>
<% unless @config.sslverify.nil? %>
sslverify=<%= ( @config.sslverify ) ? 'true' : 'false' %>
<% end %>
<% if @config.syslog_device %>
syslog_device=<%= @config.syslog_device %>
<% end %>
<% if @config.syslog_facility %>
syslog_facility=<%= @config.syslog_facility %>
<% end %>
<% if @config.syslog_ident %>
syslog_ident=<%= @config.syslog_ident %>
<% end %>
<% if @config.throttle %>
throttle=<%= @config.throttle %>
<% end %>
<% if @config.timeout %>
timeout=<%= @config.timeout %>
<% end %>
<% if @config.tolerant %>
tolerant=<%= ( @config.tolerant ) ? '1' : '0' %>
<% end %>
<% if @config.tsflags %>
tsflags=<%= @config.tsflags %>
<% end %>
<% if @config.username %>
username=<%= @config.username %>
<% end %>
<% if @config.options -%>
<% @config.options.each do |key, value| -%>
<%= key %>=<%=
case value
when Array
value.join("\n ")
when TrueClass
'1'
when FalseClass
'0'
else
value
end %>
<% end -%>
<% end -%>
--- END RESPONSE ---
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/README.md in the cache.
[2016-01-09T05:31:43+00:00] DEBUG: Streaming download from chefzero://localhost:8889/file_store/repo/cookbooks/yum/templates/default/main.erb to tempfile /tmp/chef-rest20160109-1485-g1nn2h
[2016-01-09T05:31:43+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_stream_complete
[2016-01-09T05:31:43+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_stream_complete
[2016-01-09T05:31:43+00:00] INFO: Storing updated cookbooks/yum/templates/default/main.erb in the cache.
- yum (3.8.2)
Compiling Cookbooks...
[2016-01-09T05:31:43+00:00] DEBUG: Cookbooks to compile: [:apt, :"apt-chef", :yum, :"yum-chef", :"chef-ingredient", :"chef-server", :"r-chef-server"]
[2016-01-09T05:31:43+00:00] DEBUG: Loading cookbook apt's library file: /tmp/kitchen/cache/cookbooks/apt/libraries/helpers.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook apt's library file: /tmp/kitchen/cache/cookbooks/apt/libraries/matchers.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook apt's library file: /tmp/kitchen/cache/cookbooks/apt/libraries/network.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook yum's library file: /tmp/kitchen/cache/cookbooks/yum/libraries/matchers.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/chef_ingredient_resource.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/chef_server_ingredient_shim.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/helpers.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/ingredient_config_resource.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/matchers.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/omnibus_service_provider.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-ingredient's library file: /tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/omnibus_service_resource.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook chef-server's library file: /tmp/kitchen/cache/cookbooks/chef-server/libraries/helpers.rb
[2016-01-09T05:31:44+00:00] DEBUG: Node default-ubuntu-1404 loading cookbook apt's attribute file /tmp/kitchen/cache/cookbooks/apt/attributes/default.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading Attribute apt::default
[2016-01-09T05:31:44+00:00] DEBUG: Loading Attribute apt-chef::default
[2016-01-09T05:31:44+00:00] DEBUG: Node default-ubuntu-1404 loading cookbook yum's attribute file /tmp/kitchen/cache/cookbooks/yum/attributes/main.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading Attribute yum::main
[2016-01-09T05:31:44+00:00] DEBUG: Node default-ubuntu-1404 loading cookbook yum-chef's attribute file /tmp/kitchen/cache/cookbooks/yum-chef/attributes/default.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading Attribute yum-chef::default
[2016-01-09T05:31:44+00:00] DEBUG: Node default-ubuntu-1404 loading cookbook chef-server's attribute file /tmp/kitchen/cache/cookbooks/chef-server/attributes/default.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading Attribute chef-server::default
[2016-01-09T05:31:44+00:00] DEBUG: Node default-ubuntu-1404 loading cookbook r-chef-server's attribute file /tmp/kitchen/cache/cookbooks/r-chef-server/attributes/default.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loading Attribute r-chef-server::default
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook apt's providers from /tmp/kitchen/cache/cookbooks/apt/providers/preference.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loaded contents of /tmp/kitchen/cache/cookbooks/apt/providers/preference.rb into provider apt_preference (LWRP provider apt_preference from cookbook apt)
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook apt's providers from /tmp/kitchen/cache/cookbooks/apt/providers/repository.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loaded contents of /tmp/kitchen/cache/cookbooks/apt/providers/repository.rb into provider apt_repository (LWRP provider apt_repository from cookbook apt)
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook apt's resources from /tmp/kitchen/cache/cookbooks/apt/resources/preference.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loaded contents of /tmp/kitchen/cache/cookbooks/apt/resources/preference.rb into resource apt_preference (Custom resource apt_preference from cookbook apt)
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook apt's resources from /tmp/kitchen/cache/cookbooks/apt/resources/repository.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loaded contents of /tmp/kitchen/cache/cookbooks/apt/resources/repository.rb into resource apt_repository (Custom resource apt_repository from cookbook apt)
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook yum's providers from /tmp/kitchen/cache/cookbooks/yum/providers/globalconfig.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loaded contents of /tmp/kitchen/cache/cookbooks/yum/providers/globalconfig.rb into provider yum_globalconfig (LWRP provider yum_globalconfig from cookbook yum)
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook yum's providers from /tmp/kitchen/cache/cookbooks/yum/providers/repository.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loaded contents of /tmp/kitchen/cache/cookbooks/yum/providers/repository.rb into provider yum_repository (LWRP provider yum_repository from cookbook yum)
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook yum's resources from /tmp/kitchen/cache/cookbooks/yum/resources/globalconfig.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loaded contents of /tmp/kitchen/cache/cookbooks/yum/resources/globalconfig.rb into resource yum_globalconfig (Custom resource yum_globalconfig from cookbook yum)
[2016-01-09T05:31:44+00:00] DEBUG: Loading cookbook yum's resources from /tmp/kitchen/cache/cookbooks/yum/resources/repository.rb
[2016-01-09T05:31:44+00:00] DEBUG: Loaded contents of /tmp/kitchen/cache/cookbooks/yum/resources/repository.rb into resource yum_repository (Custom resource yum_repository from cookbook yum)
[2016-01-09T05:31:44+00:00] DEBUG: Loading recipe r-chef-server::default via include_recipe
[2016-01-09T05:31:44+00:00] DEBUG: Found recipe default in cookbook r-chef-server
[2016-01-09T05:31:44+00:00] DEBUG: Loading recipe chef-server::default via include_recipe
[2016-01-09T05:31:44+00:00] DEBUG: Found recipe default in cookbook chef-server
[2016-01-09T05:31:44+00:00] DEBUG: Resources for generic ruby_block resource enabled on node include: [Chef::Resource::RubyBlock]
[2016-01-09T05:31:44+00:00] DEBUG: Resource for ruby_block is Chef::Resource::RubyBlock
[2016-01-09T05:31:44+00:00] DEBUG: Resources for generic chef_ingredient resource enabled on node include: [Chef::Resource::ChefIngredient]
[2016-01-09T05:31:44+00:00] DEBUG: Resource for chef_ingredient is Chef::Resource::ChefIngredient
[2016-01-09T05:31:44+00:00] DEBUG: Resources for generic file resource enabled on node include: [Chef::Resource::File]
[2016-01-09T05:31:44+00:00] DEBUG: Resource for file is Chef::Resource::File
[2016-01-09T05:31:44+00:00] DEBUG: Resources for generic ingredient_config resource enabled on node include: [Chef::Resource::IngredientConfig]
[2016-01-09T05:31:44+00:00] DEBUG: Resource for ingredient_config is Chef::Resource::IngredientConfig
Converging 4 resources
[2016-01-09T05:31:44+00:00] DEBUG: Converging node default-ubuntu-1404
Recipe: chef-server::default
* ruby_block[ensure node can resolve API FQDN] action run[2016-01-09T05:31:44+00:00] INFO: Processing ruby_block[ensure node can resolve API FQDN] action run (chef-server::default line 19)
(skipped due to not_if)
[2016-01-09T05:31:44+00:00] DEBUG: Skipping ruby_block[ensure node can resolve API FQDN] due to not_if ruby block
* chef_ingredient[chef-server] action install[2016-01-09T05:31:44+00:00] INFO: Processing chef_ingredient[chef-server] action install (chef-server::default line 26)
[2016-01-09T05:31:44+00:00] DEBUG: Providers for generic chef_ingredient resource enabled on node include: [Chef::Provider::ChefIngredient]
[2016-01-09T05:31:44+00:00] DEBUG: Provider for action install on resource chef_ingredient[chef-server] is Chef::Provider::ChefIngredient
[2016-01-09T05:31:44+00:00] DEBUG: Resources for generic chef_gem resource enabled on node include: [Chef::Resource::ChefGem]
[2016-01-09T05:31:44+00:00] DEBUG: Resource for chef_gem is Chef::Resource::ChefGem
* chef_gem[chef-server-mixlib-versioning] action install[2016-01-09T05:31:44+00:00] INFO: Processing chef_gem[chef-server-mixlib-versioning] action install (/tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/helpers.rb line 59)
[2016-01-09T05:31:44+00:00] DEBUG: Providers for generic chef_gem resource enabled on node include: [Chef::Provider::Package::Rubygems]
[2016-01-09T05:31:44+00:00] DEBUG: Provider for action install on resource chef_gem[chef-server-mixlib-versioning] is Chef::Provider::Package::Rubygems
[2016-01-09T05:31:44+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] using gem '/opt/chef/embedded/bin/gem'
/home/vagrant/.gem/ruby/2.1.0:/opt/chef/embedded/lib/ruby/gems/2.1.0
[2016-01-09T05:31:44+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] no installed version found for mixlib-versioning (>= 0)
RubyGems Environment:
- RUBYGEMS VERSION: 2.4.8
- RUBY VERSION: 2.1.6 (2015-04-13 patchlevel 336) [x86_64-linux]
- INSTALLATION DIRECTORY: /opt/chef/embedded/lib/ruby/gems/2.1.0
- RUBY EXECUTABLE: /opt/chef/embedded/bin/ruby
- EXECUTABLE DIRECTORY: /opt/chef/embedded/bin
- SPEC CACHE DIRECTORY: /home/vagrant/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /opt/chef/embedded/etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /opt/chef/embedded/lib/ruby/gems/2.1.0
- /home/vagrant/.gem/ruby/2.1.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
- /opt/chef/embedded/bin
- /opt/chef/embedded/bin
[2016-01-09T05:31:47+00:00] DEBUG: found gem mixlib-versioning version 1.1.0 for platform ruby from #<Gem::Source:0x00000004471e78>
[2016-01-09T05:31:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] mixlib-versioning not installed, installing 1.1.0
Successfully installed mixlib-versioning-1.1.0
1 gem installed
[2016-01-09T05:31:49+00:00] INFO: chef_gem[chef-server-mixlib-versioning] installed mixlib-versioning at 1.1.0
- install version 1.1.0 of package mixlib-versioning
[2016-01-09T05:31:49+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] resetting gem environment to default
[2016-01-09T05:31:49+00:00] DEBUG: Loading recipe apt-chef via include_recipe
[2016-01-09T05:31:49+00:00] DEBUG: Found recipe default in cookbook apt-chef
[2016-01-09T05:31:49+00:00] DEBUG: Resources for generic apt_repository resource enabled on node include: [Custom resource apt_repository from cookbook apt]
[2016-01-09T05:31:49+00:00] DEBUG: Resource for apt_repository is Custom resource apt_repository from cookbook apt
[2016-01-09T05:31:49+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package]
[2016-01-09T05:31:49+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage
* chef_gem[chef-server-mixlib-versioning] action install[2016-01-09T05:31:49+00:00] INFO: Processing chef_gem[chef-server-mixlib-versioning] action install (/tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/helpers.rb line 59)
[2016-01-09T05:31:49+00:00] DEBUG: Providers for generic chef_gem resource enabled on node include: [Chef::Provider::Package::Rubygems]
[2016-01-09T05:31:49+00:00] DEBUG: Provider for action install on resource chef_gem[chef-server-mixlib-versioning] is Chef::Provider::Package::Rubygems
[2016-01-09T05:31:49+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] using gem '/opt/chef/embedded/bin/gem'
[2016-01-09T05:31:49+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] found installed gem mixlib-versioning version 1.1.0 matching mixlib-versioning (>= 0)
[2016-01-09T05:31:50+00:00] DEBUG: found gem mixlib-versioning version 1.1.0 for platform ruby from #<Gem::Source:0x00000004471e78>
[2016-01-09T05:31:50+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] mixlib-versioning 1.1.0 already installed
[2016-01-09T05:31:50+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] is already installed - nothing to do
(up to date)
[2016-01-09T05:31:50+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] resetting gem environment to default
Recipe: apt-chef::default
* apt_repository[chef-stable] action add[2016-01-09T05:31:50+00:00] INFO: Processing apt_repository[chef-stable] action add (apt-chef::default line 21)
[2016-01-09T05:31:50+00:00] DEBUG: Providers for generic apt_repository resource enabled on node include: [LWRP provider apt_repository from cookbook apt]
[2016-01-09T05:31:50+00:00] DEBUG: Provider for action add on resource apt_repository[chef-stable] is LWRP provider apt_repository from cookbook apt
[2016-01-09T05:31:50+00:00] DEBUG: Resources for generic remote_file resource enabled on node include: [Chef::Resource::RemoteFile]
[2016-01-09T05:31:50+00:00] DEBUG: Resource for remote_file is Chef::Resource::RemoteFile
[2016-01-09T05:31:50+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute]
[2016-01-09T05:31:50+00:00] DEBUG: Resource for execute is Chef::Resource::Execute
[2016-01-09T05:31:50+00:00] DEBUG: Resources for generic file resource enabled on node include: [Chef::Resource::File]
[2016-01-09T05:31:50+00:00] DEBUG: Resource for file is Chef::Resource::File
[2016-01-09T05:31:50+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute]
[2016-01-09T05:31:50+00:00] DEBUG: Resource for execute is Chef::Resource::Execute
[2016-01-09T05:31:50+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute]
[2016-01-09T05:31:50+00:00] DEBUG: Resource for execute is Chef::Resource::Execute
[2016-01-09T05:31:50+00:00] DEBUG: Resources for generic file resource enabled on node include: [Chef::Resource::File]
[2016-01-09T05:31:50+00:00] DEBUG: Resource for file is Chef::Resource::File
* remote_file[/tmp/kitchen/cache/packages-chef-io-public.key] action create[2016-01-09T05:31:50+00:00] INFO: Processing remote_file[/tmp/kitchen/cache/packages-chef-io-public.key] action create (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 90)
[2016-01-09T05:31:50+00:00] DEBUG: remote_file[/tmp/kitchen/cache/packages-chef-io-public.key] checking for changes
[2016-01-09T05:31:50+00:00] DEBUG: Cache control headers: {}
[2016-01-09T05:31:50+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2016-01-09T05:31:50+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2016-01-09T05:31:50+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2016-01-09T05:31:50+00:00] DEBUG: Initiating GET to https://downloads.chef.io/packages-chef-io-public.key
[2016-01-09T05:31:50+00:00] DEBUG: ---- HTTP Request Header Data: ----
[2016-01-09T05:31:50+00:00] DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
[2016-01-09T05:31:50+00:00] DEBUG: ---- End HTTP Request Header Data ----
[2016-01-09T05:31:50+00:00] DEBUG: ---- HTTP Status and Header Data: ----
[2016-01-09T05:31:50+00:00] DEBUG: HTTP 1.1 200 OK
[2016-01-09T05:31:50+00:00] DEBUG: x-amz-id-2: 49sUZEh9azJkxxokuB+MGazE3jJHHFOBztn5PqWtBF0fp2vo6hzWOATCqLs7F12Uc9w+qt1zL8Q=
[2016-01-09T05:31:50+00:00] DEBUG: x-amz-request-id: 9B405C23BBF19959
[2016-01-09T05:31:50+00:00] DEBUG: last-modified: Tue, 22 Dec 2015 17:21:29 GMT
[2016-01-09T05:31:50+00:00] DEBUG: etag: "369efc3a19b9118cdf51c7e87a34f266"
[2016-01-09T05:31:50+00:00] DEBUG: content-type: application/pgp-keys
[2016-01-09T05:31:50+00:00] DEBUG: server: AmazonS3
[2016-01-09T05:31:50+00:00] DEBUG: content-length: 1911
[2016-01-09T05:31:50+00:00] DEBUG: accept-ranges: bytes
[2016-01-09T05:31:50+00:00] DEBUG: date: Sat, 09 Jan 2016 05:31:50 GMT
[2016-01-09T05:31:50+00:00] DEBUG: via: 1.1 varnish
[2016-01-09T05:31:50+00:00] DEBUG: age: 1203
[2016-01-09T05:31:50+00:00] DEBUG: connection: close
[2016-01-09T05:31:50+00:00] DEBUG: x-served-by: cache-nrt6131-NRT
[2016-01-09T05:31:50+00:00] DEBUG: x-cache: HIT
[2016-01-09T05:31:50+00:00] DEBUG: x-cache-hits: 159
[2016-01-09T05:31:50+00:00] DEBUG: strict-transport-security: max-age= 7776000; includeSubDomains
[2016-01-09T05:31:50+00:00] DEBUG: x-frame-options: SAMEORIGIN
[2016-01-09T05:31:50+00:00] DEBUG: ---- End HTTP Status/Header Data ----
[2016-01-09T05:31:50+00:00] DEBUG: Streaming download from https://downloads.chef.io/packages-chef-io-public.key to tempfile /tmp/chef-rest20160109-1485-12ils7q
[2016-01-09T05:31:50+00:00] DEBUG: content_encoding = '' initializing noop stream deflator.
[2016-01-09T05:31:50+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
[2016-01-09T05:31:50+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::NoopInflater#handle_chunk
[2016-01-09T05:31:50+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2016-01-09T05:31:50+00:00] DEBUG: Content-Length validated correctly.
[2016-01-09T05:31:50+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2016-01-09T05:31:50+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2016-01-09T05:31:50+00:00] DEBUG: Creating directory /tmp/kitchen/cache/remote_file
[2016-01-09T05:31:50+00:00] DEBUG: Touching /tmp/kitchen/cache/packages-chef-io-public.key to create it
[2016-01-09T05:31:50+00:00] INFO: remote_file[/tmp/kitchen/cache/packages-chef-io-public.key] created file /tmp/kitchen/cache/packages-chef-io-public.key
- create new file /tmp/kitchen/cache/packages-chef-io-public.key[2016-01-09T05:31:50+00:00] DEBUG: calculating checksum of /tmp/chef-rest20160109-1485-12ils7q to compare with
[2016-01-09T05:31:50+00:00] DEBUG: Running: diff -u /tmp/kitchen/cache/packages-chef-io-public.key /tmp/chef-rest20160109-1485-12ils7q
[2016-01-09T05:31:50+00:00] DEBUG: Reading modes from /tmp/kitchen/cache/packages-chef-io-public.key file
[2016-01-09T05:31:50+00:00] DEBUG: Applying mode = 644, uid = 0, gid = 0 to /tmp/chef-rest20160109-1485-12ils7q
[2016-01-09T05:31:50+00:00] DEBUG: Moving temporary file /tmp/chef-rest20160109-1485-12ils7q into place at /tmp/kitchen/cache/packages-chef-io-public.key
[2016-01-09T05:31:50+00:00] INFO: remote_file[/tmp/kitchen/cache/packages-chef-io-public.key] updated file contents /tmp/kitchen/cache/packages-chef-io-public.key
- update content in file /tmp/kitchen/cache/packages-chef-io-public.key from none to 6fa7d9
--- /tmp/kitchen/cache/packages-chef-io-public.key 2016-01-09 05:31:50.266851071 +0000
+++ /tmp/chef-rest20160109-1485-12ils7q 2016-01-09 05:31:50.262849071 +0000
@@ -1 +1,35 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.12 (Darwin)
+Comment: GPGTools - http://gpgtools.org
+
+mQGiBEppC7QRBADfsOkZU6KZK+YmKw4wev5mjKJEkVGlus+NxW8wItX5sGa6kdUu
+twAyj7Yr92rF+ICFEP3gGU6+lGo0Nve7KxkN/1W7/m3G4zuk+ccIKmjp8KS3qn99
+dxy64vcji9jIllVa+XXOGIp0G8GEaj7mbkixL/bMeGfdMlv8Gf2XPpp9vwCgn/GC
+JKacfnw7MpLKUHOYSlb//JsEAJqao3ViNfav83jJKEkD8cf59Y8xKia5OpZqTK5W
+ShVnNWS3U5IVQk10ZDH97Qn/YrK387H4CyhLE9mxPXs/ul18ioiaars/q2MEKU2I
+XKfV21eMLO9LYd6Ny/Kqj8o5WQK2J6+NAhSwvthZcIEphcFignIuobP+B5wNFQpe
+DbKfA/0WvN2OwFeWRcmmd3Hz7nHTpcnSF+4QX6yHRF/5BgxkG6IqBIACQbzPn6Hm
+sMtm/SVf11izmDqSsQptCrOZILfLX/mE+YOl+CwWSHhl+YsFts1WOuh1EhQD26aO
+Z84HuHV5HFRWjDLw9LriltBVQcXbpfSrRP5bdr7Wh8vhqJTPjrQnT3BzY29kZSBQ
+YWNrYWdlcyA8cGFja2FnZXNAb3BzY29kZS5jb20+iGAEExECACAFAkppC7QCGwMG
+CwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRApQKupg++Caj8sAKCOXmdG36gWji/K
+PHBhY2thZ2VzQGNoZWYuaW8+iGIEExECACIFAlQwYFECGwMGCwkIBwMCBhUIAgkK
+CwQWAgMBAh4BAheAAAoJEClAq6mD74JqX94An26z99XOHWpLN8ahzm7cp13t4Xid
+AJ9wVcgoUBzvgg91lKfv/34cmemZn7kCDQRKaQu0EAgAg7ZLCVGVTmLqBM6njZEd
+Zbv+mZbvwLBSomdiqddE6u3eH0X3GuwaQfQWHUVG2yedyDMiG+EMtCdEeeRebTCz
+SNXQ8Xvi22hRPoEsBSwWLZI8/XNg0n0f1+GEr+mOKO0BxDB2DG7DA0nnEISxwFkK
+OFJFebR3fRsrWjj0KjDxkhse2ddU/jVz1BY7Nf8toZmwpBmdozETMOTx3LJy1HZ/
+Te9FJXJMUaB2lRyluv15MVWCKQJro4MQG/7QGcIfrIZNfAGJ32DDSjV7/YO+IpRY
+IL4CUBQ65suY4gYUG4jhRH6u7H1p99sdwsg5OIpBe/v2Vbc/tbwAB+eJJAp89Zeu
+twADBQf/ZcGoPhTGFuzbkcNRSIz+boaeWPoSxK2DyfScyCAuG41CY9+g0HIw9Sq8
+DuxQvJ+vrEJjNvNE3EAEdKl/zkXMZDb1EXjGwDi845TxEMhhD1dDw2qpHqnJ2mtE
+WpZ7juGwA3sGhi6FapO04tIGacCfNNHmlRGipyq5ZiKIRq9mLEndlECr8cwaKgkS
+0wWu+xmMZe7N5/t/TK19HXNh4tVacv0F3fYK54GUjt2FjCQV75USnmNY4KPTYLXA
+dzC364hEMlXpN21siIFgB04w+TXn5UF3B4FfAy5hevvr4DtV4MvMiGLu0oWjpaLC
+MpmrR3Ny2wkmO0h+vgri9uIP06ODWIhJBBgRAgAJBQJKaQu0AhsMAAoJEClAq6mD
+74Jq4hIAoJ5KrYS8kCwj26SAGzglwggpvt3CAJ0bekyky56vNqoegB+y4PQVDv4K
+zA==
+=IxPr
[2016-01-09T05:31:50+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
[2016-01-09T05:31:50+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
[2016-01-09T05:31:50+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
- change mode from '' to '0644'[2016-01-09T05:31:50+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.
* execute[install-key packages-chef-io-public.key] action run[2016-01-09T05:31:50+00:00] INFO: Processing execute[install-key packages-chef-io-public.key] action run (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 112)
[2016-01-09T05:31:50+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute]
[2016-01-09T05:31:50+00:00] DEBUG: Provider for action run on resource execute[install-key packages-chef-io-public.key] is Chef::Provider::Execute
[execute] OK
[2016-01-09T05:31:50+00:00] INFO: execute[install-key packages-chef-io-public.key] ran successfully
- execute apt-key add /tmp/kitchen/cache/packages-chef-io-public.key
* file[/var/lib/apt/periodic/update-success-stamp] action nothing[2016-01-09T05:31:50+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 187)
(skipped due to action :nothing)
[2016-01-09T05:31:50+00:00] DEBUG: Skipping file[/var/lib/apt/periodic/update-success-stamp] due to action :nothing
* execute[apt-cache gencaches] action nothing[2016-01-09T05:31:50+00:00] INFO: Processing execute[apt-cache gencaches] action nothing (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 191)
(skipped due to action :nothing)
[2016-01-09T05:31:50+00:00] DEBUG: Skipping execute[apt-cache gencaches] due to action :nothing
* execute[apt-get update] action nothing[2016-01-09T05:31:50+00:00] INFO: Processing execute[apt-get update] action nothing (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 196)
(skipped due to action :nothing)
[2016-01-09T05:31:50+00:00] DEBUG: Skipping execute[apt-get update] due to action :nothing
* file[/etc/apt/sources.list.d/chef-stable.list] action create[2016-01-09T05:31:50+00:00] INFO: Processing file[/etc/apt/sources.list.d/chef-stable.list] action create (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 226)
[2016-01-09T05:31:50+00:00] DEBUG: Providers for generic file resource enabled on node include: [Chef::Provider::File]
[2016-01-09T05:31:50+00:00] DEBUG: Provider for action create on resource file[/etc/apt/sources.list.d/chef-stable.list] is Chef::Provider::File
[2016-01-09T05:31:50+00:00] DEBUG: Touching /etc/apt/sources.list.d/chef-stable.list to create it
[2016-01-09T05:31:50+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] created file /etc/apt/sources.list.d/chef-stable.list
- create new file /etc/apt/sources.list.d/chef-stable.list[2016-01-09T05:31:50+00:00] DEBUG: calculating checksum of /etc/apt/sources.list.d/.chef-stable.list20160109-1485-zcvzr6 to compare with
[2016-01-09T05:31:50+00:00] DEBUG: Running: diff -u /etc/apt/sources.list.d/chef-stable.list /etc/apt/sources.list.d/.chef-stable.list20160109-1485-zcvzr6
[2016-01-09T05:31:50+00:00] DEBUG: Reading modes from /etc/apt/sources.list.d/chef-stable.list file
[2016-01-09T05:31:50+00:00] DEBUG: Applying mode = 644, uid = 0, gid = 0 to /etc/apt/sources.list.d/.chef-stable.list20160109-1485-zcvzr6
[2016-01-09T05:31:50+00:00] DEBUG: Moving temporary file /etc/apt/sources.list.d/.chef-stable.list20160109-1485-zcvzr6 into place at /etc/apt/sources.list.d/chef-stable.list
[2016-01-09T05:31:50+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] updated file contents /etc/apt/sources.list.d/chef-stable.list
- update content in file /etc/apt/sources.list.d/chef-stable.list from none to 255cb4
--- /etc/apt/sources.list.d/chef-stable.list 2016-01-09 05:31:50.611023078 +0000
+++ /etc/apt/sources.list.d/.chef-stable.list20160109-1485-zcvzr6 2016-01-09 05:31:50.611023078 +0000
@@ -1 +1,2 @@
+deb [trusted=yes] "https://packagecloud.io/chef/stable/ubuntu/" trusty main[2016-01-09T05:31:50+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
[2016-01-09T05:31:50+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
[2016-01-09T05:31:50+00:00] DEBUG: Found current_uid == nil, so we are creating a new file, updating owner
[2016-01-09T05:31:50+00:00] DEBUG: Found current_gid == nil, so we are creating a new file, updating group
[2016-01-09T05:31:50+00:00] DEBUG: Found current_uid == nil, so we are creating a new file, updating owner
[2016-01-09T05:31:50+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] owner changed to 0
[2016-01-09T05:31:50+00:00] DEBUG: Found current_gid == nil, so we are creating a new file, updating group
[2016-01-09T05:31:50+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] group changed to 0
[2016-01-09T05:31:50+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
[2016-01-09T05:31:50+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] mode changed to 644
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'[2016-01-09T05:31:50+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.
[2016-01-09T05:31:50+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] sending delete action to file[/var/lib/apt/periodic/update-success-stamp] (immediate)
* file[/var/lib/apt/periodic/update-success-stamp] action delete[2016-01-09T05:31:50+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action delete (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 187)
[2016-01-09T05:31:50+00:00] DEBUG: Providers for generic file resource enabled on node include: [Chef::Provider::File]
[2016-01-09T05:31:50+00:00] DEBUG: Provider for action delete on resource file[/var/lib/apt/periodic/update-success-stamp] is Chef::Provider::File
(up to date)
[2016-01-09T05:31:50+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] sending run action to execute[apt-get update] (immediate)
* execute[apt-get update] action run[2016-01-09T05:31:50+00:00] INFO: Processing execute[apt-get update] action run (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 196)
[2016-01-09T05:31:50+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute]
[2016-01-09T05:31:50+00:00] DEBUG: Provider for action run on resource execute[apt-get update] is Chef::Provider::Execute
[execute] Ign https://packagecloud.io trusty InRelease
Get:1 https://packagecloud.io trusty/main Translation-en
Ign https://packagecloud.io trusty/main Translation-en
Fetched 48.4 kB in 3s (14.6 kB/s)
Reading package lists...
W: GPG error: https://packagecloud.io trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 37BBEE3F7AD95B3F
[2016-01-09T05:31:54+00:00] INFO: execute[apt-get update] ran successfully
- execute apt-get update -o Dir::Etc::sourcelist='sources.list.d/chef-stable.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0'
[2016-01-09T05:31:54+00:00] INFO: execute[apt-get update] sending run action to execute[apt-cache gencaches] (immediate)
* execute[apt-cache gencaches] action run[2016-01-09T05:31:54+00:00] INFO: Processing execute[apt-cache gencaches] action run (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 191)
[2016-01-09T05:31:54+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute]
[2016-01-09T05:31:54+00:00] DEBUG: Provider for action run on resource execute[apt-cache gencaches] is Chef::Provider::Execute
[2016-01-09T05:31:56+00:00] INFO: execute[apt-cache gencaches] ran successfully
- execute apt-cache gencaches
* apt_package[chef-server] action install[2016-01-09T05:31:56+00:00] INFO: Processing apt_package[chef-server] action install (/tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/helpers.rb line 46)
[2016-01-09T05:31:56+00:00] DEBUG: Providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt]
[2016-01-09T05:31:56+00:00] DEBUG: Provider for action install on resource apt_package[chef-server] is Chef::Provider::Package::Apt
chef-server-core:
Installed: (none)
Candidate: 12.3.1-1
Version table:
12.3.1-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.3.0-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.2.0-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.1.2-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.1.1-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.1.0-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.8-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.7-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.6-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.5-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.4-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.3-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.2-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.1-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
12.0.0-1 0
500 https://packagecloud.io/chef/stable/ubuntu/ trusty/main amd64 Packages
[2016-01-09T05:31:56+00:00] DEBUG: apt_package[chef-server] current version is nil
[2016-01-09T05:31:56+00:00] DEBUG: apt_package[chef-server] candidate version is 12.3.1-1
[2016-01-09T05:31:56+00:00] DEBUG: apt_package[chef-server] chef-server-core not installed, installing 12.3.1-1
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
chef-server-core
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 459 MB of archives.
After this operation, 1219 MB of additional disk space will be used.
Fetched 459 MB in 8min 5s (946 kB/s)
Selecting previously unselected package chef-server-core.
(Reading database ... 47124 files and directories currently installed.)
Preparing to unpack .../chef-server-core_12.3.1-1_amd64.deb ...
Unpacking chef-server-core (12.3.1-1) ...
Setting up chef-server-core (12.3.1-1) ...
[2016-01-09T05:40:46+00:00] INFO: apt_package[chef-server] installed chef-server-core at 12.3.1-1
- install version 12.3.1-1 of package chef-server-core
Recipe: chef-server::default
* file[/tmp/kitchen/cache/chef-server-core.firstrun] action create[2016-01-09T05:40:46+00:00] INFO: Processing file[/tmp/kitchen/cache/chef-server-core.firstrun] action create (chef-server::default line 38)
[2016-01-09T05:40:46+00:00] DEBUG: Providers for generic file resource enabled on node include: [Chef::Provider::File]
[2016-01-09T05:40:46+00:00] DEBUG: Provider for action create on resource file[/tmp/kitchen/cache/chef-server-core.firstrun] is Chef::Provider::File
[2016-01-09T05:40:46+00:00] DEBUG: Touching /tmp/kitchen/cache/chef-server-core.firstrun to create it
[2016-01-09T05:40:46+00:00] INFO: file[/tmp/kitchen/cache/chef-server-core.firstrun] created file /tmp/kitchen/cache/chef-server-core.firstrun
- create new file /tmp/kitchen/cache/chef-server-core.firstrun[2016-01-09T05:40:46+00:00] DEBUG: Found target_mode == nil, so no mode was specified on resource, not managing mode
[2016-01-09T05:40:46+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
[2016-01-09T05:40:46+00:00] DEBUG: Found target_gid == nil, so no group was specified on resource, not managing group
[2016-01-09T05:40:46+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.
* ingredient_config[chef-server] action render[2016-01-09T05:40:46+00:00] INFO: Processing ingredient_config[chef-server] action render (chef-server::default line 42)
[2016-01-09T05:40:46+00:00] DEBUG: Providers for generic ingredient_config resource enabled on node include: [Chef::Provider::IngredientConfig]
[2016-01-09T05:40:46+00:00] DEBUG: Provider for action render on resource ingredient_config[chef-server] is Chef::Provider::IngredientConfig
[2016-01-09T05:40:46+00:00] DEBUG: Resources for generic directory resource enabled on node include: [Chef::Resource::Directory]
[2016-01-09T05:40:46+00:00] DEBUG: Resource for directory is Chef::Resource::Directory
[2016-01-09T05:40:46+00:00] DEBUG: Resources for generic file resource enabled on node include: [Chef::Resource::File]
[2016-01-09T05:40:46+00:00] DEBUG: Resource for file is Chef::Resource::File
* directory[/etc/opscode] action create[2016-01-09T05:40:46+00:00] INFO: Processing directory[/etc/opscode] action create (/tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb line 35)
[2016-01-09T05:40:46+00:00] DEBUG: Providers for generic directory resource enabled on node include: [Chef::Provider::Directory]
[2016-01-09T05:40:46+00:00] DEBUG: Provider for action create on resource directory[/etc/opscode] is Chef::Provider::Directory
[2016-01-09T05:40:46+00:00] DEBUG: Found target_mode == nil, so no mode was specified on resource, not managing mode
[2016-01-09T05:40:46+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
[2016-01-09T05:40:46+00:00] DEBUG: Found target_gid == nil, so no group was specified on resource, not managing group
(up to date)
* file[/etc/opscode/chef-server.rb] action create[2016-01-09T05:40:46+00:00] INFO: Processing file[/etc/opscode/chef-server.rb] action create (/tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/ingredient_config_provider.rb line 40)
[2016-01-09T05:40:46+00:00] DEBUG: Providers for generic file resource enabled on node include: [Chef::Provider::File]
[2016-01-09T05:40:46+00:00] DEBUG: Provider for action create on resource file[/etc/opscode/chef-server.rb] is Chef::Provider::File
[2016-01-09T05:40:46+00:00] DEBUG: file[/etc/opscode/chef-server.rb] checksumming file at /etc/opscode/chef-server.rb.
[2016-01-09T05:40:46+00:00] DEBUG: calculating checksum of /etc/opscode/.chef-server.rb20160109-1485-1punobk to compare with e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
[2016-01-09T05:40:46+00:00] DEBUG: Running: diff -u /etc/opscode/chef-server.rb /etc/opscode/.chef-server.rb20160109-1485-1punobk
[2016-01-09T05:40:46+00:00] INFO: file[/etc/opscode/chef-server.rb] backed up to /tmp/kitchen/backup/etc/opscode/chef-server.rb.chef-20160109054046.535946
[2016-01-09T05:40:46+00:00] DEBUG: Reading modes from /etc/opscode/chef-server.rb file
[2016-01-09T05:40:46+00:00] DEBUG: Applying mode = 644, uid = 0, gid = 0 to /etc/opscode/.chef-server.rb20160109-1485-1punobk
[2016-01-09T05:40:46+00:00] DEBUG: Moving temporary file /etc/opscode/.chef-server.rb20160109-1485-1punobk into place at /etc/opscode/chef-server.rb
[2016-01-09T05:40:46+00:00] INFO: file[/etc/opscode/chef-server.rb] updated file contents /etc/opscode/chef-server.rb
- update content in file /etc/opscode/chef-server.rb from e3b0c4 to 272855
--- /etc/opscode/chef-server.rb 2016-01-09 05:40:45.431368766 +0000
+++ /etc/opscode/.chef-server.rb20160109-1485-1punobk 2016-01-09 05:40:46.527368792 +0000
@@ -1 +1,4 @@
+topology "standalone"
+api_fqdn "default-ubuntu-1404"
+[2016-01-09T05:40:46+00:00] DEBUG: Found target_mode == nil, so no mode was specified on resource, not managing mode
[2016-01-09T05:40:46+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
[2016-01-09T05:40:46+00:00] DEBUG: Found target_gid == nil, so no group was specified on resource, not managing group
[2016-01-09T05:40:46+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.
[2016-01-09T05:40:46+00:00] INFO: ingredient_config[chef-server] sending reconfigure action to chef_ingredient[chef-server] (immediate)
* chef_ingredient[chef-server] action reconfigure[2016-01-09T05:40:46+00:00] INFO: Processing chef_ingredient[chef-server] action reconfigure (chef-server::default line 26)
[2016-01-09T05:40:46+00:00] DEBUG: Providers for generic chef_ingredient resource enabled on node include: [Chef::Provider::ChefIngredient]
[2016-01-09T05:40:46+00:00] DEBUG: Provider for action reconfigure on resource chef_ingredient[chef-server] is Chef::Provider::ChefIngredient
[2016-01-09T05:40:46+00:00] DEBUG: Resources for generic chef_gem resource enabled on node include: [Chef::Resource::ChefGem]
[2016-01-09T05:40:46+00:00] DEBUG: Resource for chef_gem is Chef::Resource::ChefGem
* chef_gem[chef-server-mixlib-versioning] action install[2016-01-09T05:40:46+00:00] INFO: Processing chef_gem[chef-server-mixlib-versioning] action install (/tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/helpers.rb line 59)
[2016-01-09T05:40:46+00:00] DEBUG: Providers for generic chef_gem resource enabled on node include: [Chef::Provider::Package::Rubygems]
[2016-01-09T05:40:46+00:00] DEBUG: Provider for action install on resource chef_gem[chef-server-mixlib-versioning] is Chef::Provider::Package::Rubygems
[2016-01-09T05:40:46+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] using gem '/opt/chef/embedded/bin/gem'
[2016-01-09T05:40:46+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] found installed gem mixlib-versioning version 1.1.0 matching mixlib-versioning (>= 0)
[2016-01-09T05:40:47+00:00] DEBUG: found gem mixlib-versioning version 1.1.0 for platform ruby from #<Gem::Source:0x00000004471e78>
[2016-01-09T05:40:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] mixlib-versioning 1.1.0 already installed
[2016-01-09T05:40:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] is already installed - nothing to do
(up to date)
[2016-01-09T05:40:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] resetting gem environment to default
[2016-01-09T05:40:47+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute]
[2016-01-09T05:40:47+00:00] DEBUG: Resource for execute is Chef::Resource::Execute
* chef_gem[chef-server-mixlib-versioning] action install[2016-01-09T05:40:47+00:00] INFO: Processing chef_gem[chef-server-mixlib-versioning] action install (/tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/helpers.rb line 59)
[2016-01-09T05:40:47+00:00] DEBUG: Providers for generic chef_gem resource enabled on node include: [Chef::Provider::Package::Rubygems]
[2016-01-09T05:40:47+00:00] DEBUG: Provider for action install on resource chef_gem[chef-server-mixlib-versioning] is Chef::Provider::Package::Rubygems
[2016-01-09T05:40:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] using gem '/opt/chef/embedded/bin/gem'
[2016-01-09T05:40:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] found installed gem mixlib-versioning version 1.1.0 matching mixlib-versioning (>= 0)
[2016-01-09T05:40:47+00:00] DEBUG: found gem mixlib-versioning version 1.1.0 for platform ruby from #<Gem::Source:0x00000004471e78>
[2016-01-09T05:40:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] mixlib-versioning 1.1.0 already installed
[2016-01-09T05:40:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] is already installed - nothing to do
(up to date)
[2016-01-09T05:40:47+00:00] DEBUG: chef_gem[chef-server-mixlib-versioning] resetting gem environment to default
* execute[chef-server-core-reconfigure] action run[2016-01-09T05:40:47+00:00] INFO: Processing execute[chef-server-core-reconfigure] action run (/tmp/kitchen/cache/cookbooks/chef-ingredient/libraries/chef_ingredient_provider.rb line 69)
[2016-01-09T05:40:47+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute]
[2016-01-09T05:40:47+00:00] DEBUG: Provider for action run on resource execute[chef-server-core-reconfigure] is Chef::Provider::Execute
[execute] [2016-01-09T05:40:51+00:00] INFO: Port 8889 in use: Address already in use - bind(2) for 127.0.0.1:8889
[2016-01-09T05:40:51+00:00] INFO: Started chef-zero at chefzero://localhost:8890 with repository at /opt/opscode/embedded
One version per cookbook
[2016-01-09T05:40:51+00:00] INFO: *** Chef 12.5.1 ***
[2016-01-09T05:40:51+00:00] INFO: Chef-client pid: 1834
[2016-01-09T05:40:53+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8890/nodes/default-ubuntu-1404
[2016-01-09T05:40:53+00:00] INFO: Setting the run_list to ["recipe[private-chef::default]"] from CLI options
[2016-01-09T05:40:53+00:00] INFO: Run List is [recipe[private-chef::default]]
[2016-01-09T05:40:53+00:00] INFO: Run List expands to [private-chef::default]
[2016-01-09T05:40:53+00:00] INFO: Starting Chef Run for default-ubuntu-1404
[2016-01-09T05:40:53+00:00] INFO: Running start handlers
[2016-01-09T05:40:53+00:00] INFO: Start handlers complete.
[2016-01-09T05:40:53+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
[2016-01-09T05:40:54+00:00] INFO: Loading cookbooks [private-chef@0.1.0, enterprise@0.5.1, apt@2.7.0, yum@3.6.0, openssl@4.4.0, runit@1.6.0, chef-sugar@3.1.1, packagecloud@0.0.18]
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/resources/pg_upgrade.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/resources/pg_database.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/resources/keepalived_safemode.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/resources/pg_cluster.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/providers/pg_sqitch.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/resources/package_cleaner.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/providers/pg_cluster.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/resources/pg_user.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/resources/pg_sqitch.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/providers/pg_user.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/providers/package_cleaner.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/providers/pg_user_table_access.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/resources/pg_user_table_access.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/opscode-chef-mover.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/actions.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/postgresql-external.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/disable_chef_server_11.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/add_ons_wrapper.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/providers/keepalived_safemode.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/log_cleanup.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/providers/pg_database.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/bookshelf.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/old_postgres_cleanup.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/users.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/oc_bifrost.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/add_ons_repository.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/add_ons_remote.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/oc-chef-pedant.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/redis_disable.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/opscode-expander.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/providers/pg_upgrade.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/config.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/postgresql.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/sysctl-updates.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/partybus.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/nginx.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/opscode-erchef.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/oc_id.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/default.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/plugin_discovery.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/oc_id_database.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/bifrost_database.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/plugin_config_extensions.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/redis_lb.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/opscode-solr4-external.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/show_config.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/opscode-solr4.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/private-chef-sh.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/keepalived.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/plugin_chef_run.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/post_11_upgrade_cleanup.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/add_ons_local.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/erchef_database.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/rabbitmq.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/post_12_upgrade_cleanup.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/bootstrap.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/ec_postgres.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/opscode_webui_deprecation_notice.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/oc_id_application_resource.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/nginx_erb.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/enterprise_plugin_collection.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/preflight_solr_validator.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/elasticsearch_index_resource.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/recipes/ctl_config.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/preflight_postgres_validator.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/chef_run_resource.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/helper.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/enterprise_plugin.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/oc_id_application_provider.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/elasticsearch_index_provider.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/chef_run_provider.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/503.json in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/preflight_checks.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/404.html in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-heading.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/index.html in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/nav-active.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/logo.png in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-blocks-t.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/libraries/private_chef.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/solr4/schema.xml in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/solr4/solr.xml in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/css/all.css in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-close.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-login-form-b.png in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/image2.jpg in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/image3.jpg in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/favicon.ico in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-body.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-blog-title.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/photo.jpg in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-sidebar-title.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-main-t.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/separator-post-info.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-previous.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/image.jpg in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-main-b.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-next.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/logo.svg in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/attributes/default.rb in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/nav-bg.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/separator-footer-bottom.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-subscribe2.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/btn-go.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-platform.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-friends.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/hd-header.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/separator-blocks.gif in the cache.
[2016-01-09T05:40:54+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-about.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/btn-more.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-subscribe.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/logo.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-platform2-item.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/upMenuArrow.png in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-login-form-t.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-footer.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bullet-blog.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/btn-submit.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/separator-login.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/config.svlogd in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/separator-footer-list.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/oc_id.nginx-upstreams.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/nav-hover.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/html/images/bg-blocks-b.gif in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/cluster.sh.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/files/default/nginx/nginx-addons.README.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-nginx-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-chef-mover-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-postgresql-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/authkeys.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/redis_lb.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/postgresql.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/oc_id.nginx-external.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/ha-shellfuncs.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-postgresql-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/pivotal.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/rabbitmq.config.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/rabbitmq-defaults.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-rabbitmq-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-oc_bifrost-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/solr4/solrconfig.xml.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-redis_lb-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/postgresql-init.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/rabbitmq.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/solr4/solr-jetty-context.xml.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/partybus_config.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/statsd_config.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-chef-mover-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/bookshelf.config.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/jetty.xml.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-postgresql-t.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/bootstrap-script.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/solr4/jetty.xml.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-keepalived-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-solr4-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/pg_hba.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-erchef-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-oc_bifrost-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/pedant_config.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-expander-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/oc_id.database.yml.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/cookbook_migration.sh.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-expander-reindexer-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/keepalived.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/secret_token.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-bookshelf-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-bookshelf-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/rebuild.conf.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-solr4-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-expander-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/logrotate-opscode.conf in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/opc_logrotate.cron in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/90-postgresql.conf.sysctl.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/private-chef-sh.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-oc_id-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-erchef-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/ocf-shellfuncs.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/nginx/scripts/dispatch.lua.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/nginx/scripts/route_checks.lua.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/oc_erchef.config.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/nginx/scripts/routes.lua.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-nginx-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/session_store.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/nginx/scripts/config.lua.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/nginx/nginx_chef_api_lb.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-opscode-expander-reindexer-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/nginx/scripts/resolver.lua.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/init-runsvdir.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-rabbitmq-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/nginx/scripts/dispatch_route.lua.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-redis_lb-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/opscode-chef-mover.config.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-keepalived-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/logrotate.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/bootstrap-config.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/sv-oc_id-log-run.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/Berksfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/nginx/nginx.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/resources/pg_cluster.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/oc_id.secret_token.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/solrconfig.xml.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/resources/pg_user.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/resources/pg_database.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/providers/pg_cluster.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/metadata.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/providers/pg_user.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/providers/pg_database.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/recipes/runit_sysvinit.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/recipes/runit.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/recipes/runit_upstart.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/recipes/runit_systemd.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/libraries/helpers.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/expander.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/attributes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/oc_bifrost.config.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/templates/default/config.svlogd in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/templates/default/runsvdir-start.service.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/README.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/CHANGELOG.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/definitions/component_runit_service.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/Gemfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/libraries/dsl.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/metadata.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/resources/preference.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/templates/default/init-runsvdir.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/resources/repository.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/private-chef/templates/default/solr.rb.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/providers/preference.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/providers/repository.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/recipes/unattended-upgrades.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/LICENSE in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/recipes/cacher-ng.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/libraries/network.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/recipes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/libraries/helpers.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/enterprise/Berksfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/templates/default/01proxy.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/recipes/cacher-client.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/templates/default/acng.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/files/default/apt-proxy-v2.conf in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/libraries/matchers.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/attributes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/templates/default/20auto-upgrades.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/templates/default/unattended-upgrades.seed.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/templates/default/50unattended-upgrades.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/TESTING.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/templates/debian-6.0/acng.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/files/default/15update-stamp in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/Rakefile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/metadata.json in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/Guardfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/Gemfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/LICENSE in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/README.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/CONTRIBUTING in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/resources/globalconfig.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/metadata.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/Gemfile.lock in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/recipes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/libraries/matchers.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/Berksfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/providers/globalconfig.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/providers/repository.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/templates/default/main.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/Berksfile.lock in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/metadata.json in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/resources/repository.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/CHANGELOG.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/resources/x509.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/apt/CHANGELOG.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/resources/dhparam.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/README.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/attributes/main.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/libraries/random_password.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/resources/rsa_key.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/libraries/matchers.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/yum/templates/default/repo.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/attributes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/providers/dhparam.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/providers/rsa_key.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/recipes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/README.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/metadata.json in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/CHANGELOG.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/libraries/helpers.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/libraries/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/libraries/helpers.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/libraries/secure_password.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/libraries/matchers.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/recipes/upgrade.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/libraries/provider_runit_service.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/recipes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/libraries/resource_runit_service.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/openssl/providers/x509.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/files/ubuntu-6.10/runsvdir in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/templates/gentoo/runit-start.sh.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/templates/default/log-config.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/templates/debian/init.d.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/attributes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/files/default/runsvdir in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/README.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/files/ubuntu-7.04/runsvdir in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/chef-sugar/README.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/metadata.json in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/files/default/runit.seed in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/files/ubuntu-8.04/runsvdir in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/chef-sugar/metadata.json in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/resources/repo.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/providers/repo.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/libraries/helper.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/files/ubuntu-7.10/runsvdir in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/chef-sugar/CHANGELOG.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/Gemfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/libraries/matcher.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/README.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/chef-sugar/recipes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/Vagrantfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/Thorfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/Rakefile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/THANKS in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/runit/CHANGELOG.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/chefignore in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/templates/default/yum.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/templates/default/apt.erb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/Gemfile.lock in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/metadata.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/CHANGELOG.md in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/Berksfile.lock in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/Berksfile in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/LICENSE in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/metadata.json in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/attributes/default.rb in the cache.
[2016-01-09T05:40:55+00:00] INFO: Storing updated cookbooks/packagecloud/0001-chef-on-amazon-2014.patch in the cache.
[2016-01-09T05:40:55+00:00] WARN: Cannot specify both default and name_property together on property path of resource yum_globalconfig. Only one (name_property) will be obeyed. In Chef 13, this will become an error. at /opt/opscode/embedded/cookbooks/cache/cookbooks/yum/resources/globalconfig.rb:76:in `class_from_file' at /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.5.1/lib/chef/event_dispatch/dispatcher.rb:43:in `call'
[2016-01-09T05:40:56+00:00] INFO: Processing directory[/etc/opscode] action create (private-chef::default line 22)
[2016-01-09T05:40:56+00:00] INFO: Processing directory[/etc/opscode/logrotate.d] action create (private-chef::default line 29)
[2016-01-09T05:40:56+00:00] INFO: directory[/etc/opscode/logrotate.d] created directory /etc/opscode/logrotate.d
[2016-01-09T05:40:56+00:00] INFO: directory[/etc/opscode/logrotate.d] owner changed to 0
[2016-01-09T05:40:56+00:00] INFO: directory[/etc/opscode/logrotate.d] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: directory[/etc/opscode/logrotate.d] mode changed to 755
[2016-01-09T05:40:56+00:00] WARN: Cloning resource attributes for template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml] from prior resource (CHEF-3694)
[2016-01-09T05:40:56+00:00] WARN: Previous template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml]: /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/bootstrap.rb:32:in `from_file'
[2016-01-09T05:40:56+00:00] WARN: Current template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml]: /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/bootstrap.rb:61:in `from_file'
[2016-01-09T05:40:56+00:00] WARN: Cloning resource attributes for file[/etc/opscode/pivotal.pub] from prior resource (CHEF-3694)
[2016-01-09T05:40:56+00:00] WARN: Previous file[/etc/opscode/pivotal.pub]: /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/default.rb:116:in `from_file'
[2016-01-09T05:40:56+00:00] WARN: Current file[/etc/opscode/pivotal.pub]: /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/bootstrap.rb:66:in `from_file'
[2016-01-09T05:40:56+00:00] WARN: Cloning resource attributes for runit_service[redis_lb] from prior resource (CHEF-3694)
[2016-01-09T05:40:56+00:00] WARN: Previous runit_service[redis_lb]: /opt/opscode/embedded/cookbooks/cache/cookbooks/enterprise/definitions/component_runit_service.rb:37:in `block in from_file'
[2016-01-09T05:40:56+00:00] WARN: Current runit_service[redis_lb]: /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/redis_lb.rb:83:in `from_file'
[2016-01-09T05:40:56+00:00] WARN: Cloning resource attributes for directory[/var/opt/opscode/nginx/etc/addon.d] from prior resource (CHEF-3694)
[2016-01-09T05:40:56+00:00] WARN: Previous directory[/var/opt/opscode/nginx/etc/addon.d]: /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/oc_id.rb:173:in `from_file'
[2016-01-09T05:40:56+00:00] WARN: Current directory[/var/opt/opscode/nginx/etc/addon.d]: /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/nginx.rb:35:in `block in from_file'
[2016-01-09T05:40:56+00:00] INFO: Processing link[/usr/bin/private-chef-ctl] action create (private-chef::default line 13)
[2016-01-09T05:40:56+00:00] INFO: Processing link[/usr/bin/chef-server-ctl] action create (private-chef::default line 13)
[2016-01-09T05:40:56+00:00] INFO: Processing directory[/etc/opscode] action nothing (private-chef::default line 22)
[2016-01-09T05:40:56+00:00] INFO: Processing directory[/etc/opscode/logrotate.d] action nothing (private-chef::default line 29)
[2016-01-09T05:40:56+00:00] INFO: Processing log[opscode_webui deprecation notice] action write (private-chef::default line 44)
[2016-01-09T05:40:56+00:00] INFO: Processing user[opscode] action create (private-chef::users line 20)
[2016-01-09T05:40:56+00:00] INFO: user[opscode] created
[2016-01-09T05:40:56+00:00] INFO: Processing group[opscode] action create (private-chef::users line 26)
[2016-01-09T05:40:56+00:00] INFO: group[opscode] altered
[2016-01-09T05:40:56+00:00] INFO: Processing file[/etc/opscode/dark_launch_features.json] action create (private-chef::default line 66)
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/dark_launch_features.json] created file /etc/opscode/dark_launch_features.json
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/dark_launch_features.json] updated file contents /etc/opscode/dark_launch_features.json
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/dark_launch_features.json] owner changed to 998
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/dark_launch_features.json] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/dark_launch_features.json] mode changed to 644
[2016-01-09T05:40:56+00:00] INFO: Processing file[/etc/opscode/webui_pub.pem] action create (private-chef::default line 75)
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_pub.pem] created file /etc/opscode/webui_pub.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_pub.pem] updated file contents /etc/opscode/webui_pub.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_pub.pem] owner changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_pub.pem] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_pub.pem] mode changed to 644
[2016-01-09T05:40:56+00:00] INFO: Processing file[/etc/opscode/webui_priv.pem] action create (private-chef::default line 82)
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_priv.pem] created file /etc/opscode/webui_priv.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_priv.pem] updated file contents /etc/opscode/webui_priv.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_priv.pem] owner changed to 998
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_priv.pem] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/webui_priv.pem] mode changed to 600
[2016-01-09T05:40:56+00:00] INFO: Processing file[/etc/opscode/worker-public.pem] action create (private-chef::default line 91)
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-public.pem] created file /etc/opscode/worker-public.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-public.pem] updated file contents /etc/opscode/worker-public.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-public.pem] owner changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-public.pem] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-public.pem] mode changed to 644
[2016-01-09T05:40:56+00:00] INFO: Processing file[/etc/opscode/worker-private.pem] action create (private-chef::default line 98)
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-private.pem] created file /etc/opscode/worker-private.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-private.pem] updated file contents /etc/opscode/worker-private.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-private.pem] owner changed to 998
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-private.pem] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/worker-private.pem] mode changed to 600
[2016-01-09T05:40:56+00:00] INFO: Processing file[/etc/opscode/pivotal.pub] action create (private-chef::default line 116)
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pub] created file /etc/opscode/pivotal.pub
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pub] updated file contents /etc/opscode/pivotal.pub
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pub] owner changed to 998
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pub] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pub] mode changed to 644
[2016-01-09T05:40:56+00:00] INFO: Processing file[/etc/opscode/pivotal.pem] action create (private-chef::default line 126)
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pem] created file /etc/opscode/pivotal.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pem] updated file contents /etc/opscode/pivotal.pem
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pem] owner changed to 998
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pem] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: file[/etc/opscode/pivotal.pem] mode changed to 600
[2016-01-09T05:40:56+00:00] INFO: Processing directory[/etc/chef] action create (private-chef::default line 133)
[2016-01-09T05:40:56+00:00] INFO: directory[/etc/chef] created directory /etc/chef
[2016-01-09T05:40:56+00:00] INFO: directory[/etc/chef] owner changed to 0
[2016-01-09T05:40:56+00:00] INFO: directory[/etc/chef] group changed to 998
[2016-01-09T05:40:56+00:00] INFO: directory[/etc/chef] mode changed to 775
[2016-01-09T05:40:56+00:00] INFO: Processing directory[/var/opt/opscode] action create (private-chef::default line 140)
[2016-01-09T05:40:56+00:00] INFO: Processing directory[/var/log/opscode] action create (private-chef::default line 148)
[2016-01-09T05:40:56+00:00] INFO: directory[/var/log/opscode] created directory /var/log/opscode
[2016-01-09T05:40:56+00:00] INFO: directory[/var/log/opscode] owner changed to 998
[2016-01-09T05:40:56+00:00] INFO: directory[/var/log/opscode] group changed to 998
[2016-01-09T05:40:56+00:00] INFO: directory[/var/log/opscode] mode changed to 755
[2016-01-09T05:40:56+00:00] INFO: Processing private_chef_keepalived_safemode[warmfuzzy] action create (private-chef::default line 157)
[2016-01-09T05:40:56+00:00] INFO: Processing execute[initctl stop opscode-runsvdir] action run (enterprise::runit_upstart line 13)
[2016-01-09T05:40:56+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:40:56+00:00] INFO: Processing file[/etc/init/opscode-runsvdir.conf] action delete (enterprise::runit_upstart line 18)
[2016-01-09T05:40:56+00:00] INFO: Processing template[/etc/init/private-chef-runsvdir.conf] action create (enterprise::runit_upstart line 22)
[2016-01-09T05:40:56+00:00] INFO: template[/etc/init/private-chef-runsvdir.conf] created file /etc/init/private-chef-runsvdir.conf
[2016-01-09T05:40:56+00:00] INFO: template[/etc/init/private-chef-runsvdir.conf] updated file contents /etc/init/private-chef-runsvdir.conf
[2016-01-09T05:40:56+00:00] INFO: template[/etc/init/private-chef-runsvdir.conf] owner changed to 0
[2016-01-09T05:40:56+00:00] INFO: template[/etc/init/private-chef-runsvdir.conf] group changed to 0
[2016-01-09T05:40:56+00:00] INFO: template[/etc/init/private-chef-runsvdir.conf] mode changed to 644
[2016-01-09T05:40:56+00:00] INFO: Processing execute[initctl status private-chef-runsvdir] action run (enterprise::runit_upstart line 34)
[2016-01-09T05:40:56+00:00] INFO: execute[initctl status private-chef-runsvdir] ran successfully
[2016-01-09T05:40:56+00:00] INFO: Processing execute[initctl start private-chef-runsvdir] action run (enterprise::runit_upstart line 41)
[2016-01-09T05:40:56+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:40:57+00:00] INFO: execute[Guard resource] ran successfully
[2016-01-09T05:40:57+00:00] INFO: execute[initctl start private-chef-runsvdir] ran successfully
[2016-01-09T05:40:57+00:00] INFO: Processing execute[sysctl-reload] action nothing (private-chef::sysctl-updates line 15)
[2016-01-09T05:40:57+00:00] INFO: Processing bash[dual ip4/ip6 portbind] action run (private-chef::sysctl-updates line 24)
[2016-01-09T05:40:57+00:00] INFO: Processing chef_run[recipe[chef-ha-drbd::disable]] action run (private-chef::plugin_chef_run line 21)
[2016-01-09T05:40:57+00:00] WARN: Class Chef::Provider::ChefRun does not declare 'provides :chef_run'.
[2016-01-09T05:40:57+00:00] WARN: This will no longer work in Chef 13: you must use 'provides' to use the resource's DSL.
[2016-01-09T05:40:57+00:00] INFO: Run List is []
[2016-01-09T05:40:57+00:00] INFO: Run List expands to []
[2016-01-09T05:40:57+00:00] INFO: Run List is []
[2016-01-09T05:40:57+00:00] INFO: Run List expands to []
[2016-01-09T05:40:57+00:00] INFO: Processing apt_package[apt-transport-https] action install (private-chef::add_ons_repository line 13)
[2016-01-09T05:40:57+00:00] INFO: Processing apt_repository[chef-stable] action add (private-chef::add_ons_repository line 15)
[2016-01-09T05:40:57+00:00] INFO: Processing remote_file[/opt/opscode/embedded/cookbooks/cache/gpg.key] action create (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 59)
[2016-01-09T05:40:58+00:00] INFO: remote_file[/opt/opscode/embedded/cookbooks/cache/gpg.key] created file /opt/opscode/embedded/cookbooks/cache/gpg.key
[2016-01-09T05:40:58+00:00] INFO: remote_file[/opt/opscode/embedded/cookbooks/cache/gpg.key] updated file contents /opt/opscode/embedded/cookbooks/cache/gpg.key
[2016-01-09T05:40:58+00:00] INFO: remote_file[/opt/opscode/embedded/cookbooks/cache/gpg.key] mode changed to 644
[2016-01-09T05:40:58+00:00] INFO: Processing execute[install-key gpg.key] action run (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 73)
[2016-01-09T05:40:58+00:00] INFO: execute[install-key gpg.key] ran successfully
[2016-01-09T05:40:58+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 147)
[2016-01-09T05:40:58+00:00] INFO: Processing execute[apt-cache gencaches] action nothing (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 151)
[2016-01-09T05:40:58+00:00] INFO: Processing execute[apt-get update] action nothing (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 156)
[2016-01-09T05:40:58+00:00] INFO: Processing file[/etc/apt/sources.list.d/chef-stable.list] action create (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 185)
[2016-01-09T05:40:58+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] backed up to /var/opt/opscode/local-mode-cache/backup/etc/apt/sources.list.d/chef-stable.list.chef-20160109054058.398468
[2016-01-09T05:40:58+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] updated file contents /etc/apt/sources.list.d/chef-stable.list
[2016-01-09T05:40:58+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] sending delete action to file[/var/lib/apt/periodic/update-success-stamp] (immediate)
[2016-01-09T05:40:58+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action delete (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 147)
[2016-01-09T05:40:58+00:00] INFO: file[/etc/apt/sources.list.d/chef-stable.list] sending run action to execute[apt-get update] (immediate)
[2016-01-09T05:40:58+00:00] INFO: Processing execute[apt-get update] action run (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 156)
[2016-01-09T05:41:02+00:00] INFO: execute[apt-get update] ran successfully
[2016-01-09T05:41:02+00:00] INFO: execute[apt-get update] sending run action to execute[apt-cache gencaches] (immediate)
[2016-01-09T05:41:02+00:00] INFO: Processing execute[apt-cache gencaches] action run (/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 151)
[2016-01-09T05:41:08+00:00] INFO: execute[apt-cache gencaches] ran successfully
[2016-01-09T05:41:08+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (apt::default line 30)
[2016-01-09T05:41:08+00:00] INFO: Processing directory[/etc/apt/apt.conf.d] action create (apt::default line 53)
[2016-01-09T05:41:08+00:00] INFO: Processing cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create (apt::default line 57)
[2016-01-09T05:41:08+00:00] INFO: cookbook_file[/etc/apt/apt.conf.d/15update-stamp] created file /etc/apt/apt.conf.d/15update-stamp
[2016-01-09T05:41:08+00:00] INFO: cookbook_file[/etc/apt/apt.conf.d/15update-stamp] updated file contents /etc/apt/apt.conf.d/15update-stamp
[2016-01-09T05:41:08+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 62)
[2016-01-09T05:42:00+00:00] INFO: execute[apt-get-update] ran successfully
[2016-01-09T05:42:00+00:00] INFO: execute[apt-get-update] sending touch action to file[/var/lib/apt/periodic/update-success-stamp] (immediate)
[2016-01-09T05:42:00+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action touch (apt::default line 30)
[2016-01-09T05:42:00+00:00] INFO: file[/var/lib/apt/periodic/update-success-stamp] updated atime and mtime to 2016-01-09 05:42:00 +0000
[2016-01-09T05:42:00+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 71)
[2016-01-09T05:42:00+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 80)
[2016-01-09T05:42:00+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 87)
[2016-01-09T05:42:00+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 93)
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 105)
[2016-01-09T05:42:00+00:00] INFO: directory[/var/cache/local] created directory /var/cache/local
[2016-01-09T05:42:00+00:00] INFO: directory[/var/cache/local] owner changed to 0
[2016-01-09T05:42:00+00:00] INFO: directory[/var/cache/local] group changed to 0
[2016-01-09T05:42:00+00:00] INFO: directory[/var/cache/local] mode changed to 755
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 105)
[2016-01-09T05:42:00+00:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding
[2016-01-09T05:42:00+00:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0
[2016-01-09T05:42:00+00:00] INFO: directory[/var/cache/local/preseeding] group changed to 0
[2016-01-09T05:42:00+00:00] INFO: directory[/var/cache/local/preseeding] mode changed to 755
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/var/opt/opscode/rabbitmq] action create (private-chef::rabbitmq line 34)
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq] created directory /var/opt/opscode/rabbitmq
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq] owner changed to 998
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq] group changed to 998
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq] mode changed to 750
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/var/opt/opscode/rabbitmq/etc] action create (private-chef::rabbitmq line 34)
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq/etc] created directory /var/opt/opscode/rabbitmq/etc
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq/etc] owner changed to 998
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq/etc] group changed to 998
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq/etc] mode changed to 750
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/var/opt/opscode/rabbitmq/db] action create (private-chef::rabbitmq line 34)
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq/db] created directory /var/opt/opscode/rabbitmq/db
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq/db] owner changed to 998
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq/db] group changed to 998
[2016-01-09T05:42:00+00:00] INFO: directory[/var/opt/opscode/rabbitmq/db] mode changed to 750
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/var/log/opscode/rabbitmq] action create (private-chef::rabbitmq line 34)
[2016-01-09T05:42:00+00:00] INFO: directory[/var/log/opscode/rabbitmq] created directory /var/log/opscode/rabbitmq
[2016-01-09T05:42:00+00:00] INFO: directory[/var/log/opscode/rabbitmq] owner changed to 998
[2016-01-09T05:42:00+00:00] INFO: directory[/var/log/opscode/rabbitmq] group changed to 998
[2016-01-09T05:42:00+00:00] INFO: directory[/var/log/opscode/rabbitmq] mode changed to 750
[2016-01-09T05:42:00+00:00] INFO: Processing link[/var/opt/opscode/rabbitmq/db] action create (private-chef::rabbitmq line 42)
[2016-01-09T05:42:00+00:00] INFO: Processing link[/opt/opscode/embedded/bin/rabbitmqctl] action create (private-chef::rabbitmq line 55)
[2016-01-09T05:42:00+00:00] INFO: Processing link[/opt/opscode/embedded/bin/rabbitmq-defaults] action create (private-chef::rabbitmq line 55)
[2016-01-09T05:42:00+00:00] INFO: link[/opt/opscode/embedded/bin/rabbitmq-defaults] created
[2016-01-09T05:42:00+00:00] INFO: Processing link[/opt/opscode/embedded/bin/rabbitmq-env] action create (private-chef::rabbitmq line 55)
[2016-01-09T05:42:00+00:00] INFO: Processing link[/opt/opscode/embedded/bin/rabbitmq-plugins] action create (private-chef::rabbitmq line 55)
[2016-01-09T05:42:00+00:00] INFO: link[/opt/opscode/embedded/bin/rabbitmq-plugins] created
[2016-01-09T05:42:00+00:00] INFO: Processing link[/opt/opscode/embedded/bin/rabbitmq-server] action create (private-chef::rabbitmq line 55)
[2016-01-09T05:42:00+00:00] INFO: Processing template[/opt/opscode/embedded/service/rabbitmq/sbin/rabbitmq-defaults] action create (private-chef::rabbitmq line 62)
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/embedded/service/rabbitmq/sbin/rabbitmq-defaults] backed up to /var/opt/opscode/local-mode-cache/backup/opt/opscode/embedded/service/rabbitmq/sbin/rabbitmq-defaults.chef-20160109054200.794546
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/embedded/service/rabbitmq/sbin/rabbitmq-defaults] updated file contents /opt/opscode/embedded/service/rabbitmq/sbin/rabbitmq-defaults
[2016-01-09T05:42:00+00:00] INFO: Processing template[/var/opt/opscode/rabbitmq/etc/rabbitmq.conf] action create (private-chef::rabbitmq line 70)
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.conf] created file /var/opt/opscode/rabbitmq/etc/rabbitmq.conf
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.conf] updated file contents /var/opt/opscode/rabbitmq/etc/rabbitmq.conf
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.conf] owner changed to 0
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.conf] group changed to 0
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.conf] mode changed to 644
[2016-01-09T05:42:00+00:00] INFO: Processing template[/var/opt/opscode/rabbitmq/etc/rabbitmq.config] action create (private-chef::rabbitmq line 86)
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.config] created file /var/opt/opscode/rabbitmq/etc/rabbitmq.config
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.config] updated file contents /var/opt/opscode/rabbitmq/etc/rabbitmq.config
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.config] owner changed to 0
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.config] group changed to 0
[2016-01-09T05:42:00+00:00] INFO: template[/var/opt/opscode/rabbitmq/etc/rabbitmq.config] mode changed to 755
[2016-01-09T05:42:00+00:00] INFO: Processing execute[restart_rabbitmq_log_service] action nothing (private-chef::rabbitmq line 19)
[2016-01-09T05:42:00+00:00] INFO: Processing template[/var/log/opscode/rabbitmq/config] action create (private-chef::rabbitmq line 24)
[2016-01-09T05:42:00+00:00] INFO: template[/var/log/opscode/rabbitmq/config] created file /var/log/opscode/rabbitmq/config
[2016-01-09T05:42:00+00:00] INFO: template[/var/log/opscode/rabbitmq/config] updated file contents /var/log/opscode/rabbitmq/config
[2016-01-09T05:42:00+00:00] INFO: template[/var/log/opscode/rabbitmq/config] owner changed to 0
[2016-01-09T05:42:00+00:00] INFO: template[/var/log/opscode/rabbitmq/config] group changed to 0
[2016-01-09T05:42:00+00:00] INFO: template[/var/log/opscode/rabbitmq/config] mode changed to 644
[2016-01-09T05:42:00+00:00] INFO: Processing service[rabbitmq] action nothing (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: Processing runit_service[rabbitmq] action enable (private-chef::rabbitmq line 37)
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/opt/opscode/sv/rabbitmq] action create (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: directory[/opt/opscode/sv/rabbitmq] created directory /opt/opscode/sv/rabbitmq
[2016-01-09T05:42:00+00:00] INFO: directory[/opt/opscode/sv/rabbitmq] mode changed to 755
[2016-01-09T05:42:00+00:00] INFO: Processing template[/opt/opscode/sv/rabbitmq/run] action create (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/run] created file /opt/opscode/sv/rabbitmq/run
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/run] updated file contents /opt/opscode/sv/rabbitmq/run
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/run] mode changed to 755
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/opt/opscode/sv/rabbitmq/log] action create (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: directory[/opt/opscode/sv/rabbitmq/log] created directory /opt/opscode/sv/rabbitmq/log
[2016-01-09T05:42:00+00:00] INFO: directory[/opt/opscode/sv/rabbitmq/log] mode changed to 755
[2016-01-09T05:42:00+00:00] INFO: Processing directory[/opt/opscode/sv/rabbitmq/log/main] action create (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: directory[/opt/opscode/sv/rabbitmq/log/main] created directory /opt/opscode/sv/rabbitmq/log/main
[2016-01-09T05:42:00+00:00] INFO: directory[/opt/opscode/sv/rabbitmq/log/main] mode changed to 755
[2016-01-09T05:42:00+00:00] INFO: Processing template[/opt/opscode/sv/rabbitmq/log/run] action create (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/log/run] created file /opt/opscode/sv/rabbitmq/log/run
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/log/run] updated file contents /opt/opscode/sv/rabbitmq/log/run
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/log/run] mode changed to 755
[2016-01-09T05:42:00+00:00] INFO: Processing template[/opt/opscode/sv/rabbitmq/log/config] action create (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/log/config] created file /opt/opscode/sv/rabbitmq/log/config
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/log/config] updated file contents /opt/opscode/sv/rabbitmq/log/config
[2016-01-09T05:42:00+00:00] INFO: template[/opt/opscode/sv/rabbitmq/log/config] mode changed to 644
[2016-01-09T05:42:00+00:00] INFO: Processing link[/opt/opscode/init/rabbitmq] action create (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: link[/opt/opscode/init/rabbitmq] created
[2016-01-09T05:42:00+00:00] INFO: runit_service[rabbitmq] configured
[2016-01-09T05:42:00+00:00] INFO: Processing link[/opt/opscode/service/rabbitmq] action create (dynamically defined)
[2016-01-09T05:42:00+00:00] INFO: link[/opt/opscode/service/rabbitmq] created
[2016-01-09T05:42:02+00:00] INFO: runit_service[rabbitmq] enabled
[2016-01-09T05:42:05+00:00] INFO: Processing execute[/opt/opscode/bin/private-chef-ctl start rabbitmq] action run (private-chef::rabbitmq line 105)
[2016-01-09T05:42:09+00:00] INFO: execute[/opt/opscode/bin/private-chef-ctl start rabbitmq] ran successfully
[2016-01-09T05:42:09+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid] action run (private-chef::rabbitmq line 110)
[2016-01-09T05:42:09+00:00] INFO: execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid] ran successfully
[2016-01-09T05:42:09+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /chef] action run (private-chef::rabbitmq line 116)
[2016-01-09T05:42:09+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:09+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /chef] ran successfully
[2016-01-09T05:42:09+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /reindexer] action run (private-chef::rabbitmq line 116)
[2016-01-09T05:42:09+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:10+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /reindexer] ran successfully
[2016-01-09T05:42:10+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /jobs] action run (private-chef::rabbitmq line 116)
[2016-01-09T05:42:10+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:10+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /jobs] ran successfully
[2016-01-09T05:42:10+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /analytics] action run (private-chef::rabbitmq line 116)
[2016-01-09T05:42:10+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:11+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /analytics] ran successfully
[2016-01-09T05:42:11+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl add_user chef 730e0550347f0ab85e5f876d62bbfa3ccf4c259300a76e42bd6fe090c91a07f785716da0e6cc76fc0a3e5cf86a9e118371bb] action run (private-chef::rabbitmq line 124)
[2016-01-09T05:42:11+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:11+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl add_user chef 730e0550347f0ab85e5f876d62bbfa3ccf4c259300a76e42bd6fe090c91a07f785716da0e6cc76fc0a3e5cf86a9e118371bb] ran successfully
[2016-01-09T05:42:11+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl add_user jobs e6b4a66ab2147690c9891c799f12e41c6242076330cf4402b1432efbd9f439db7348ea892a9d4b6e9c489cc4866b1a9f4bb4] action run (private-chef::rabbitmq line 131)
[2016-01-09T05:42:11+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:12+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl add_user jobs e6b4a66ab2147690c9891c799f12e41c6242076330cf4402b1432efbd9f439db7348ea892a9d4b6e9c489cc4866b1a9f4bb4] ran successfully
[2016-01-09T05:42:12+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl add_user actions c52c2fde395a9013fa99fb73ff8b65b6946dd06747e1e7ed605ebcb8457652d48fc120a91424a545c6e98afd1a868b00bd8c] action run (private-chef::rabbitmq line 138)
[2016-01-09T05:42:12+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:12+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl add_user actions c52c2fde395a9013fa99fb73ff8b65b6946dd06747e1e7ed605ebcb8457652d48fc120a91424a545c6e98afd1a868b00bd8c] ran successfully
[2016-01-09T05:42:12+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl add_user rabbitmgmt 5d394a2dd891ba5758b76f9e01905158cf7b72d5500ff7565b2daeace71abbcbacf3f1b69f1d4d114734501dfac45b7193ca] action run (private-chef::rabbitmq line 146)
[2016-01-09T05:42:12+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:12+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl add_user rabbitmgmt 5d394a2dd891ba5758b76f9e01905158cf7b72d5500ff7565b2daeace71abbcbacf3f1b69f1d4d114734501dfac45b7193ca] ran successfully
[2016-01-09T05:42:12+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /chef chef ".*" ".*" ".*"] action run (private-chef::rabbitmq line 158)
[2016-01-09T05:42:12+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:13+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /chef chef ".*" ".*" ".*"] ran successfully
[2016-01-09T05:42:13+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /reindexer chef ".*" ".*" ".*"] action run (private-chef::rabbitmq line 165)
[2016-01-09T05:42:13+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:13+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /reindexer chef ".*" ".*" ".*"] ran successfully
[2016-01-09T05:42:13+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /jobs jobs ".*" ".*" ".*"] action run (private-chef::rabbitmq line 172)
[2016-01-09T05:42:13+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:14+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /jobs jobs ".*" ".*" ".*"] ran successfully
[2016-01-09T05:42:14+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics chef ".*" ".*" ".*"] action run (private-chef::rabbitmq line 179)
[2016-01-09T05:42:14+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:14+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics chef ".*" ".*" ".*"] ran successfully
[2016-01-09T05:42:14+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics actions ".*" ".*" ".*"] action run (private-chef::rabbitmq line 186)
[2016-01-09T05:42:14+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:15+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics actions ".*" ".*" ".*"] ran successfully
[2016-01-09T05:42:15+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics rabbitmgmt ".*" ".*" ".*"] action run (private-chef::rabbitmq line 194)
[2016-01-09T05:42:15+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:15+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics rabbitmgmt ".*" ".*" ".*"] ran successfully
[2016-01-09T05:42:15+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p / rabbitmgmt ".*" ".*" ".*"] action run (private-chef::rabbitmq line 201)
[2016-01-09T05:42:15+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:15+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p / rabbitmgmt ".*" ".*" ".*"] ran successfully
[2016-01-09T05:42:16+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmq-plugins enable rabbitmq_management] action run (private-chef::rabbitmq line 208)
[2016-01-09T05:42:16+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:16+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmq-plugins enable rabbitmq_management] ran successfully
[2016-01-09T05:42:16+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_user_tags rabbitmgmt administrator] action run (private-chef::rabbitmq line 217)
[2016-01-09T05:42:16+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined)
[2016-01-09T05:42:17+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_user_tags rabbitmgmt administrator] ran successfully
[2016-01-09T05:42:17+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl set_policy -p /analytics max_length '(erchef|alaska|notifier.notifications|notifier_config)' '{"max-length":10000}' --apply-to queues] action run (private-chef::rabbitmq line 224)
[2016-01-09T05:42:17+00:00] INFO: execute[/opt/opscode/embedded/bin/rabbitmqctl set_policy -p /analytics max_length '(erchef|alaska|notifier.notifications|notifier_config)' '{"max-length":10000}' --apply-to queues] ran successfully
[2016-01-09T05:42:17+00:00] INFO: Processing execute[/opt/opscode/embedded/bin/rabbitmqctl clear_policy -p /analytics max_length] action run (private-chef::rabbitmq line 231)
[2016-01-09T05:42:17+00:00] INFO: Processing service[postgres] action nothing (dynamically defined)
[2016-01-09T05:42:17+00:00] INFO: Processing runit_service[postgres] action stop (private-chef::old_postgres_cleanup line 11)
[2016-01-09T05:42:17+00:00] INFO: Processing runit_service[postgres] action disable (private-chef::old_postgres_cleanup line 11)
[2016-01-09T05:42:17+00:00] INFO: Processing directory[/opt/opscode/sv/postgres] action delete (private-chef::old_postgres_cleanup line 16)
[2016-01-09T05:42:17+00:00] INFO: Processing user[opscode-pgsql] action create (private-chef::postgresql line 27)
[2016-01-09T05:42:17+00:00] INFO: user[opscode-pgsql] created
[2016-01-09T05:42:17+00:00] INFO: Processing directory[/var/opt/opscode/postgresql] action create (private-chef::postgresql line 37)
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql] created directory /var/opt/opscode/postgresql
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql] owner changed to 997
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql] mode changed to 750
[2016-01-09T05:42:17+00:00] INFO: Processing file[/var/opt/opscode/postgresql/.profile] action create (private-chef::postgresql line 43)
[2016-01-09T05:42:17+00:00] INFO: file[/var/opt/opscode/postgresql/.profile] created file /var/opt/opscode/postgresql/.profile
[2016-01-09T05:42:17+00:00] INFO: file[/var/opt/opscode/postgresql/.profile] updated file contents /var/opt/opscode/postgresql/.profile
[2016-01-09T05:42:17+00:00] INFO: file[/var/opt/opscode/postgresql/.profile] owner changed to 997
[2016-01-09T05:42:17+00:00] INFO: file[/var/opt/opscode/postgresql/.profile] mode changed to 644
[2016-01-09T05:42:17+00:00] INFO: Processing directory[/var/log/opscode/postgresql/9.2] action create (private-chef::postgresql line 53)
[2016-01-09T05:42:17+00:00] INFO: directory[/var/log/opscode/postgresql/9.2] created directory /var/log/opscode/postgresql/9.2
[2016-01-09T05:42:17+00:00] INFO: directory[/var/log/opscode/postgresql/9.2] owner changed to 998
[2016-01-09T05:42:17+00:00] INFO: directory[/var/log/opscode/postgresql/9.2] group changed to 998
[2016-01-09T05:42:17+00:00] INFO: directory[/var/log/opscode/postgresql/9.2] mode changed to 750
[2016-01-09T05:42:17+00:00] INFO: Processing directory[/var/opt/opscode/postgresql/9.2] action create (private-chef::postgresql line 60)
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql/9.2] created directory /var/opt/opscode/postgresql/9.2
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql/9.2] owner changed to 997
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql/9.2] mode changed to 750
[2016-01-09T05:42:17+00:00] INFO: Processing service[procps] action nothing (private-chef::postgresql line 70)
[2016-01-09T05:42:17+00:00] INFO: Processing template[/etc/sysctl.d/90-postgresql.conf] action create (private-chef::postgresql line 74)
[2016-01-09T05:42:17+00:00] INFO: template[/etc/sysctl.d/90-postgresql.conf] created file /etc/sysctl.d/90-postgresql.conf
[2016-01-09T05:42:17+00:00] INFO: template[/etc/sysctl.d/90-postgresql.conf] updated file contents /etc/sysctl.d/90-postgresql.conf
[2016-01-09T05:42:17+00:00] INFO: template[/etc/sysctl.d/90-postgresql.conf] owner changed to 0
[2016-01-09T05:42:17+00:00] INFO: template[/etc/sysctl.d/90-postgresql.conf] mode changed to 644
[2016-01-09T05:42:17+00:00] INFO: template[/etc/sysctl.d/90-postgresql.conf] sending restart action to service[procps] (immediate)
[2016-01-09T05:42:17+00:00] INFO: Processing service[procps] action restart (private-chef::postgresql line 70)
[2016-01-09T05:42:17+00:00] INFO: service[procps] restarted
[2016-01-09T05:42:17+00:00] INFO: Processing private_chef_pg_upgrade[upgrade_if_necessary] action upgrade (private-chef::postgresql line 101)
[2016-01-09T05:42:17+00:00] INFO: Processing private_chef_pg_cluster[/var/opt/opscode/postgresql/9.2/data] action init (private-chef::postgresql line 103)
[2016-01-09T05:42:17+00:00] INFO: Processing directory[/var/opt/opscode/postgresql/9.2/data] action create (/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/providers/pg_cluster.rb line 25)
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql/9.2/data] created directory /var/opt/opscode/postgresql/9.2/data
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql/9.2/data] owner changed to 997
[2016-01-09T05:42:17+00:00] INFO: directory[/var/opt/opscode/postgresql/9.2/data] mode changed to 700
[2016-01-09T05:42:17+00:00] INFO: Processing execute[initialize_cluster_/var/opt/opscode/postgresql/9.2/data] action run (/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/providers/pg_cluster.rb line 32)
[2016-01-09T05:42:19+00:00] INFO: execute[initialize_cluster_/var/opt/opscode/postgresql/9.2/data] ran successfully
[2016-01-09T05:42:19+00:00] INFO: Processing template[/var/opt/opscode/postgresql/9.2/data/postgresql.conf] action create (/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/providers/pg_cluster.rb line 40)
[2016-01-09T05:42:19+00:00] INFO: template[/var/opt/opscode/postgresql/9.2/data/postgresql.conf] backed up to /var/opt/opscode/local-mode-cache/backup/var/opt/opscode/postgresql/9.2/data/postgresql.conf.chef-20160109054219.609121
[2016-01-09T05:42:19+00:00] INFO: template[/var/opt/opscode/postgresql/9.2/data/postgresql.conf] updated file contents /var/opt/opscode/postgresql/9.2/data/postgresql.conf
[2016-01-09T05:42:19+00:00] INFO: template[/var/opt/opscode/postgresql/9.2/data/postgresql.conf] mode changed to 644
[2016-01-09T05:42:19+00:00] INFO: Processing template[/var/opt/opscode/postgresql/9.2/data/pg_hba.conf] action create (/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/providers/pg_cluster.rb line 40)
[2016-01-09T05:42:19+00:00] INFO: template[/var/opt/opscode/postgresql/9.2/data/pg_hba.conf] backed up to /var/opt/opscode/local-mode-cache/backup/var/opt/opscode/postgresql/9.2/data/pg_hba.conf.chef-20160109054219.621866
[2016-01-09T05:42:19+00:00] INFO: template[/var/opt/opscode/postgresql/9.2/data/pg_hba.conf] updated file contents /var/opt/opscode/postgresql/9.2/data/pg_hba.conf
[2016-01-09T05:42:19+00:00] INFO: template[/var/opt/opscode/postgresql/9.2/data/pg_hba.conf] mode changed to 644
[2016-01-09T05:42:19+00:00] INFO: Processing link[/var/opt/opscode/postgresql/9.2/data] action create (private-chef::postgresql line 107)
[2016-01-09T05:42:19+00:00] INFO: Processing execute[restart_postgresql_log_service] action nothing (private-chef::postgresql line 19)
[2016-01-09T05:42:19+00:00] INFO: Processing template[/var/log/opscode/postgresql/9.2/config] action create (private-chef::postgresql line 24)
[2016-01-09T05:42:19+00:00] INFO: template[/var/log/opscode/postgresql/9.2/config] created file /var/log/opscode/postgresql/9.2/config
[2016-01-09T05:42:19+00:00] INFO: template[/var/log/opscode/postgresql/9.2/config] updated file contents /var/log/opscode/postgresql/9.2/config
[2016-01-09T05:42:19+00:00] INFO: template[/var/log/opscode/postgresql/9.2/config] owner changed to 0
[2016-01-09T05:42:19+00:00] INFO: template[/var/log/opscode/postgresql/9.2/config] group changed to 0
[2016-01-09T05:42:19+00:00] INFO: template[/var/log/opscode/postgresql/9.2/config] mode changed to 644
[2016-01-09T05:42:19+00:00] INFO: Processing service[postgresql] action nothing (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: Processing runit_service[postgresql] action enable (private-chef::postgresql line 37)
[2016-01-09T05:42:19+00:00] INFO: Processing directory[/opt/opscode/sv/postgresql] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: directory[/opt/opscode/sv/postgresql] created directory /opt/opscode/sv/postgresql
[2016-01-09T05:42:19+00:00] INFO: directory[/opt/opscode/sv/postgresql] mode changed to 755
[2016-01-09T05:42:19+00:00] INFO: Processing template[/opt/opscode/sv/postgresql/run] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/run] created file /opt/opscode/sv/postgresql/run
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/run] updated file contents /opt/opscode/sv/postgresql/run
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/run] mode changed to 755
[2016-01-09T05:42:19+00:00] INFO: Processing directory[/opt/opscode/sv/postgresql/log] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: directory[/opt/opscode/sv/postgresql/log] created directory /opt/opscode/sv/postgresql/log
[2016-01-09T05:42:19+00:00] INFO: directory[/opt/opscode/sv/postgresql/log] mode changed to 755
[2016-01-09T05:42:19+00:00] INFO: Processing directory[/opt/opscode/sv/postgresql/log/main] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: directory[/opt/opscode/sv/postgresql/log/main] created directory /opt/opscode/sv/postgresql/log/main
[2016-01-09T05:42:19+00:00] INFO: directory[/opt/opscode/sv/postgresql/log/main] mode changed to 755
[2016-01-09T05:42:19+00:00] INFO: Processing template[/opt/opscode/sv/postgresql/log/run] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/log/run] created file /opt/opscode/sv/postgresql/log/run
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/log/run] updated file contents /opt/opscode/sv/postgresql/log/run
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/log/run] mode changed to 755
[2016-01-09T05:42:19+00:00] INFO: Processing template[/opt/opscode/sv/postgresql/log/config] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/log/config] created file /opt/opscode/sv/postgresql/log/config
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/log/config] updated file contents /opt/opscode/sv/postgresql/log/config
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/log/config] mode changed to 644
[2016-01-09T05:42:19+00:00] INFO: Processing directory[/opt/opscode/sv/postgresql/control] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: directory[/opt/opscode/sv/postgresql/control] created directory /opt/opscode/sv/postgresql/control
[2016-01-09T05:42:19+00:00] INFO: directory[/opt/opscode/sv/postgresql/control] mode changed to 755
[2016-01-09T05:42:19+00:00] INFO: Processing template[/opt/opscode/sv/postgresql/control/t] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/control/t] created file /opt/opscode/sv/postgresql/control/t
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/control/t] updated file contents /opt/opscode/sv/postgresql/control/t
[2016-01-09T05:42:19+00:00] INFO: template[/opt/opscode/sv/postgresql/control/t] mode changed to 755
[2016-01-09T05:42:19+00:00] INFO: Processing link[/opt/opscode/init/postgresql] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: link[/opt/opscode/init/postgresql] created
[2016-01-09T05:42:19+00:00] INFO: runit_service[postgresql] configured
[2016-01-09T05:42:19+00:00] INFO: Processing link[/opt/opscode/service/postgresql] action create (dynamically defined)
[2016-01-09T05:42:19+00:00] INFO: link[/opt/opscode/service/postgresql] created
[2016-01-09T05:42:23+00:00] INFO: runit_service[postgresql] enabled
[2016-01-09T05:42:23+00:00] INFO: Processing execute[/opt/opscode/bin/private-chef-ctl start postgresql] action run (private-chef::postgresql line 123)
[2016-01-09T05:42:27+00:00] INFO: execute[/opt/opscode/bin/private-chef-ctl start postgresql] ran successfully
[2016-01-09T05:42:27+00:00] INFO: Processing ruby_block[wait for postgresql to start] action run (private-chef::postgresql line 127)
[2016-01-09T05:42:27+00:00] INFO: ruby_block[wait for postgresql to start] called
[2016-01-09T05:42:27+00:00] INFO: Processing private_chef_pg_user[opscode-pgsql] action create (private-chef::postgresql line 156)
[2016-01-09T05:42:27+00:00] INFO: Processing private_chef_pg_database[opscode-pgsql] action create (private-chef::postgresql line 165)
[2016-01-09T05:42:27+00:00] INFO: Processing private_chef_pg_user[opscode_chef] action create (private-chef::erchef_database line 5)
[2016-01-09T05:42:27+00:00] INFO: Processing private_chef_pg_user[opscode_chef_ro] action create (private-chef::erchef_database line 10)
[2016-01-09T05:42:27+00:00] INFO: Processing private_chef_pg_database[opscode_chef] action create (private-chef::erchef_database line 15)
[2016-01-09T05:42:27+00:00] INFO: private_chef_pg_database[opscode_chef] sending deploy action to private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-erchef/schema/baseline] (immediate)
[2016-01-09T05:42:27+00:00] INFO: Processing private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-erchef/schema/baseline] action deploy (private-chef::erchef_database line 33)
[2016-01-09T05:42:27+00:00] INFO: Processing execute[sqitch_deploy_/opt/opscode/embedded/service/opscode-erchef/schema/baseline] action run (/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/providers/pg_sqitch.rb line 11)
[2016-01-09T05:42:29+00:00] INFO: execute[sqitch_deploy_/opt/opscode/embedded/service/opscode-erchef/schema/baseline] ran successfully
[2016-01-09T05:42:29+00:00] INFO: private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-erchef/schema/baseline] sending deploy action to private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-erchef/schema] (immediate)
[2016-01-09T05:42:29+00:00] INFO: Processing private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-erchef/schema] action deploy (private-chef::erchef_database line 43)
[2016-01-09T05:42:29+00:00] INFO: Processing execute[sqitch_deploy_/opt/opscode/embedded/service/opscode-erchef/schema] action run (/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/providers/pg_sqitch.rb line 11)
[2016-01-09T05:42:31+00:00] INFO: execute[sqitch_deploy_/opt/opscode/embedded/service/opscode-erchef/schema] ran successfully
[2016-01-09T05:42:31+00:00] INFO: Processing ruby_block[set opscode_chef ownership] action run (private-chef::erchef_database line 21)
[2016-01-09T05:42:31+00:00] INFO: ruby_block[set opscode_chef ownership] called
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-erchef/schema/baseline] action nothing (private-chef::erchef_database line 33)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-erchef/schema] action nothing (private-chef::erchef_database line 43)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_user_table_access[opscode_chef] action create (private-chef::erchef_database line 53)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_user_table_access[opscode_chef_ro] action create (private-chef::erchef_database line 60)
[2016-01-09T05:42:31+00:00] INFO: Processing directory[/opt/opscode/embedded/service/enterprise-chef-server-schema] action delete (private-chef::erchef_database line 68)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_user[bifrost] action create (private-chef::bifrost_database line 10)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_user[bifrost_ro] action create (private-chef::bifrost_database line 15)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_database[bifrost] action create (private-chef::bifrost_database line 20)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_user_table_access[bifrost] action create (private-chef::bifrost_database line 24)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_user_table_access[bifrost_ro] action create (private-chef::bifrost_database line 30)
[2016-01-09T05:42:31+00:00] INFO: Processing private_chef_pg_sqitch[/opt/opscode/embedded/service/oc_bifrost/db] action deploy (private-chef::bifrost_database line 36)
[2016-01-09T05:42:31+00:00] INFO: Processing execute[sqitch_deploy_/opt/opscode/embedded/service/oc_bifrost/db] action run (/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/providers/pg_sqitch.rb line 11)
[2016-01-09T05:42:32+00:00] INFO: execute[sqitch_deploy_/opt/opscode/embedded/service/oc_bifrost/db] ran successfully
[2016-01-09T05:42:32+00:00] INFO: Processing private_chef_pg_user[oc_id] action create (private-chef::oc_id_database line 22)
[2016-01-09T05:42:32+00:00] INFO: Processing private_chef_pg_user[oc_id_ro] action create (private-chef::oc_id_database line 26)
[2016-01-09T05:42:32+00:00] INFO: Processing private_chef_pg_database[oc_id] action create (private-chef::oc_id_database line 31)
[2016-01-09T05:42:33+00:00] INFO: Processing private_chef_pg_user_table_access[oc_id_ro] action create (private-chef::oc_id_database line 35)
[2016-01-09T05:42:33+00:00] INFO: Processing execute[/opt/opscode/bin/private-chef-ctl stop opscode-authz] action run (private-chef::oc_bifrost line 12)
[2016-01-09T05:42:36+00:00] INFO: execute[/opt/opscode/bin/private-chef-ctl stop opscode-authz] ran successfully
[2016-01-09T05:42:36+00:00] INFO: Processing service[opscode-authz] action nothing (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: Processing runit_service[opscode-authz] action disable (private-chef::oc_bifrost line 16)
[2016-01-09T05:42:36+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-authz] action delete (private-chef::oc_bifrost line 20)
[2016-01-09T05:42:36+00:00] INFO: Processing directory[/var/opt/opscode/oc_bifrost] action create (private-chef::oc_bifrost line 36)
[2016-01-09T05:42:36+00:00] INFO: directory[/var/opt/opscode/oc_bifrost] created directory /var/opt/opscode/oc_bifrost
[2016-01-09T05:42:36+00:00] INFO: directory[/var/opt/opscode/oc_bifrost] owner changed to 998
[2016-01-09T05:42:36+00:00] INFO: directory[/var/opt/opscode/oc_bifrost] group changed to 998
[2016-01-09T05:42:36+00:00] INFO: directory[/var/opt/opscode/oc_bifrost] mode changed to 750
[2016-01-09T05:42:36+00:00] INFO: Processing directory[/var/opt/opscode/oc_bifrost/bin] action create (private-chef::oc_bifrost line 36)
[2016-01-09T05:42:36+00:00] INFO: directory[/var/opt/opscode/oc_bifrost/bin] created directory /var/opt/opscode/oc_bifrost/bin
[2016-01-09T05:42:36+00:00] INFO: directory[/var/opt/opscode/oc_bifrost/bin] owner changed to 998
[2016-01-09T05:42:36+00:00] INFO: directory[/var/opt/opscode/oc_bifrost/bin] group changed to 998
[2016-01-09T05:42:36+00:00] INFO: directory[/var/opt/opscode/oc_bifrost/bin] mode changed to 750
[2016-01-09T05:42:36+00:00] INFO: Processing directory[/var/log/opscode/oc_bifrost] action create (private-chef::oc_bifrost line 36)
[2016-01-09T05:42:36+00:00] INFO: directory[/var/log/opscode/oc_bifrost] created directory /var/log/opscode/oc_bifrost
[2016-01-09T05:42:36+00:00] INFO: directory[/var/log/opscode/oc_bifrost] owner changed to 998
[2016-01-09T05:42:36+00:00] INFO: directory[/var/log/opscode/oc_bifrost] group changed to 998
[2016-01-09T05:42:36+00:00] INFO: directory[/var/log/opscode/oc_bifrost] mode changed to 750
[2016-01-09T05:42:36+00:00] INFO: Processing directory[/var/log/opscode/oc_bifrost/sasl] action create (private-chef::oc_bifrost line 36)
[2016-01-09T05:42:36+00:00] INFO: directory[/var/log/opscode/oc_bifrost/sasl] created directory /var/log/opscode/oc_bifrost/sasl
[2016-01-09T05:42:36+00:00] INFO: directory[/var/log/opscode/oc_bifrost/sasl] owner changed to 998
[2016-01-09T05:42:36+00:00] INFO: directory[/var/log/opscode/oc_bifrost/sasl] group changed to 998
[2016-01-09T05:42:36+00:00] INFO: directory[/var/log/opscode/oc_bifrost/sasl] mode changed to 750
[2016-01-09T05:42:36+00:00] INFO: Processing link[/opt/opscode/embedded/service/oc_bifrost/log] action create (private-chef::oc_bifrost line 44)
[2016-01-09T05:42:36+00:00] INFO: link[/opt/opscode/embedded/service/oc_bifrost/log] created
[2016-01-09T05:42:36+00:00] INFO: Processing template[/var/opt/opscode/oc_bifrost/sys.config] action create (private-chef::oc_bifrost line 50)
[2016-01-09T05:42:36+00:00] INFO: template[/var/opt/opscode/oc_bifrost/sys.config] created file /var/opt/opscode/oc_bifrost/sys.config
[2016-01-09T05:42:36+00:00] INFO: template[/var/opt/opscode/oc_bifrost/sys.config] updated file contents /var/opt/opscode/oc_bifrost/sys.config
[2016-01-09T05:42:36+00:00] INFO: template[/var/opt/opscode/oc_bifrost/sys.config] owner changed to 998
[2016-01-09T05:42:36+00:00] INFO: template[/var/opt/opscode/oc_bifrost/sys.config] group changed to 998
[2016-01-09T05:42:36+00:00] INFO: template[/var/opt/opscode/oc_bifrost/sys.config] mode changed to 644
[2016-01-09T05:42:36+00:00] INFO: Processing link[/opt/opscode/embedded/service/oc_bifrost/sys.config] action create (private-chef::oc_bifrost line 59)
[2016-01-09T05:42:36+00:00] INFO: link[/opt/opscode/embedded/service/oc_bifrost/sys.config] created
[2016-01-09T05:42:36+00:00] INFO: Processing execute[restart_oc_bifrost_log_service] action nothing (private-chef::oc_bifrost line 19)
[2016-01-09T05:42:36+00:00] INFO: Processing template[/var/log/opscode/oc_bifrost/config] action create (private-chef::oc_bifrost line 24)
[2016-01-09T05:42:36+00:00] INFO: template[/var/log/opscode/oc_bifrost/config] created file /var/log/opscode/oc_bifrost/config
[2016-01-09T05:42:36+00:00] INFO: template[/var/log/opscode/oc_bifrost/config] updated file contents /var/log/opscode/oc_bifrost/config
[2016-01-09T05:42:36+00:00] INFO: template[/var/log/opscode/oc_bifrost/config] owner changed to 0
[2016-01-09T05:42:36+00:00] INFO: template[/var/log/opscode/oc_bifrost/config] group changed to 0
[2016-01-09T05:42:36+00:00] INFO: template[/var/log/opscode/oc_bifrost/config] mode changed to 644
[2016-01-09T05:42:36+00:00] INFO: Processing service[oc_bifrost] action nothing (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: Processing runit_service[oc_bifrost] action enable (private-chef::oc_bifrost line 37)
[2016-01-09T05:42:36+00:00] INFO: Processing directory[/opt/opscode/sv/oc_bifrost] action create (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: directory[/opt/opscode/sv/oc_bifrost] created directory /opt/opscode/sv/oc_bifrost
[2016-01-09T05:42:36+00:00] INFO: directory[/opt/opscode/sv/oc_bifrost] mode changed to 755
[2016-01-09T05:42:36+00:00] INFO: Processing template[/opt/opscode/sv/oc_bifrost/run] action create (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/run] created file /opt/opscode/sv/oc_bifrost/run
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/run] updated file contents /opt/opscode/sv/oc_bifrost/run
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/run] mode changed to 755
[2016-01-09T05:42:36+00:00] INFO: Processing directory[/opt/opscode/sv/oc_bifrost/log] action create (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: directory[/opt/opscode/sv/oc_bifrost/log] created directory /opt/opscode/sv/oc_bifrost/log
[2016-01-09T05:42:36+00:00] INFO: directory[/opt/opscode/sv/oc_bifrost/log] mode changed to 755
[2016-01-09T05:42:36+00:00] INFO: Processing directory[/opt/opscode/sv/oc_bifrost/log/main] action create (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: directory[/opt/opscode/sv/oc_bifrost/log/main] created directory /opt/opscode/sv/oc_bifrost/log/main
[2016-01-09T05:42:36+00:00] INFO: directory[/opt/opscode/sv/oc_bifrost/log/main] mode changed to 755
[2016-01-09T05:42:36+00:00] INFO: Processing template[/opt/opscode/sv/oc_bifrost/log/run] action create (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/log/run] created file /opt/opscode/sv/oc_bifrost/log/run
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/log/run] updated file contents /opt/opscode/sv/oc_bifrost/log/run
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/log/run] mode changed to 755
[2016-01-09T05:42:36+00:00] INFO: Processing template[/opt/opscode/sv/oc_bifrost/log/config] action create (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/log/config] created file /opt/opscode/sv/oc_bifrost/log/config
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/log/config] updated file contents /opt/opscode/sv/oc_bifrost/log/config
[2016-01-09T05:42:36+00:00] INFO: template[/opt/opscode/sv/oc_bifrost/log/config] mode changed to 644
[2016-01-09T05:42:36+00:00] INFO: Processing link[/opt/opscode/init/oc_bifrost] action create (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: link[/opt/opscode/init/oc_bifrost] created
[2016-01-09T05:42:36+00:00] INFO: runit_service[oc_bifrost] configured
[2016-01-09T05:42:36+00:00] INFO: Processing link[/opt/opscode/service/oc_bifrost] action create (dynamically defined)
[2016-01-09T05:42:36+00:00] INFO: link[/opt/opscode/service/oc_bifrost] created
[2016-01-09T05:42:40+00:00] INFO: runit_service[oc_bifrost] enabled
[2016-01-09T05:42:43+00:00] INFO: Processing directory[/var/opt/opscode/oc_id] action create (private-chef::oc_id line 50)
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id] created directory /var/opt/opscode/oc_id
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id] owner changed to 998
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id] group changed to 998
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id] mode changed to 750
[2016-01-09T05:42:43+00:00] INFO: Processing directory[/var/opt/opscode/oc_id/config] action create (private-chef::oc_id line 50)
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id/config] created directory /var/opt/opscode/oc_id/config
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id/config] owner changed to 998
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id/config] group changed to 998
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id/config] mode changed to 750
[2016-01-09T05:42:43+00:00] INFO: Processing directory[/var/opt/opscode/oc_id/tmp] action create (private-chef::oc_id line 50)
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id/tmp] created directory /var/opt/opscode/oc_id/tmp
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id/tmp] owner changed to 998
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id/tmp] group changed to 998
[2016-01-09T05:42:43+00:00] INFO: directory[/var/opt/opscode/oc_id/tmp] mode changed to 750
[2016-01-09T05:42:43+00:00] INFO: Processing directory[/var/log/opscode/oc_id] action create (private-chef::oc_id line 50)
[2016-01-09T05:42:43+00:00] INFO: directory[/var/log/opscode/oc_id] created directory /var/log/opscode/oc_id
[2016-01-09T05:42:43+00:00] INFO: directory[/var/log/opscode/oc_id] owner changed to 998
[2016-01-09T05:42:43+00:00] INFO: directory[/var/log/opscode/oc_id] group changed to 998
[2016-01-09T05:42:43+00:00] INFO: directory[/var/log/opscode/oc_id] mode changed to 750
[2016-01-09T05:42:43+00:00] INFO: Processing directory[/opt/opscode/embedded/service/oc_id/log] action delete (private-chef::oc_id line 60)
[2016-01-09T05:42:43+00:00] INFO: directory[/opt/opscode/embedded/service/oc_id/log] deleted /opt/opscode/embedded/service/oc_id/log recursively
[2016-01-09T05:42:43+00:00] INFO: Processing directory[/opt/opscode/embedded/service/oc_id/tmp] action delete (private-chef::oc_id line 60)
[2016-01-09T05:42:43+00:00] INFO: Processing link[/opt/opscode/embedded/service/oc_id/log] action create (private-chef::oc_id line 67)
[2016-01-09T05:42:43+00:00] INFO: link[/opt/opscode/embedded/service/oc_id/log] created
[2016-01-09T05:42:43+00:00] INFO: Processing link[/opt/opscode/embedded/service/oc_id/tmp] action create (private-chef::oc_id line 71)
[2016-01-09T05:42:43+00:00] INFO: link[/opt/opscode/embedded/service/oc_id/tmp] created
[2016-01-09T05:42:43+00:00] INFO: Processing file[/var/opt/opscode/oc_id/config/production.yml] action create (private-chef::oc_id line 78)
[2016-01-09T05:42:43+00:00] INFO: file[/var/opt/opscode/oc_id/config/production.yml] created file /var/opt/opscode/oc_id/config/production.yml
[2016-01-09T05:42:43+00:00] INFO: file[/var/opt/opscode/oc_id/config/production.yml] updated file contents /var/opt/opscode/oc_id/config/production.yml
[2016-01-09T05:42:43+00:00] INFO: file[/var/opt/opscode/oc_id/config/production.yml] owner changed to 998
[2016-01-09T05:42:43+00:00] INFO: file[/var/opt/opscode/oc_id/config/production.yml] group changed to 998
[2016-01-09T05:42:43+00:00] INFO: file[/var/opt/opscode/oc_id/config/production.yml] mode changed to 640
[2016-01-09T05:42:43+00:00] INFO: Processing file[/opt/opscode/embedded/service/oc_id/config/settings/production.yml] action delete (private-chef::oc_id line 90)
[2016-01-09T05:42:43+00:00] INFO: file[/opt/opscode/embedded/service/oc_id/config/settings/production.yml] backed up to /var/opt/opscode/local-mode-cache/backup/opt/opscode/embedded/service/oc_id/config/settings/production.yml.chef-20160109054243.118921
[2016-01-09T05:42:43+00:00] INFO: file[/opt/opscode/embedded/service/oc_id/config/settings/production.yml] deleted file at /opt/opscode/embedded/service/oc_id/config/settings/production.yml
[2016-01-09T05:42:43+00:00] INFO: Processing link[/opt/opscode/embedded/service/oc_id/config/settings/production.yml] action create (private-chef::oc_id line 94)
[2016-01-09T05:42:43+00:00] INFO: link[/opt/opscode/embedded/service/oc_id/config/settings/production.yml] created
[2016-01-09T05:42:43+00:00] INFO: Processing template[/var/opt/opscode/oc_id/config/secret_token.rb] action create (private-chef::oc_id line 98)
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/secret_token.rb] created file /var/opt/opscode/oc_id/config/secret_token.rb
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/secret_token.rb] updated file contents /var/opt/opscode/oc_id/config/secret_token.rb
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/secret_token.rb] owner changed to 998
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/secret_token.rb] group changed to 998
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/secret_token.rb] mode changed to 640
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/secret_token.rb] not queuing delayed action restart on runit_service[oc_id] (delayed), as it's already been queued
[2016-01-09T05:42:43+00:00] INFO: Processing file[/opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb] action delete (private-chef::oc_id line 106)
[2016-01-09T05:42:43+00:00] INFO: file[/opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb] backed up to /var/opt/opscode/local-mode-cache/backup/opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb.chef-20160109054243.209138
[2016-01-09T05:42:43+00:00] INFO: file[/opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb] deleted file at /opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb
[2016-01-09T05:42:43+00:00] INFO: Processing link[/opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb] action create (private-chef::oc_id line 110)
[2016-01-09T05:42:43+00:00] INFO: link[/opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb] created
[2016-01-09T05:42:43+00:00] INFO: Processing template[/var/opt/opscode/oc_id/config/database.yml] action create (private-chef::oc_id line 114)
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/database.yml] created file /var/opt/opscode/oc_id/config/database.yml
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/database.yml] updated file contents /var/opt/opscode/oc_id/config/database.yml
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/database.yml] owner changed to 998
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/database.yml] group changed to 998
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/database.yml] mode changed to 640
[2016-01-09T05:42:43+00:00] INFO: template[/var/opt/opscode/oc_id/config/database.yml] not queuing delayed action restart on runit_service[oc_id] (delayed), as it's already been queued
[2016-01-09T05:42:43+00:00] INFO: Processing file[/opt/opscode/embedded/service/oc_id/config/database.yml] action delete (private-chef::oc_id line 122)
[2016-01-09T05:42:43+00:00] INFO: file[/opt/opscode/embedded/service/oc_id/config/database.yml] backed up to /var/opt/opscode/local-mode-cache/backup/opt/opscode/embedded/service/oc_id/config/database.yml.chef-20160109054243.235190
[2016-01-09T05:42:43+00:00] INFO: file[/opt/opscode/embedded/service/oc_id/config/database.yml] deleted file at /opt/opscode/embedded/service/oc_id/config/database.yml
[2016-01-09T05:42:43+00:00] INFO: Processing link[/opt/opscode/embedded/service/oc_id/config/database.yml] action create (private-chef::oc_id line 126)
[2016-01-09T05:42:43+00:00] INFO: link[/opt/opscode/embedded/service/oc_id/config/database.yml] created
[2016-01-09T05:42:43+00:00] INFO: Processing execute[oc_id_schema] action run (private-chef::oc_id line 130)
[2016-01-09T05:42:50+00:00] INFO: execute[oc_id_schema] ran successfully
[2016-01-09T05:42:50+00:00] INFO: Processing execute[restart_oc_id_log_service] action nothing (private-chef::oc_id line 19)
[2016-01-09T05:42:50+00:00] INFO: Processing template[/var/log/opscode/oc_id/config] action create (private-chef::oc_id line 24)
[2016-01-09T05:42:50+00:00] INFO: template[/var/log/opscode/oc_id/config] created file /var/log/opscode/oc_id/config
[2016-01-09T05:42:50+00:00] INFO: template[/var/log/opscode/oc_id/config] updated file contents /var/log/opscode/oc_id/config
[2016-01-09T05:42:50+00:00] INFO: template[/var/log/opscode/oc_id/config] owner changed to 0
[2016-01-09T05:42:50+00:00] INFO: template[/var/log/opscode/oc_id/config] group changed to 0
[2016-01-09T05:42:50+00:00] INFO: template[/var/log/opscode/oc_id/config] mode changed to 644
[2016-01-09T05:42:50+00:00] INFO: Processing service[oc_id] action nothing (dynamically defined)
[2016-01-09T05:42:50+00:00] INFO: Processing runit_service[oc_id] action enable (private-chef::oc_id line 37)
[2016-01-09T05:42:50+00:00] INFO: Processing directory[/opt/opscode/sv/oc_id] action create (dynamically defined)
[2016-01-09T05:42:51+00:00] INFO: directory[/opt/opscode/sv/oc_id] created directory /opt/opscode/sv/oc_id
[2016-01-09T05:42:51+00:00] INFO: directory[/opt/opscode/sv/oc_id] mode changed to 755
[2016-01-09T05:42:51+00:00] INFO: Processing template[/opt/opscode/sv/oc_id/run] action create (dynamically defined)
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/run] created file /opt/opscode/sv/oc_id/run
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/run] updated file contents /opt/opscode/sv/oc_id/run
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/run] mode changed to 755
[2016-01-09T05:42:51+00:00] INFO: Processing directory[/opt/opscode/sv/oc_id/log] action create (dynamically defined)
[2016-01-09T05:42:51+00:00] INFO: directory[/opt/opscode/sv/oc_id/log] created directory /opt/opscode/sv/oc_id/log
[2016-01-09T05:42:51+00:00] INFO: directory[/opt/opscode/sv/oc_id/log] mode changed to 755
[2016-01-09T05:42:51+00:00] INFO: Processing directory[/opt/opscode/sv/oc_id/log/main] action create (dynamically defined)
[2016-01-09T05:42:51+00:00] INFO: directory[/opt/opscode/sv/oc_id/log/main] created directory /opt/opscode/sv/oc_id/log/main
[2016-01-09T05:42:51+00:00] INFO: directory[/opt/opscode/sv/oc_id/log/main] mode changed to 755
[2016-01-09T05:42:51+00:00] INFO: Processing template[/opt/opscode/sv/oc_id/log/run] action create (dynamically defined)
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/log/run] created file /opt/opscode/sv/oc_id/log/run
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/log/run] updated file contents /opt/opscode/sv/oc_id/log/run
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/log/run] mode changed to 755
[2016-01-09T05:42:51+00:00] INFO: Processing template[/opt/opscode/sv/oc_id/log/config] action create (dynamically defined)
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/log/config] created file /opt/opscode/sv/oc_id/log/config
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/log/config] updated file contents /opt/opscode/sv/oc_id/log/config
[2016-01-09T05:42:51+00:00] INFO: template[/opt/opscode/sv/oc_id/log/config] mode changed to 644
[2016-01-09T05:42:51+00:00] INFO: Processing link[/opt/opscode/init/oc_id] action create (dynamically defined)
[2016-01-09T05:42:51+00:00] INFO: link[/opt/opscode/init/oc_id] created
[2016-01-09T05:42:51+00:00] INFO: runit_service[oc_id] configured
[2016-01-09T05:42:51+00:00] INFO: Processing link[/opt/opscode/service/oc_id] action create (dynamically defined)
[2016-01-09T05:42:51+00:00] INFO: link[/opt/opscode/service/oc_id] created
[2016-01-09T05:42:56+00:00] INFO: runit_service[oc_id] enabled
[2016-01-09T05:42:59+00:00] INFO: Processing execute[/opt/opscode/bin/private-chef-ctl start oc_id] action run (private-chef::oc_id line 155)
[2016-01-09T05:43:05+00:00] INFO: execute[/opt/opscode/bin/private-chef-ctl start oc_id] ran successfully
[2016-01-09T05:43:05+00:00] INFO: Processing directory[/var/opt/opscode/nginx/etc/addon.d] action create (private-chef::oc_id line 173)
[2016-01-09T05:43:05+00:00] INFO: directory[/var/opt/opscode/nginx/etc/addon.d] created directory /var/opt/opscode/nginx/etc/addon.d
[2016-01-09T05:43:05+00:00] INFO: Processing template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf] action create (private-chef::oc_id line 182)
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf] created file /var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf] updated file contents /var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf] owner changed to 0
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf] group changed to 0
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf] mode changed to 644
[2016-01-09T05:43:05+00:00] INFO: Processing template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf] action create (private-chef::oc_id line 182)
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf] created file /var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf] updated file contents /var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf] owner changed to 0
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf] group changed to 0
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf] mode changed to 644
[2016-01-09T05:43:05+00:00] INFO: template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf] not queuing delayed action restart on runit_service[nginx] (delayed), as it's already been queued
[2016-01-09T05:43:05+00:00] INFO: Processing directory[/var/opt/opscode/opscode-solr4] action create (private-chef::opscode-solr4 line 29)
[2016-01-09T05:43:05+00:00] INFO: directory[/var/opt/opscode/opscode-solr4] created directory /var/opt/opscode/opscode-solr4
[2016-01-09T05:43:05+00:00] INFO: directory[/var/opt/opscode/opscode-solr4] owner changed to 998
[2016-01-09T05:43:05+00:00] INFO: directory[/var/opt/opscode/opscode-solr4] group changed to 998
[2016-01-09T05:43:05+00:00] INFO: directory[/var/opt/opscode/opscode-solr4] mode changed to 750
[2016-01-09T05:43:05+00:00] INFO: Processing directory[/var/opt/opscode/opscode-solr4/data] action create (private-chef::opscode-solr4 line 29)
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/data] created directory /var/opt/opscode/opscode-solr4/data
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/data] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/data] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/data] mode changed to 750
[2016-01-09T05:43:06+00:00] INFO: Processing directory[/var/opt/opscode/opscode-solr4/home] action create (private-chef::opscode-solr4 line 29)
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home] created directory /var/opt/opscode/opscode-solr4/home
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home] mode changed to 750
[2016-01-09T05:43:06+00:00] INFO: Processing directory[/var/opt/opscode/opscode-solr4/] action create (private-chef::opscode-solr4 line 29)
[2016-01-09T05:43:06+00:00] INFO: Processing directory[/var/log/opscode/opscode-solr4] action create (private-chef::opscode-solr4 line 29)
[2016-01-09T05:43:06+00:00] INFO: directory[/var/log/opscode/opscode-solr4] created directory /var/log/opscode/opscode-solr4
[2016-01-09T05:43:06+00:00] INFO: directory[/var/log/opscode/opscode-solr4] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/log/opscode/opscode-solr4] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/log/opscode/opscode-solr4] mode changed to 750
[2016-01-09T05:43:06+00:00] INFO: Processing directory[/var/opt/opscode/opscode-solr4/home/collection1] action create (private-chef::opscode-solr4 line 29)
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home/collection1] created directory /var/opt/opscode/opscode-solr4/home/collection1
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home/collection1] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home/collection1] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home/collection1] mode changed to 750
[2016-01-09T05:43:06+00:00] INFO: Processing directory[/var/opt/opscode/opscode-solr4/home/collection1/conf] action create (private-chef::opscode-solr4 line 29)
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home/collection1/conf] created directory /var/opt/opscode/opscode-solr4/home/collection1/conf
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home/collection1/conf] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home/collection1/conf] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: directory[/var/opt/opscode/opscode-solr4/home/collection1/conf] mode changed to 750
[2016-01-09T05:43:06+00:00] INFO: Processing link[/var/opt/opscode/opscode-solr4/data] action create (private-chef::opscode-solr4 line 38)
[2016-01-09T05:43:06+00:00] INFO: Processing cookbook_file[/var/opt/opscode/opscode-solr4/home/solr.xml] action create (private-chef::opscode-solr4 line 52)
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/solr.xml] created file /var/opt/opscode/opscode-solr4/home/solr.xml
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/solr.xml] updated file contents /var/opt/opscode/opscode-solr4/home/solr.xml
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/solr.xml] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/solr.xml] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/solr.xml] mode changed to 644
[2016-01-09T05:43:06+00:00] INFO: Processing file[/var/opt/opscode/opscode-solr4/home/collection1/core.properties] action create (private-chef::opscode-solr4 line 60)
[2016-01-09T05:43:06+00:00] INFO: file[/var/opt/opscode/opscode-solr4/home/collection1/core.properties] created file /var/opt/opscode/opscode-solr4/home/collection1/core.properties
[2016-01-09T05:43:06+00:00] INFO: file[/var/opt/opscode/opscode-solr4/home/collection1/core.properties] updated file contents /var/opt/opscode/opscode-solr4/home/collection1/core.properties
[2016-01-09T05:43:06+00:00] INFO: file[/var/opt/opscode/opscode-solr4/home/collection1/core.properties] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: file[/var/opt/opscode/opscode-solr4/home/collection1/core.properties] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: file[/var/opt/opscode/opscode-solr4/home/collection1/core.properties] mode changed to 644
[2016-01-09T05:43:06+00:00] INFO: file[/var/opt/opscode/opscode-solr4/home/collection1/core.properties] not queuing delayed action restart on runit_service[opscode-solr4] (delayed), as it's already been queued
[2016-01-09T05:43:06+00:00] INFO: Processing template[/var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml] action create (private-chef::opscode-solr4 line 70)
[2016-01-09T05:43:06+00:00] INFO: template[/var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml] created file /var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml
[2016-01-09T05:43:06+00:00] INFO: template[/var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml] updated file contents /var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml
[2016-01-09T05:43:06+00:00] INFO: template[/var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: template[/var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: template[/var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml] mode changed to 644
[2016-01-09T05:43:06+00:00] INFO: template[/var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml] not queuing delayed action restart on runit_service[opscode-solr4] (delayed), as it's already been queued
[2016-01-09T05:43:06+00:00] INFO: Processing cookbook_file[/var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml] action create (private-chef::opscode-solr4 line 79)
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml] created file /var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml] updated file contents /var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml] mode changed to 644
[2016-01-09T05:43:06+00:00] INFO: cookbook_file[/var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml] not queuing delayed action restart on runit_service[opscode-solr4] (delayed), as it's already been queued
[2016-01-09T05:43:06+00:00] INFO: Processing template[/opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml] action create (private-chef::opscode-solr4 line 87)
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml] backed up to /var/opt/opscode/local-mode-cache/backup/opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml.chef-20160109054306.459954
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml] updated file contents /opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml] not queuing delayed action restart on runit_service[opscode-solr4] (delayed), as it's already been queued
[2016-01-09T05:43:06+00:00] INFO: Processing template[/opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-context.xml] action create (private-chef::opscode-solr4 line 96)
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-context.xml] backed up to /var/opt/opscode/local-mode-cache/backup/opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-context.xml.chef-20160109054306.531338
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-context.xml] updated file contents /opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-context.xml
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-context.xml] owner changed to 998
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-context.xml] group changed to 998
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-context.xml] not queuing delayed action restart on runit_service[opscode-solr4] (delayed), as it's already been queued
[2016-01-09T05:43:06+00:00] INFO: Processing execute[chown -R opscode /opt/opscode/embedded/service/opscode-solr4/jetty] action run (private-chef::opscode-solr4 line 105)
[2016-01-09T05:43:06+00:00] INFO: execute[chown -R opscode /opt/opscode/embedded/service/opscode-solr4/jetty] ran successfully
[2016-01-09T05:43:06+00:00] INFO: Processing execute[restart_opscode-solr4_log_service] action nothing (private-chef::opscode-solr4 line 19)
[2016-01-09T05:43:06+00:00] INFO: Processing template[/var/log/opscode/opscode-solr4/config] action create (private-chef::opscode-solr4 line 24)
[2016-01-09T05:43:06+00:00] INFO: template[/var/log/opscode/opscode-solr4/config] created file /var/log/opscode/opscode-solr4/config
[2016-01-09T05:43:06+00:00] INFO: template[/var/log/opscode/opscode-solr4/config] updated file contents /var/log/opscode/opscode-solr4/config
[2016-01-09T05:43:06+00:00] INFO: template[/var/log/opscode/opscode-solr4/config] owner changed to 0
[2016-01-09T05:43:06+00:00] INFO: template[/var/log/opscode/opscode-solr4/config] group changed to 0
[2016-01-09T05:43:06+00:00] INFO: template[/var/log/opscode/opscode-solr4/config] mode changed to 644
[2016-01-09T05:43:06+00:00] INFO: Processing service[opscode-solr4] action nothing (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: Processing runit_service[opscode-solr4] action enable (private-chef::opscode-solr4 line 37)
[2016-01-09T05:43:06+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-solr4] action create (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: directory[/opt/opscode/sv/opscode-solr4] created directory /opt/opscode/sv/opscode-solr4
[2016-01-09T05:43:06+00:00] INFO: directory[/opt/opscode/sv/opscode-solr4] mode changed to 755
[2016-01-09T05:43:06+00:00] INFO: Processing template[/opt/opscode/sv/opscode-solr4/run] action create (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/run] created file /opt/opscode/sv/opscode-solr4/run
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/run] updated file contents /opt/opscode/sv/opscode-solr4/run
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/run] mode changed to 755
[2016-01-09T05:43:06+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-solr4/log] action create (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: directory[/opt/opscode/sv/opscode-solr4/log] created directory /opt/opscode/sv/opscode-solr4/log
[2016-01-09T05:43:06+00:00] INFO: directory[/opt/opscode/sv/opscode-solr4/log] mode changed to 755
[2016-01-09T05:43:06+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-solr4/log/main] action create (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: directory[/opt/opscode/sv/opscode-solr4/log/main] created directory /opt/opscode/sv/opscode-solr4/log/main
[2016-01-09T05:43:06+00:00] INFO: directory[/opt/opscode/sv/opscode-solr4/log/main] mode changed to 755
[2016-01-09T05:43:06+00:00] INFO: Processing template[/opt/opscode/sv/opscode-solr4/log/run] action create (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/log/run] created file /opt/opscode/sv/opscode-solr4/log/run
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/log/run] updated file contents /opt/opscode/sv/opscode-solr4/log/run
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/log/run] mode changed to 755
[2016-01-09T05:43:06+00:00] INFO: Processing template[/opt/opscode/sv/opscode-solr4/log/config] action create (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/log/config] created file /opt/opscode/sv/opscode-solr4/log/config
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/log/config] updated file contents /opt/opscode/sv/opscode-solr4/log/config
[2016-01-09T05:43:06+00:00] INFO: template[/opt/opscode/sv/opscode-solr4/log/config] mode changed to 644
[2016-01-09T05:43:06+00:00] INFO: Processing link[/opt/opscode/init/opscode-solr4] action create (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: link[/opt/opscode/init/opscode-solr4] created
[2016-01-09T05:43:06+00:00] INFO: runit_service[opscode-solr4] configured
[2016-01-09T05:43:06+00:00] INFO: Processing link[/opt/opscode/service/opscode-solr4] action create (dynamically defined)
[2016-01-09T05:43:06+00:00] INFO: link[/opt/opscode/service/opscode-solr4] created
[2016-01-09T05:43:08+00:00] INFO: runit_service[opscode-solr4] enabled
[2016-01-09T05:43:10+00:00] INFO: Processing template[/etc/opscode/logrotate.d/opscode-solr4] action create (private-chef::opscode-solr4 line 148)
[2016-01-09T05:43:10+00:00] INFO: template[/etc/opscode/logrotate.d/opscode-solr4] created file /etc/opscode/logrotate.d/opscode-solr4
[2016-01-09T05:43:10+00:00] INFO: template[/etc/opscode/logrotate.d/opscode-solr4] updated file contents /etc/opscode/logrotate.d/opscode-solr4
[2016-01-09T05:43:10+00:00] INFO: template[/etc/opscode/logrotate.d/opscode-solr4] owner changed to 0
[2016-01-09T05:43:10+00:00] INFO: template[/etc/opscode/logrotate.d/opscode-solr4] group changed to 0
[2016-01-09T05:43:10+00:00] INFO: template[/etc/opscode/logrotate.d/opscode-solr4] mode changed to 644
[2016-01-09T05:43:10+00:00] INFO: Processing directory[/var/opt/opscode/opscode-expander] action create (private-chef::opscode-expander line 14)
[2016-01-09T05:43:10+00:00] INFO: directory[/var/opt/opscode/opscode-expander] created directory /var/opt/opscode/opscode-expander
[2016-01-09T05:43:10+00:00] INFO: directory[/var/opt/opscode/opscode-expander] owner changed to 998
[2016-01-09T05:43:10+00:00] INFO: directory[/var/opt/opscode/opscode-expander] group changed to 998
[2016-01-09T05:43:10+00:00] INFO: directory[/var/opt/opscode/opscode-expander] mode changed to 750
[2016-01-09T05:43:10+00:00] INFO: Processing directory[/var/opt/opscode/opscode-expander/etc] action create (private-chef::opscode-expander line 14)
[2016-01-09T05:43:10+00:00] INFO: directory[/var/opt/opscode/opscode-expander/etc] created directory /var/opt/opscode/opscode-expander/etc
[2016-01-09T05:43:10+00:00] INFO: directory[/var/opt/opscode/opscode-expander/etc] owner changed to 998
[2016-01-09T05:43:10+00:00] INFO: directory[/var/opt/opscode/opscode-expander/etc] group changed to 998
[2016-01-09T05:43:10+00:00] INFO: directory[/var/opt/opscode/opscode-expander/etc] mode changed to 750
[2016-01-09T05:43:10+00:00] INFO: Processing directory[/var/log/opscode/opscode-expander] action create (private-chef::opscode-expander line 14)
[2016-01-09T05:43:10+00:00] INFO: directory[/var/log/opscode/opscode-expander] created directory /var/log/opscode/opscode-expander
[2016-01-09T05:43:10+00:00] INFO: directory[/var/log/opscode/opscode-expander] owner changed to 998
[2016-01-09T05:43:10+00:00] INFO: directory[/var/log/opscode/opscode-expander] group changed to 998
[2016-01-09T05:43:10+00:00] INFO: directory[/var/log/opscode/opscode-expander] mode changed to 750
[2016-01-09T05:43:10+00:00] INFO: Processing directory[/var/log/opscode/opscode-expander-reindexer] action create (private-chef::opscode-expander line 14)
[2016-01-09T05:43:10+00:00] INFO: directory[/var/log/opscode/opscode-expander-reindexer] created directory /var/log/opscode/opscode-expander-reindexer
[2016-01-09T05:43:10+00:00] INFO: directory[/var/log/opscode/opscode-expander-reindexer] owner changed to 998
[2016-01-09T05:43:10+00:00] INFO: directory[/var/log/opscode/opscode-expander-reindexer] group changed to 998
[2016-01-09T05:43:10+00:00] INFO: directory[/var/log/opscode/opscode-expander-reindexer] mode changed to 750
[2016-01-09T05:43:10+00:00] INFO: Processing template[/var/opt/opscode/opscode-expander/etc/expander.rb] action create (private-chef::opscode-expander line 25)
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/expander.rb] created file /var/opt/opscode/opscode-expander/etc/expander.rb
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/expander.rb] updated file contents /var/opt/opscode/opscode-expander/etc/expander.rb
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/expander.rb] owner changed to 0
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/expander.rb] group changed to 0
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/expander.rb] mode changed to 644
[2016-01-09T05:43:10+00:00] INFO: Processing link[/opt/opscode/embedded/service/opscode-expander/conf/opscode-expander.rb] action create (private-chef::opscode-expander line 36)
[2016-01-09T05:43:10+00:00] INFO: link[/opt/opscode/embedded/service/opscode-expander/conf/opscode-expander.rb] created
[2016-01-09T05:43:10+00:00] INFO: Processing template[/var/opt/opscode/opscode-expander/etc/reindexer.rb] action create (private-chef::opscode-expander line 40)
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/reindexer.rb] created file /var/opt/opscode/opscode-expander/etc/reindexer.rb
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/reindexer.rb] updated file contents /var/opt/opscode/opscode-expander/etc/reindexer.rb
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/reindexer.rb] owner changed to 0
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/reindexer.rb] group changed to 0
[2016-01-09T05:43:10+00:00] INFO: template[/var/opt/opscode/opscode-expander/etc/reindexer.rb] mode changed to 644
[2016-01-09T05:43:10+00:00] INFO: Processing execute[restart_opscode-expander_log_service] action nothing (private-chef::opscode-expander line 19)
[2016-01-09T05:43:10+00:00] INFO: Processing template[/var/log/opscode/opscode-expander/config] action create (private-chef::opscode-expander line 24)
[2016-01-09T05:43:10+00:00] INFO: template[/var/log/opscode/opscode-expander/config] created file /var/log/opscode/opscode-expander/config
[2016-01-09T05:43:10+00:00] INFO: template[/var/log/opscode/opscode-expander/config] updated file contents /var/log/opscode/opscode-expander/config
[2016-01-09T05:43:10+00:00] INFO: template[/var/log/opscode/opscode-expander/config] owner changed to 0
[2016-01-09T05:43:10+00:00] INFO: template[/var/log/opscode/opscode-expander/config] group changed to 0
[2016-01-09T05:43:10+00:00] INFO: template[/var/log/opscode/opscode-expander/config] mode changed to 644
[2016-01-09T05:43:10+00:00] INFO: Processing service[opscode-expander] action nothing (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: Processing runit_service[opscode-expander] action enable (private-chef::opscode-expander line 37)
[2016-01-09T05:43:10+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-expander] action create (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: directory[/opt/opscode/sv/opscode-expander] created directory /opt/opscode/sv/opscode-expander
[2016-01-09T05:43:10+00:00] INFO: directory[/opt/opscode/sv/opscode-expander] mode changed to 755
[2016-01-09T05:43:10+00:00] INFO: Processing template[/opt/opscode/sv/opscode-expander/run] action create (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/run] created file /opt/opscode/sv/opscode-expander/run
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/run] updated file contents /opt/opscode/sv/opscode-expander/run
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/run] mode changed to 755
[2016-01-09T05:43:10+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-expander/log] action create (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: directory[/opt/opscode/sv/opscode-expander/log] created directory /opt/opscode/sv/opscode-expander/log
[2016-01-09T05:43:10+00:00] INFO: directory[/opt/opscode/sv/opscode-expander/log] mode changed to 755
[2016-01-09T05:43:10+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-expander/log/main] action create (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: directory[/opt/opscode/sv/opscode-expander/log/main] created directory /opt/opscode/sv/opscode-expander/log/main
[2016-01-09T05:43:10+00:00] INFO: directory[/opt/opscode/sv/opscode-expander/log/main] mode changed to 755
[2016-01-09T05:43:10+00:00] INFO: Processing template[/opt/opscode/sv/opscode-expander/log/run] action create (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/log/run] created file /opt/opscode/sv/opscode-expander/log/run
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/log/run] updated file contents /opt/opscode/sv/opscode-expander/log/run
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/log/run] mode changed to 755
[2016-01-09T05:43:10+00:00] INFO: Processing template[/opt/opscode/sv/opscode-expander/log/config] action create (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/log/config] created file /opt/opscode/sv/opscode-expander/log/config
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/log/config] updated file contents /opt/opscode/sv/opscode-expander/log/config
[2016-01-09T05:43:10+00:00] INFO: template[/opt/opscode/sv/opscode-expander/log/config] mode changed to 644
[2016-01-09T05:43:10+00:00] INFO: Processing link[/opt/opscode/init/opscode-expander] action create (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: link[/opt/opscode/init/opscode-expander] created
[2016-01-09T05:43:10+00:00] INFO: runit_service[opscode-expander] configured
[2016-01-09T05:43:10+00:00] INFO: Processing link[/opt/opscode/service/opscode-expander] action create (dynamically defined)
[2016-01-09T05:43:10+00:00] INFO: link[/opt/opscode/service/opscode-expander] created
[2016-01-09T05:43:14+00:00] INFO: runit_service[opscode-expander] enabled
[2016-01-09T05:43:17+00:00] INFO: Processing execute[restart_opscode-expander-reindexer_log_service] action nothing (private-chef::opscode-expander line 19)
[2016-01-09T05:43:17+00:00] INFO: Processing template[/var/log/opscode/opscode-expander-reindexer/config] action create (private-chef::opscode-expander line 24)
[2016-01-09T05:43:17+00:00] INFO: template[/var/log/opscode/opscode-expander-reindexer/config] created file /var/log/opscode/opscode-expander-reindexer/config
[2016-01-09T05:43:17+00:00] INFO: template[/var/log/opscode/opscode-expander-reindexer/config] updated file contents /var/log/opscode/opscode-expander-reindexer/config
[2016-01-09T05:43:17+00:00] INFO: template[/var/log/opscode/opscode-expander-reindexer/config] owner changed to 0
[2016-01-09T05:43:17+00:00] INFO: template[/var/log/opscode/opscode-expander-reindexer/config] group changed to 0
[2016-01-09T05:43:17+00:00] INFO: template[/var/log/opscode/opscode-expander-reindexer/config] mode changed to 644
[2016-01-09T05:43:17+00:00] INFO: Processing service[opscode-expander-reindexer] action nothing (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: Processing runit_service[opscode-expander-reindexer] action enable (private-chef::opscode-expander line 37)
[2016-01-09T05:43:17+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-expander-reindexer] action create (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: directory[/opt/opscode/sv/opscode-expander-reindexer] created directory /opt/opscode/sv/opscode-expander-reindexer
[2016-01-09T05:43:17+00:00] INFO: directory[/opt/opscode/sv/opscode-expander-reindexer] mode changed to 755
[2016-01-09T05:43:17+00:00] INFO: Processing template[/opt/opscode/sv/opscode-expander-reindexer/run] action create (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/run] created file /opt/opscode/sv/opscode-expander-reindexer/run
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/run] updated file contents /opt/opscode/sv/opscode-expander-reindexer/run
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/run] mode changed to 755
[2016-01-09T05:43:17+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-expander-reindexer/log] action create (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: directory[/opt/opscode/sv/opscode-expander-reindexer/log] created directory /opt/opscode/sv/opscode-expander-reindexer/log
[2016-01-09T05:43:17+00:00] INFO: directory[/opt/opscode/sv/opscode-expander-reindexer/log] mode changed to 755
[2016-01-09T05:43:17+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-expander-reindexer/log/main] action create (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: directory[/opt/opscode/sv/opscode-expander-reindexer/log/main] created directory /opt/opscode/sv/opscode-expander-reindexer/log/main
[2016-01-09T05:43:17+00:00] INFO: directory[/opt/opscode/sv/opscode-expander-reindexer/log/main] mode changed to 755
[2016-01-09T05:43:17+00:00] INFO: Processing template[/opt/opscode/sv/opscode-expander-reindexer/log/run] action create (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/log/run] created file /opt/opscode/sv/opscode-expander-reindexer/log/run
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/log/run] updated file contents /opt/opscode/sv/opscode-expander-reindexer/log/run
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/log/run] mode changed to 755
[2016-01-09T05:43:17+00:00] INFO: Processing template[/opt/opscode/sv/opscode-expander-reindexer/log/config] action create (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/log/config] created file /opt/opscode/sv/opscode-expander-reindexer/log/config
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/log/config] updated file contents /opt/opscode/sv/opscode-expander-reindexer/log/config
[2016-01-09T05:43:17+00:00] INFO: template[/opt/opscode/sv/opscode-expander-reindexer/log/config] mode changed to 644
[2016-01-09T05:43:17+00:00] INFO: Processing link[/opt/opscode/init/opscode-expander-reindexer] action create (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: link[/opt/opscode/init/opscode-expander-reindexer] created
[2016-01-09T05:43:17+00:00] INFO: runit_service[opscode-expander-reindexer] configured
[2016-01-09T05:43:17+00:00] INFO: Processing link[/opt/opscode/service/opscode-expander-reindexer] action create (dynamically defined)
[2016-01-09T05:43:17+00:00] INFO: link[/opt/opscode/service/opscode-expander-reindexer] created
[2016-01-09T05:43:20+00:00] INFO: runit_service[opscode-expander-reindexer] enabled
[2016-01-09T05:43:23+00:00] INFO: Processing template[/opt/opscode/embedded/bin/cookbook_migration.sh] action create (private-chef::bookshelf line 11)
[2016-01-09T05:43:24+00:00] INFO: template[/opt/opscode/embedded/bin/cookbook_migration.sh] created file /opt/opscode/embedded/bin/cookbook_migration.sh
[2016-01-09T05:43:24+00:00] INFO: template[/opt/opscode/embedded/bin/cookbook_migration.sh] updated file contents /opt/opscode/embedded/bin/cookbook_migration.sh
[2016-01-09T05:43:24+00:00] INFO: template[/opt/opscode/embedded/bin/cookbook_migration.sh] owner changed to 0
[2016-01-09T05:43:24+00:00] INFO: template[/opt/opscode/embedded/bin/cookbook_migration.sh] group changed to 0
[2016-01-09T05:43:24+00:00] INFO: template[/opt/opscode/embedded/bin/cookbook_migration.sh] mode changed to 755
[2016-01-09T05:43:24+00:00] INFO: Processing directory[/var/opt/opscode/bookshelf] action create (private-chef::bookshelf line 31)
[2016-01-09T05:43:24+00:00] INFO: directory[/var/opt/opscode/bookshelf] created directory /var/opt/opscode/bookshelf
[2016-01-09T05:43:24+00:00] INFO: directory[/var/opt/opscode/bookshelf] owner changed to 998
[2016-01-09T05:43:24+00:00] INFO: directory[/var/opt/opscode/bookshelf] group changed to 998
[2016-01-09T05:43:24+00:00] INFO: directory[/var/opt/opscode/bookshelf] mode changed to 750
[2016-01-09T05:43:24+00:00] INFO: Processing directory[/var/log/opscode/bookshelf] action create (private-chef::bookshelf line 31)
[2016-01-09T05:43:24+00:00] INFO: directory[/var/log/opscode/bookshelf] created directory /var/log/opscode/bookshelf
[2016-01-09T05:43:24+00:00] INFO: directory[/var/log/opscode/bookshelf] owner changed to 998
[2016-01-09T05:43:24+00:00] INFO: directory[/var/log/opscode/bookshelf] group changed to 998
[2016-01-09T05:43:24+00:00] INFO: directory[/var/log/opscode/bookshelf] mode changed to 750
[2016-01-09T05:43:24+00:00] INFO: Processing directory[/var/log/opscode/bookshelf/sasl] action create (private-chef::bookshelf line 31)
[2016-01-09T05:43:24+00:00] INFO: directory[/var/log/opscode/bookshelf/sasl] created directory /var/log/opscode/bookshelf/sasl
[2016-01-09T05:43:24+00:00] INFO: directory[/var/log/opscode/bookshelf/sasl] owner changed to 998
[2016-01-09T05:43:24+00:00] INFO: directory[/var/log/opscode/bookshelf/sasl] group changed to 998
[2016-01-09T05:43:24+00:00] INFO: directory[/var/log/opscode/bookshelf/sasl] mode changed to 750
[2016-01-09T05:43:24+00:00] INFO: Processing directory[/var/opt/opscode/bookshelf/data] action create (private-chef::bookshelf line 31)
[2016-01-09T05:43:24+00:00] INFO: directory[/var/opt/opscode/bookshelf/data] created directory /var/opt/opscode/bookshelf/data
[2016-01-09T05:43:24+00:00] INFO: directory[/var/opt/opscode/bookshelf/data] owner changed to 998
[2016-01-09T05:43:24+00:00] INFO: directory[/var/opt/opscode/bookshelf/data] group changed to 998
[2016-01-09T05:43:24+00:00] INFO: directory[/var/opt/opscode/bookshelf/data] mode changed to 750
[2016-01-09T05:43:24+00:00] INFO: Processing execute[cookbook migration] action run (private-chef::bookshelf line 39)
[2016-01-09T05:43:26+00:00] INFO: execute[cookbook migration] ran successfully
[2016-01-09T05:43:26+00:00] INFO: Processing link[/opt/opscode/embedded/service/bookshelf/log] action create (private-chef::bookshelf line 45)
[2016-01-09T05:43:26+00:00] INFO: link[/opt/opscode/embedded/service/bookshelf/log] created
[2016-01-09T05:43:26+00:00] INFO: Processing template[/var/opt/opscode/bookshelf/sys.config] action create (private-chef::bookshelf line 51)
[2016-01-09T05:43:26+00:00] INFO: template[/var/opt/opscode/bookshelf/sys.config] created file /var/opt/opscode/bookshelf/sys.config
[2016-01-09T05:43:26+00:00] INFO: template[/var/opt/opscode/bookshelf/sys.config] updated file contents /var/opt/opscode/bookshelf/sys.config
[2016-01-09T05:43:26+00:00] INFO: template[/var/opt/opscode/bookshelf/sys.config] owner changed to 998
[2016-01-09T05:43:26+00:00] INFO: template[/var/opt/opscode/bookshelf/sys.config] group changed to 998
[2016-01-09T05:43:26+00:00] INFO: template[/var/opt/opscode/bookshelf/sys.config] mode changed to 644
[2016-01-09T05:43:26+00:00] INFO: Processing link[/opt/opscode/embedded/service/bookshelf/sys.config] action create (private-chef::bookshelf line 60)
[2016-01-09T05:43:26+00:00] INFO: link[/opt/opscode/embedded/service/bookshelf/sys.config] created
[2016-01-09T05:43:26+00:00] INFO: Processing execute[restart_bookshelf_log_service] action nothing (private-chef::bookshelf line 19)
[2016-01-09T05:43:26+00:00] INFO: Processing template[/var/log/opscode/bookshelf/config] action create (private-chef::bookshelf line 24)
[2016-01-09T05:43:26+00:00] INFO: template[/var/log/opscode/bookshelf/config] created file /var/log/opscode/bookshelf/config
[2016-01-09T05:43:26+00:00] INFO: template[/var/log/opscode/bookshelf/config] updated file contents /var/log/opscode/bookshelf/config
[2016-01-09T05:43:26+00:00] INFO: template[/var/log/opscode/bookshelf/config] owner changed to 0
[2016-01-09T05:43:26+00:00] INFO: template[/var/log/opscode/bookshelf/config] group changed to 0
[2016-01-09T05:43:26+00:00] INFO: template[/var/log/opscode/bookshelf/config] mode changed to 644
[2016-01-09T05:43:26+00:00] INFO: Processing service[bookshelf] action nothing (dynamically defined)
[2016-01-09T05:43:26+00:00] INFO: Processing runit_service[bookshelf] action enable (private-chef::bookshelf line 37)
[2016-01-09T05:43:26+00:00] INFO: Processing directory[/opt/opscode/sv/bookshelf] action create (dynamically defined)
[2016-01-09T05:43:26+00:00] INFO: directory[/opt/opscode/sv/bookshelf] created directory /opt/opscode/sv/bookshelf
[2016-01-09T05:43:26+00:00] INFO: directory[/opt/opscode/sv/bookshelf] mode changed to 755
[2016-01-09T05:43:26+00:00] INFO: Processing template[/opt/opscode/sv/bookshelf/run] action create (dynamically defined)
[2016-01-09T05:43:26+00:00] INFO: template[/opt/opscode/sv/bookshelf/run] created file /opt/opscode/sv/bookshelf/run
[2016-01-09T05:43:26+00:00] INFO: template[/opt/opscode/sv/bookshelf/run] updated file contents /opt/opscode/sv/bookshelf/run
[2016-01-09T05:43:26+00:00] INFO: template[/opt/opscode/sv/bookshelf/run] mode changed to 755
[2016-01-09T05:43:26+00:00] INFO: Processing directory[/opt/opscode/sv/bookshelf/log] action create (dynamically defined)
[2016-01-09T05:43:26+00:00] INFO: directory[/opt/opscode/sv/bookshelf/log] created directory /opt/opscode/sv/bookshelf/log
[2016-01-09T05:43:26+00:00] INFO: directory[/opt/opscode/sv/bookshelf/log] mode changed to 755
[2016-01-09T05:43:26+00:00] INFO: Processing directory[/opt/opscode/sv/bookshelf/log/main] action create (dynamically defined)
[2016-01-09T05:43:26+00:00] INFO: directory[/opt/opscode/sv/bookshelf/log/main] created directory /opt/opscode/sv/bookshelf/log/main
[2016-01-09T05:43:26+00:00] INFO: directory[/opt/opscode/sv/bookshelf/log/main] mode changed to 755
[2016-01-09T05:43:27+00:00] INFO: Processing template[/opt/opscode/sv/bookshelf/log/run] action create (dynamically defined)
[2016-01-09T05:43:27+00:00] INFO: template[/opt/opscode/sv/bookshelf/log/run] created file /opt/opscode/sv/bookshelf/log/run
[2016-01-09T05:43:27+00:00] INFO: template[/opt/opscode/sv/bookshelf/log/run] updated file contents /opt/opscode/sv/bookshelf/log/run
[2016-01-09T05:43:27+00:00] INFO: template[/opt/opscode/sv/bookshelf/log/run] mode changed to 755
[2016-01-09T05:43:27+00:00] INFO: Processing template[/opt/opscode/sv/bookshelf/log/config] action create (dynamically defined)
[2016-01-09T05:43:27+00:00] INFO: template[/opt/opscode/sv/bookshelf/log/config] created file /opt/opscode/sv/bookshelf/log/config
[2016-01-09T05:43:27+00:00] INFO: template[/opt/opscode/sv/bookshelf/log/config] updated file contents /opt/opscode/sv/bookshelf/log/config
[2016-01-09T05:43:27+00:00] INFO: template[/opt/opscode/sv/bookshelf/log/config] mode changed to 644
[2016-01-09T05:43:27+00:00] INFO: Processing link[/opt/opscode/init/bookshelf] action create (dynamically defined)
[2016-01-09T05:43:27+00:00] INFO: link[/opt/opscode/init/bookshelf] created
[2016-01-09T05:43:27+00:00] INFO: runit_service[bookshelf] configured
[2016-01-09T05:43:27+00:00] INFO: Processing link[/opt/opscode/service/bookshelf] action create (dynamically defined)
[2016-01-09T05:43:27+00:00] INFO: link[/opt/opscode/service/bookshelf] created
[2016-01-09T05:43:31+00:00] INFO: runit_service[bookshelf] enabled
[2016-01-09T05:43:31+00:00] INFO: Processing directory[/var/opt/opscode/opscode-erchef] action create (private-chef::opscode-erchef line 15)
[2016-01-09T05:43:32+00:00] INFO: directory[/var/opt/opscode/opscode-erchef] created directory /var/opt/opscode/opscode-erchef
[2016-01-09T05:43:32+00:00] INFO: directory[/var/opt/opscode/opscode-erchef] owner changed to 998
[2016-01-09T05:43:32+00:00] INFO: directory[/var/opt/opscode/opscode-erchef] group changed to 998
[2016-01-09T05:43:32+00:00] INFO: directory[/var/opt/opscode/opscode-erchef] mode changed to 750
[2016-01-09T05:43:32+00:00] INFO: Processing directory[/var/log/opscode/opscode-erchef] action create (private-chef::opscode-erchef line 15)
[2016-01-09T05:43:32+00:00] INFO: directory[/var/log/opscode/opscode-erchef] created directory /var/log/opscode/opscode-erchef
[2016-01-09T05:43:32+00:00] INFO: directory[/var/log/opscode/opscode-erchef] owner changed to 998
[2016-01-09T05:43:32+00:00] INFO: directory[/var/log/opscode/opscode-erchef] group changed to 998
[2016-01-09T05:43:32+00:00] INFO: directory[/var/log/opscode/opscode-erchef] mode changed to 750
[2016-01-09T05:43:32+00:00] INFO: Processing directory[/var/log/opscode/opscode-erchef/sasl] action create (private-chef::opscode-erchef line 15)
[2016-01-09T05:43:32+00:00] INFO: directory[/var/log/opscode/opscode-erchef/sasl] created directory /var/log/opscode/opscode-erchef/sasl
[2016-01-09T05:43:32+00:00] INFO: directory[/var/log/opscode/opscode-erchef/sasl] owner changed to 998
[2016-01-09T05:43:32+00:00] INFO: directory[/var/log/opscode/opscode-erchef/sasl] group changed to 998
[2016-01-09T05:43:32+00:00] INFO: directory[/var/log/opscode/opscode-erchef/sasl] mode changed to 750
[2016-01-09T05:43:32+00:00] INFO: Processing link[/opt/opscode/embedded/service/opscode-erchef/log] action create (private-chef::opscode-erchef line 23)
[2016-01-09T05:43:32+00:00] INFO: link[/opt/opscode/embedded/service/opscode-erchef/log] created
[2016-01-09T05:43:32+00:00] INFO: Processing template[/var/opt/opscode/opscode-erchef/sys.config] action create (private-chef::opscode-erchef line 43)
[2016-01-09T05:43:32+00:00] INFO: template[/var/opt/opscode/opscode-erchef/sys.config] created file /var/opt/opscode/opscode-erchef/sys.config
[2016-01-09T05:43:32+00:00] INFO: template[/var/opt/opscode/opscode-erchef/sys.config] updated file contents /var/opt/opscode/opscode-erchef/sys.config
[2016-01-09T05:43:32+00:00] INFO: template[/var/opt/opscode/opscode-erchef/sys.config] owner changed to 998
[2016-01-09T05:43:32+00:00] INFO: template[/var/opt/opscode/opscode-erchef/sys.config] group changed to 998
[2016-01-09T05:43:32+00:00] INFO: template[/var/opt/opscode/opscode-erchef/sys.config] mode changed to 644
[2016-01-09T05:43:32+00:00] INFO: template[/var/opt/opscode/opscode-erchef/sys.config] sending run action to execute[remove_erchef_siz_files] (immediate)
[2016-01-09T05:43:32+00:00] INFO: Processing execute[remove_erchef_siz_files] action run (private-chef::opscode-erchef line 73)
[2016-01-09T05:43:32+00:00] INFO: execute[remove_erchef_siz_files] ran successfully
[2016-01-09T05:43:32+00:00] INFO: Processing execute[remove_erchef_siz_files] action nothing (private-chef::opscode-erchef line 73)
[2016-01-09T05:43:32+00:00] INFO: Processing link[/opt/opscode/embedded/service/opscode-erchef/sys.config] action create (private-chef::opscode-erchef line 79)
[2016-01-09T05:43:32+00:00] INFO: link[/opt/opscode/embedded/service/opscode-erchef/sys.config] created
[2016-01-09T05:43:32+00:00] INFO: Processing execute[restart_opscode-erchef_log_service] action nothing (private-chef::opscode-erchef line 19)
[2016-01-09T05:43:32+00:00] INFO: Processing template[/var/log/opscode/opscode-erchef/config] action create (private-chef::opscode-erchef line 24)
[2016-01-09T05:43:32+00:00] INFO: template[/var/log/opscode/opscode-erchef/config] created file /var/log/opscode/opscode-erchef/config
[2016-01-09T05:43:32+00:00] INFO: template[/var/log/opscode/opscode-erchef/config] updated file contents /var/log/opscode/opscode-erchef/config
[2016-01-09T05:43:32+00:00] INFO: template[/var/log/opscode/opscode-erchef/config] owner changed to 0
[2016-01-09T05:43:32+00:00] INFO: template[/var/log/opscode/opscode-erchef/config] group changed to 0
[2016-01-09T05:43:32+00:00] INFO: template[/var/log/opscode/opscode-erchef/config] mode changed to 644
[2016-01-09T05:43:32+00:00] INFO: Processing service[opscode-erchef] action nothing (dynamically defined)
[2016-01-09T05:43:32+00:00] INFO: Processing runit_service[opscode-erchef] action enable (private-chef::opscode-erchef line 37)
[2016-01-09T05:43:32+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-erchef] action create (dynamically defined)
[2016-01-09T05:43:33+00:00] INFO: directory[/opt/opscode/sv/opscode-erchef] created directory /opt/opscode/sv/opscode-erchef
[2016-01-09T05:43:33+00:00] INFO: directory[/opt/opscode/sv/opscode-erchef] mode changed to 755
[2016-01-09T05:43:33+00:00] INFO: Processing template[/opt/opscode/sv/opscode-erchef/run] action create (dynamically defined)
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/run] created file /opt/opscode/sv/opscode-erchef/run
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/run] updated file contents /opt/opscode/sv/opscode-erchef/run
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/run] mode changed to 755
[2016-01-09T05:43:33+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-erchef/log] action create (dynamically defined)
[2016-01-09T05:43:33+00:00] INFO: directory[/opt/opscode/sv/opscode-erchef/log] created directory /opt/opscode/sv/opscode-erchef/log
[2016-01-09T05:43:33+00:00] INFO: directory[/opt/opscode/sv/opscode-erchef/log] mode changed to 755
[2016-01-09T05:43:33+00:00] INFO: Processing directory[/opt/opscode/sv/opscode-erchef/log/main] action create (dynamically defined)
[2016-01-09T05:43:33+00:00] INFO: directory[/opt/opscode/sv/opscode-erchef/log/main] created directory /opt/opscode/sv/opscode-erchef/log/main
[2016-01-09T05:43:33+00:00] INFO: directory[/opt/opscode/sv/opscode-erchef/log/main] mode changed to 755
[2016-01-09T05:43:33+00:00] INFO: Processing template[/opt/opscode/sv/opscode-erchef/log/run] action create (dynamically defined)
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/log/run] created file /opt/opscode/sv/opscode-erchef/log/run
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/log/run] updated file contents /opt/opscode/sv/opscode-erchef/log/run
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/log/run] mode changed to 755
[2016-01-09T05:43:33+00:00] INFO: Processing template[/opt/opscode/sv/opscode-erchef/log/config] action create (dynamically defined)
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/log/config] created file /opt/opscode/sv/opscode-erchef/log/config
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/log/config] updated file contents /opt/opscode/sv/opscode-erchef/log/config
[2016-01-09T05:43:33+00:00] INFO: template[/opt/opscode/sv/opscode-erchef/log/config] mode changed to 644
[2016-01-09T05:43:33+00:00] INFO: Processing link[/opt/opscode/init/opscode-erchef] action create (dynamically defined)
[2016-01-09T05:43:33+00:00] INFO: link[/opt/opscode/init/opscode-erchef] created
[2016-01-09T05:43:33+00:00] INFO: runit_service[opscode-erchef] configured
[2016-01-09T05:43:33+00:00] INFO: Processing link[/opt/opscode/service/opscode-erchef] action create (dynamically defined)
[2016-01-09T05:43:33+00:00] INFO: link[/opt/opscode/service/opscode-erchef] created
[2016-01-09T05:43:37+00:00] INFO: runit_service[opscode-erchef] enabled
[2016-01-09T05:43:37+00:00] INFO: Processing template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/config.rb] action create (private-chef::bootstrap line 23)
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/config.rb] created file /opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/config.rb
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/config.rb] updated file contents /opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/config.rb
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/config.rb] owner changed to 0
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/config.rb] group changed to 0
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/config.rb] mode changed to 600
[2016-01-09T05:43:37+00:00] INFO: Processing template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml] action create (private-chef::bootstrap line 32)
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml] created file /opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml] updated file contents /opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml] owner changed to 0
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml] group changed to 0
[2016-01-09T05:43:37+00:00] INFO: template[/opt/opscode/embedded/service/chef-server-bootstrap/bootstrapper-config/pivotal.yml] mode changed to 600
[2016-01-09T05:43:37+00:00] INFO: Processing execute[/opt/opscode/bin/private-chef-ctl start] action run (private-chef::bootstrap line 40)
[2016-01-09T05:43:44+00:00] INFO: Retrying execution of execute[/opt/opscode/bin/private-chef-ctl start], 19 attempt(s) left
[2016-01-09T05:43:48+00:00] INFO: Retrying execution of execute[/opt/opscode/bin/private-chef-ctl start], 18 attempt(s) left
[2016-01-09T05:43:51+00:00] INFO: Retrying execution of execute[/opt/opscode/bin/private-chef-ctl start], 17 attempt(s) left
[2016-01-09T05:43:53+00:00] INFO: Retrying execution of execute[/opt/opscode/bin/private-chef-ctl start], 16 attempt(s) left
[2016-01-09T05:44:23+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 9 (KILL)
D Cleaning up local sandbox in /var/folders/mc/hmtw4tj90hzbf2q1gc8m1c_cjk2lbh/T/default-ubuntu-1404-sandbox-20160109-1088-n8phxy
>>>>>> Converge failed on instance <default-ubuntu-1404>.
>>>>>> Please see .kitchen/logs/default-ubuntu-1404.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level debug --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
>>>>>> ----------------------
D Converge failed on instance <default-ubuntu-1404>.
D ------Exception-------
D Class: Kitchen::InstanceFailure
D Message: Converge failed on instance <default-ubuntu-1404>. Please see .kitchen/logs/default-ubuntu-1404.log for more details
D ---Nested Exception---
D Class: Kitchen::ActionFailed
D Message: SSH exited (1) for command: [sh -c '
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level debug --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
D ------Backtrace-------
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/provisioner/base.rb:77:in `call'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:366:in `block in converge_action'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:488:in `call'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:488:in `synchronize_or_call'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:453:in `block in action'
D /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:452:in `action'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:362:in `converge_action'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:341:in `block in transition_to'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:340:in `each'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:340:in `transition_to'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:138:in `converge'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/command.rb:176:in `public_send'
D /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
D ----------------------
zlib(finalizer): the stream was freed prematurely.
😡 r-chef-server git:(feature/os-updates) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment