sous-chefs / nginx

Development repository for the nginx cookbook
https://supermarket.chef.io/cookbooks/nginx
Apache License 2.0
554 stars 806 forks source link

undefined method `version' for nil:NilClass #428

Closed jefflage closed 7 years ago

jefflage commented 8 years ago

I have the following issue when attempting to install nginx via chef-solo into a docker container based on Centos7:

================================================================================
    Error executing action `install` on resource 'package[nginx]'
    ================================================================================

    NoMethodError
    -------------
    undefined method `version' for nil:NilClass

    Resource Declaration:
    ---------------------
    # In /chefinstall/local-mode-cache/cache/cookbooks/nginx/recipes/package.rb

     41: package node['nginx']['package_name'] do
     42:   options package_install_opts
     43:   notifies :reload, 'ohai[reload_nginx]', :immediately
     44:   not_if 'which nginx'
     45: end
     46: 

    Compiled Resource:
    ------------------
    # Declared in /chefinstall/local-mode-cache/cache/cookbooks/nginx/recipes/package.rb:41:in `from_file'

    package("nginx") do
      package_name "nginx"
      action [:install]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      declared_type :package
      cookbook_name "nginx"
      recipe_name "package"
      not_if "which nginx"
    end

    Platform:
    ---------
    x86_64-linux

My Dockerfile looks like:

FROM centos:7.1.1503

RUN yum install -y wget hostname
WORKDIR /chefinstall
RUN wget https://packages.chef.io/stable/el/7/chefdk-0.18.26-1.el7.x86_64.rpm
RUN yum install -y ./chefdk-0.18.26-1.el7.x86_64.rpm
ENV PATH /opt/chefdk/bin:$PATH

ADD ./.ssh-copy /root/.ssh
RUN yum install -y git tar

WORKDIR /chefinstall/cookbooks

RUN git clone git@ghe.hedgeserv.net:chef-cookbooks/hs-lbs-chef.git
WORKDIR /chefinstall/cookbooks/hs-lbs-chef
RUN berks vendor ../

RUN rm -rf /root/.ssh

WORKDIR /chefinstall
ADD solo.rb solo.rb

The metadata.rb from my cookbook looks like:

name             'hs-lbs-chef'
maintainer       'xxx'
maintainer_email 'xxx'
license          'All rights reserved'
description      'Installs/Configures hs-lbs-chef'
long_description 'Installs/Configures hs-lbs-chef'
version          '0.1.94'

depends          'hostsfile',           '~> 2.4.5'
depends          'nodejs',              '~> 2.4.1'
depends          'java',                '~> 1.42.0'
depends          'ssh',                 '~> 0.10.10'
depends          'ssh_authorized_keys', '~> 0.3.0'
depends          'nginx',               '~> 2.7.6'

And I am invoking chef-solo: docker-compose run node-chef chef-solo -c /chefinstall/solo.rb -o recipe[nginx] It's worth noting that the cookbook works just fine in chefdk/vagrant and also in our OpenStack/Scalr VMs

The full log is here:

