What model of the nginx cookbook are you the usage of? In v2.2.zero, i am getting a barely different hassle in which it downloads the new version and tries to collect – but it fails within the assemble step presumably because of wrong path records being used from the pre-present node facts.
-
bash[unarchive_source] action run[2014-09-15T21:21:48+00:00] data: Processing bash[unarchive_source] action run (nginx::source line 82)
[2014-09-15T21:21:48+00:00] info: bash[unarchive_source] ran efficaciously- execute "bash" "/tmp/chef-script20140915-20734-1lacceo" * bash[compile_nginx_source] movement run[2014-09-15T21:21:48+00:00] data: Processing bash[compile_nginx_source] motion run (nginx::supply line 97)
================================================================================
blunders executing actionrun
on resource ‘bash[compile_nginx_source]’Mixlib::ShellOut::ShellCommandFailed
predicted process to exit with [0], however acquired '1' ---- start output of "bash" "/tmp/chef-script20140915-20734-16zr4ti" ---- STDOUT: STDERR: /tmp/chef-script20140915-20734-16zr4ti: line 1: cd: nginx-1.6.1: No such file or directory ---- give up output of "bash" "/tmp/chef-script20140915-20734-16zr4ti" ---- Ran "bash" "/tmp/chef-script20140915-20734-16zr4ti" again 1 aid announcement: ---------------------
In /tmp/kitchen/cache/cookbooks/nginx/recipes/supply.rb
ninety seven: bash 'compile_nginx_source' do
98: cwd ::file.dirname(src_filepath)
ninety nine: code <<-EOH
a hundred: cd nginx-#{node['nginx']['source']['version']} &&
one hundred and one: ./configure #{node.run_state['nginx_configure_flags'].be part of(" ")} &&
102: make && make deploy
103: EOH
104:
one hundred and five: not_if do
106: nginx_force_recompile == fake &&
107: node.automatic_attrs['nginx'] &&
108: node.automatic_attrs['nginx']['version'] == node['nginx']['source']['version'] &&
109: node.automatic_attrs['nginx']['configure_arguments'].type == configure_flags.sort
110: give up
111:
112: notifies :restart, 'service[nginx]'
113: notifies :reload, 'ohai[reload_nginx]', :right away
114: give up