~/dev/run-pyramid-locally ------------------------------------------ 
♿  jlage 🕕 : docker-compose run node-chef chef-solo -c /chefinstall/solo.rb -o recipe[nginx]
[2016-09-27T21:59:16+00:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /chefinstall
  One version per cookbook

[2016-09-27T21:59:16+00:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 12.14.89
[2016-09-27T21:59:16+00:00] INFO: *** Chef 12.14.89 ***
[2016-09-27T21:59:16+00:00] INFO: Platform: x86_64-linux
[2016-09-27T21:59:16+00:00] INFO: Chef-client pid: 12
[2016-09-27T21:59:17+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/e3a5b94c726a
[2016-09-27T21:59:17+00:00] WARN: Run List override has been provided.
[2016-09-27T21:59:17+00:00] WARN: Original Run List: []
[2016-09-27T21:59:17+00:00] WARN: Overridden Run List: [recipe[nginx]]
[2016-09-27T21:59:17+00:00] INFO: Run List is [recipe[nginx]]
[2016-09-27T21:59:17+00:00] INFO: Run List expands to [nginx]
[2016-09-27T21:59:17+00:00] INFO: Starting Chef Run for e3a5b94c726a
[2016-09-27T21:59:17+00:00] INFO: Running start handlers
[2016-09-27T21:59:17+00:00] INFO: Start handlers complete.
[2016-09-27T21:59:17+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: 
resolving cookbooks for run list: ["nginx"]
[2016-09-27T21:59:18+00:00] INFO: Loading cookbooks [nginx@2.7.6, apt@2.9.2, bluepill@2.4.3, build-essential@2.4.0, ohai@2.1.0, runit@1.8.0, yum-epel@0.7.1, rsyslog@4.0.1, 7-zip@1.0.2, packagecloud@0.2.5, yum@4.0.0, compat_resource@12.14.7, windows@2.0.2]
[2016-09-27T21:59:18+00:00] INFO: Skipping removal of obsoleted cookbooks from the cache
Synchronizing Cookbooks:
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/authorized_ips.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/commons_conf.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/headers_more_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_auth_request_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_geoip_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/commons_script.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/commons.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_spdy_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/lua.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_stub_status_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_perl_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_realip_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_echo_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_ssl_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/ipv6.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/ngx_lua_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/commons_dir.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/pagespeed_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/passenger.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/openssl_source.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/ngx_devel_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/repo_passenger.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/set_misc.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/naxsi_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/source.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_gzip_static_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/ohai_plugin.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/upload_progress_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/syslog_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/libraries/matchers.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/devel.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/package.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/definitions/nginx_site.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/socketproxy.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/lua.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/auth_request.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/openssl_source.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/echo.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/http_mp4_module.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/rate_limiting.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/geoip.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/pagespeed.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/recipes/repo.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/naxsi.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/headers_more.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/syslog.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/source.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/repo.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/status.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/passenger.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/socketproxy.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/files/default/mime.types in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/modules/nginx_status.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/debian/nginx.init.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/files/default/naxsi_core.rules in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/default-site.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/set_misc.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/modules/http_geoip.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/nginx.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/nginx.init.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/modules/socketproxy.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/nginx.sysconfig.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/nxdissite.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/attributes/upload_progress.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/plugins/nginx.rb.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/modules/http_gzip_static.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/nginx-upstart.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/modules/passenger.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/nxensite.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/suse/nginx.init.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/nginx.pill.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/sv-nginx-log-run.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/ubuntu/nginx.init.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/sv-nginx-run.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/modules/authorized_ip.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/resources/preference.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/modules/http_realip.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/default/modules/upload_progress.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/recipes/unattended-upgrades.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/libraries/matchers.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/resources/repository.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/libraries/helpers.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/nginx/templates/gentoo/nginx.init.erb in the cache.
  - nginx (2.7.6)[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/providers/repository.rb in the cache.

[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/files/default/15update-stamp in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/templates/default/20auto-upgrades.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/templates/default/01proxy.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/recipes/cacher-ng.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/providers/preference.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/templates/default/acng.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/recipes/cacher-client.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/templates/default/unattended-upgrades.seed.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/templates/debian-6.0/acng.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/libraries/network.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/resources/service.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/files/default/apt-proxy-v2.conf in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/recipes/rsyslog.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/templates/default/bluepill_init.rhel.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/templates/default/bluepill_rsyslog.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/templates/default/10recommends.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/templates/default/bluepill_init.freebsd.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/providers/service.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/templates/default/bluepill_init.lsb.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/templates/default/bluepill_init.fedora.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/.foodcritic in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/MAINTAINERS.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/resources/msys_archive.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_fedora.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/apt/templates/default/50unattended-upgrades.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_mac_os_x.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_freebsd.rb in the cache.
  [2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/providers/msys_archive.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_debian.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_rhel.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_omnios.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/bluepill/libraries/matchers.rb in the cache.
- apt (2.9.2)
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_suse.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_solaris2.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_windows.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_smartos.rb in the cache.
  - bluepill (2.4.3)
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/libraries/xcode_command_line_tools.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/libraries/timing.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/libraries/_msys_helper.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/libraries/matchers.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/.foodcritic in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/resources/hint.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/build-essential/MAINTAINERS.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/providers/hint.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/libraries/matchers.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/files/default/plugins/README in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/ohai/MAINTAINERS.md in the cache.
  - build-essential (2.4.0)
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/libraries/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/libraries/helpers.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/libraries/provider_runit_service.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/libraries/resource_runit_service.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/libraries/matchers.rb in the cache.
  [2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/files/default/runit.seed in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/templates/debian/init.d.erb in the cache.
- ohai (2.1.0)
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/templates/gentoo/runit-start.sh.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/templates/default/log-config.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/MAINTAINERS.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/runit/.foodcritic in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-debuginfo.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-testing-source.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-source.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-testing-debuginfo.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel.rb in the cache.
  - runit (1.8.0)
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/MAINTAINERS.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-testing.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/recipes/server.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/templates/default/35-server-per-host.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/resources/file_input.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum-epel/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/templates/default/file-input.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/libraries/matchers.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/recipes/client.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/templates/default/rsyslog.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/templates/default/49-relp.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/templates/default/50-default.conf.erb in the cache.
  - yum-epel (0.7.1)[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/templates/default/49-remote.conf.erb in the cache.

[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/templates/default/omnios-manifest.xml.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/templates/smartos/50-default.conf.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/MAINTAINERS.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/.foodcritic in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/7-zip/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/rsyslog/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/7-zip/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/7-zip/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/7-zip/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/7-zip/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/resources/repo.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/libraries/matcher.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/providers/repo.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/attributes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/templates/default/apt.erb in the cache.
  - rsyslog (4.0.1)[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/libraries/helper.rb in the cache.

[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/metadata.json in the cache.
  [2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/Rakefile in the cache.
- 7-zip (1.0.2)
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/Thorfile in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/templates/default/yum.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/chefignore in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/Gemfile in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/THANKS in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/.kitchen.yml in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/Berksfile in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/Berksfile.lock in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/.rubocop.yml in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/LICENSE in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/packagecloud/Gemfile.lock in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/resources/globalconfig.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/resources/repository.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/providers/globalconfig.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/libraries/matchers.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/recipes/default.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/recipes/dnf_yum_compat.rb in the cache.
  - packagecloud (0.2.5)
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/attributes/main.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/metadata.json in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/templates/default/main.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/templates/default/repo.erb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/README.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/CHANGELOG.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/constants.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/providers/repository.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/libraries/autoload.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/yum/MAINTAINERS.md in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/delayed_evaluator.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/core.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/platform_introspection.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/declare_resource.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/recipe.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/universal.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/lazy_module_include.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/notifying_block.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/params_validate.rb in the cache.
  - yum (4.0.0)
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/powershell_out.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/property.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/apt_update.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/action_class.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/apt_repository.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/yum_repository.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/noop.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/properties.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/apt_update.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/yum_repository.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource_builder.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/mixin/properties.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/exceptions.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/log.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/mixin/params_validate.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/node.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/apt_repository.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/property.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/provider.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/recipe.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/recipe_hook.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource/lwrp_base.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_collection/resource_list.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_builder.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_collection/resource_set.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/run_context.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_collection.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/property.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/recipe.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_upstream_version.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/resource.rb in the cache.
[2016-09-27T21:59:18+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/compat_resource.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/compat_resource/metadata.json in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/compat_resource/README.md in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/compat_resource/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/resource/lwrp_base.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/compat_resource/CHANGELOG.md in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/certificate.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/compat_resource/MAINTAINERS.md in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/certificate_binding.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/feature.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/auto_run.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/font.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/http_acl.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/printer.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/path.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/printer_port.rb in the cache.
  [2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/pagefile.rb in the cache.
- compat_resource (12.14.7)
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/task.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/zipfile.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/certificate.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/auto_run.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/feature_powershell.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/feature_servermanagercmd.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/resources/shortcut.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/pagefile.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/http_acl.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/path.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/feature_dism.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/printer_port.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/certificate_binding.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/shortcut.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/font.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/printer.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/task.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/providers/zipfile.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/recipes/default.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/matchers.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/powershell_out.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/powershell_helper.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_package.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/registry_helper.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/version.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/feature_base.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_helper.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_privileged.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/libraries/wmi_helper.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/attributes/default.rb in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/README.md in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/CHANGELOG.md in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/CONTRIBUTING.md in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/metadata.json in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/.foodcritic in the cache.
[2016-09-27T21:59:19+00:00] INFO: Storing updated cookbooks/windows/MAINTAINERS.md in the cache.
  - windows (2.0.2)
Installing Cookbook Gems:
Compiling Cookbooks...
[2016-09-27T21:59:19+00:00] WARN: Chef::Provider::AptRepository already exists!  Cannot create deprecation class for LWRP provider apt_repository from cookbook apt
[2016-09-27T21:59:19+00:00] WARN: AptRepository already exists!  Deprecation class overwrites Custom resource apt_repository from cookbook apt
[2016-09-27T21:59:19+00:00] WARN: Chef::Provider::YumRepository already exists!  Cannot create deprecation class for LWRP provider yum_repository from cookbook yum
[2016-09-27T21:59:19+00:00] WARN: YumRepository already exists!  Deprecation class overwrites Custom resource yum_repository from cookbook yum
[2016-09-27T21:59:19+00:00] INFO: ohai plugins will be at: /etc/chef/ohai_plugins
Recipe: ohai::default
  * remote_directory[/etc/chef/ohai_plugins for cookbook ohai] action create[2016-09-27T21:59:19+00:00] INFO: Processing remote_directory[/etc/chef/ohai_plugins for cookbook ohai] action create (ohai::default line 32)
[2016-09-27T21:59:19+00:00] INFO: remote_directory[/etc/chef/ohai_plugins for cookbook ohai] created directory /etc/chef/ohai_plugins

    - create new directory /etc/chef/ohai_plugins[2016-09-27T21:59:19+00:00] INFO: remote_directory[/etc/chef/ohai_plugins for cookbook ohai] mode changed to 755

    - change mode from '' to '0755'
  Recipe: <Dynamically Defined Resource>
    * cookbook_file[/etc/chef/ohai_plugins/README] action create[2016-09-27T21:59:19+00:00] INFO: Processing cookbook_file[/etc/chef/ohai_plugins/README] action create (dynamically defined)
[2016-09-27T21:59:19+00:00] INFO: cookbook_file[/etc/chef/ohai_plugins/README] created file /etc/chef/ohai_plugins/README

      - create new file /etc/chef/ohai_plugins/README[2016-09-27T21:59:19+00:00] INFO: cookbook_file[/etc/chef/ohai_plugins/README] updated file contents /etc/chef/ohai_plugins/README

      - update content in file /etc/chef/ohai_plugins/README from none to 775fa7
      --- /etc/chef/ohai_plugins/README 2016-09-27 21:59:19.296808662 +0000
      +++ /etc/chef/ohai_plugins/.chef-README20160927-12-soebw1 2016-09-27 21:59:19.296808662 +0000
      @@ -1 +1,2 @@
      +This directory contains custom plugins for Ohai.[2016-09-27T21:59:19+00:00] INFO: cookbook_file[/etc/chef/ohai_plugins/README] mode changed to 644

      - change mode from '' to '0644'

Recipe: ohai::default
  * ohai[custom_plugins] action reload[2016-09-27T21:59:19+00:00] INFO: Processing ohai[custom_plugins] action reload (ohai::default line 46)
[2016-09-27T21:59:19+00:00] WARN: Ohai::Config[:plugin_path] is set. Ohai::Config[:plugin_path] is deprecated and will be removed in future releases of ohai. Use ohai.plugin_path in your configuration file to configure :plugin_path for ohai.
[2016-09-27T21:59:19+00:00] WARN: Ohai::Config[:plugin_path] is set. Ohai::Config[:plugin_path] is deprecated and will be removed in future releases of ohai. Use ohai.plugin_path in your configuration file to configure :plugin_path for ohai.
[2016-09-27T21:59:20+00:00] INFO: ohai[custom_plugins] reloaded

    - re-run ohai and merge results into node attributes
  Converging 18 resources
Recipe: nginx::ohai_plugin
  * ohai[reload_nginx] action nothing[2016-09-27T21:59:20+00:00] INFO: Processing ohai[reload_nginx] action nothing (nginx::ohai_plugin line 22)
 (skipped due to action :nothing)
  * template[/etc/chef/ohai_plugins/nginx.rb] action create[2016-09-27T21:59:20+00:00] INFO: Processing template[/etc/chef/ohai_plugins/nginx.rb] action create (nginx::ohai_plugin line 27)
[2016-09-27T21:59:20+00:00] INFO: template[/etc/chef/ohai_plugins/nginx.rb] created file /etc/chef/ohai_plugins/nginx.rb

    - create new file /etc/chef/ohai_plugins/nginx.rb[2016-09-27T21:59:20+00:00] INFO: template[/etc/chef/ohai_plugins/nginx.rb] updated file contents /etc/chef/ohai_plugins/nginx.rb

    - update content in file /etc/chef/ohai_plugins/nginx.rb from none to 9f7e82
    --- /etc/chef/ohai_plugins/nginx.rb 2016-09-27 21:59:20.725733028 +0000
    +++ /etc/chef/ohai_plugins/.chef-nginx20160927-12-6ddx7q.rb 2016-09-27 21:59:20.725733028 +0000
    @@ -1 +1,67 @@
    +#
    +# Author:: Jamie Winsor (<jamie@vialstudios.com>)
    +#
    +# Copyright 2012, Riot Games
    +#
    +# 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.
    +#
    +
    +provides "nginx"
    +provides "nginx/version"
    +provides "nginx/configure_arguments"
    +provides "nginx/prefix"
    +provides "nginx/conf_path"
    +
    +def parse_flags(flags)
    +  prefix = nil
    +  conf_path = nil
    +
    +  flags.each do |flag|
    +    case flag
    +    when /^--prefix=(.+)$/
    +      prefix = $1
    +    when /^--conf-path=(.+)$/
    +      conf_path = $1
    +    end
    +  end
    +
    +  [ prefix, conf_path ]
    +end
    +
    +nginx Mash.new unless nginx
    +nginx[:version]             = nil unless nginx[:version]
    +nginx[:configure_arguments] = Array.new unless nginx[:configure_arguments]
    +nginx[:prefix]              = nil unless nginx[:prefix]
    +nginx[:conf_path]           = nil unless nginx[:conf_path]
    +
    +status, stdout, stderr = run_command(:no_status_check => true, :command => "/usr/sbin/nginx -V")
    +
    +if status == 0
    +  stderr.split("\n").each do |line|
    +    case line
    +    when /^configure arguments:(.+)/
    +      # This could be better: I'm splitting on configure arguments which removes them and also
    +      # adds a blank string at index 0 of the array. This is why we drop index 0 and map to
    +      # add the '--' prefix back to the configure argument.
    +      nginx[:configure_arguments] = $1.split(/\s--/).drop(1).map { |ca| "--#{ca}" }
    +
    +      prefix, conf_path = parse_flags(nginx[:configure_arguments])
    +
    +      nginx[:prefix] = prefix
    +      nginx[:conf_path] = conf_path
    +    when /^nginx version: nginx\/(\d+\.\d+\.\d+)/
    +      nginx[:version] = $1
    +    end
    +  end
    +end[2016-09-27T21:59:20+00:00] INFO: template[/etc/chef/ohai_plugins/nginx.rb] owner changed to 0
[2016-09-27T21:59:20+00:00] INFO: template[/etc/chef/ohai_plugins/nginx.rb] group changed to 0
[2016-09-27T21:59:20+00:00] INFO: template[/etc/chef/ohai_plugins/nginx.rb] mode changed to 755

    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
[2016-09-27T21:59:20+00:00] INFO: template[/etc/chef/ohai_plugins/nginx.rb] sending reload action to ohai[reload_nginx] (immediate)
  * ohai[reload_nginx] action reload[2016-09-27T21:59:20+00:00] INFO: Processing ohai[reload_nginx] action reload (nginx::ohai_plugin line 22)
[2016-09-27T21:59:20+00:00] WARN: Ohai::Config[:plugin_path] is set. Ohai::Config[:plugin_path] is deprecated and will be removed in future releases of ohai. Use ohai.plugin_path in your configuration file to configure :plugin_path for ohai.
[2016-09-27T21:59:20+00:00] WARN: Ohai::Config[:plugin_path] is set. Ohai::Config[:plugin_path] is deprecated and will be removed in future releases of ohai. Use ohai.plugin_path in your configuration file to configure :plugin_path for ohai.
[2016-09-27T21:59:20+00:00] WARN: [DEPRECATION] Plugin at /etc/chef/ohai_plugins/nginx.rb is a version 6 plugin. Version 6 plugins will not be supported in future releases of Ohai. Please upgrade your plugin to version 7 plugin syntax. For more information visit here: docs.chef.io/ohai_custom.html
[2016-09-27T21:59:20+00:00] WARN: Ohai::Mixin::Command run_command is deprecated and will be removed in Ohai 9.0.0
[2016-09-27T21:59:20+00:00] WARN: Ohai::Mixin::Command popen4 is deprecated and will be removed in Ohai 9.0.0
[2016-09-27T21:59:20+00:00] INFO: ohai[reload_nginx] reloaded

    - re-run ohai and merge results into node attributes
Recipe: ohai::default
  * remote_directory[/etc/chef/ohai_plugins for cookbook ohai] action nothing[2016-09-27T21:59:20+00:00] INFO: Processing remote_directory[/etc/chef/ohai_plugins for cookbook ohai] action nothing (ohai::default line 32)
 (skipped due to action :nothing)
  * ohai[custom_plugins] action nothing[2016-09-27T21:59:20+00:00] INFO: Processing ohai[custom_plugins] action nothing (ohai::default line 46)
 (skipped due to action :nothing)
Recipe: nginx::package
  * package[nginx] action install[2016-09-27T21:59:20+00:00] INFO: Processing package[nginx] action install (nginx::package line 41)
[2016-09-27T21:59:20+00:00] WARN: Class Chef::Provider::Package does not declare 'provides :package'.
[2016-09-27T21:59:20+00:00] WARN: This will no longer work in Chef 13: you must use 'provides' to use the resource's DSL.

    ================================================================================
    Error executing action `install` on resource 'package[nginx]'
    ================================================================================

    NoMethodError
    -------------
    undefined method `version' for nil:NilClass

    Resource Declaration:
    ---------------------
    # In /chefinstall/local-mode-cache/cache/cookbooks/nginx/recipes/package.rb

     41: package node['nginx']['package_name'] do
     42:   options package_install_opts
     43:   notifies :reload, 'ohai[reload_nginx]', :immediately
     44:   not_if 'which nginx'
     45: end
     46: 

    Compiled Resource:
    ------------------
    # Declared in /chefinstall/local-mode-cache/cache/cookbooks/nginx/recipes/package.rb:41:in `from_file'

    package("nginx") do
      package_name "nginx"
      action [:install]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      declared_type :package
      cookbook_name "nginx"
      recipe_name "package"
      not_if "which nginx"
    end

    Platform:
    ---------
    x86_64-linux

[2016-09-27T21:59:20+00:00] INFO: Running queued delayed notifications before re-raising exception

Running handlers:
[2016-09-27T21:59:20+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-09-27T21:59:20+00:00] ERROR: Exception handlers complete
Chef Client failed. 5 resources updated in 04 seconds
[2016-09-27T21:59:20+00:00] FATAL: Stacktrace dumped to /chefinstall/local-mode-cache/cache/chef-stacktrace.out
[2016-09-27T21:59:20+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-09-27T21:59:20+00:00] ERROR: package[nginx] (nginx::package line 41) had an error: NoMethodError: undefined method `version' for nil:NilClass
[2016-09-27T21:59:20+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
jefflage commented 8 years ago

Update: I switched to FROM centos:latest] and I am not able to use the package resource to install nginx. However, it's failing now during service :action enable with the following:

 * service[nginx]: Service is not known to chkconfig.
    ================================================================================
    Error executing action `enable` on resource 'service[nginx]'
    ================================================================================

    Chef::Exceptions::Service
    -------------------------
    service[nginx]: Service is not known to chkconfig.

    Resource Declaration:
    ---------------------
    # In /chefinstall/local-mode-cache/cache/cookbooks/nginx/recipes/package.rb

     47: service 'nginx' do
     48:   supports :status => true, :restart => true, :reload => true
     49:   action   :enable
     50: end
     51: 

    Compiled Resource:
    ------------------
    # Declared in /chefinstall/local-mode-cache/cache/cookbooks/nginx/recipes/package.rb:47:in `from_file'

    service("nginx") do
      action [:enable]
      supports {:status=>true, :restart=>true, :reload=>true}
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      service_name "nginx"
      pattern "nginx"
      declared_type :service
      cookbook_name "nginx"
      recipe_name "package"
    end

    Platform:
    ---------
    x86_64-linux

[2016-09-29T16:56:08+00:00] INFO: Running queued delayed notifications before re-raising exception
miketheman commented 8 years ago

I can't account for some of those issues - but you can see from our CI settings what platforms are tested on the 3.0 rewrite branch.

tas50 commented 7 years ago

Thanks for opening this issue. Just today we merged the changes from the chef_nginx fork of this cookbook back to master here. It’s a pretty huge change set and includes over a year of active development that resulted in several major releases. I think there’s a very high chance that this issue has been resolved with that work and at this point I’m going to close this issue out. I’d encourage you to checkout the master branch and please open this issue back up if you’re still having the problem there.

Here’s the changes that were just merged in: https://github.com/chef-cookbooks/nginx/pull/435

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.