Atalanta / cucumber-chef

Framework for test-driven infrastructure development
http://cucumber-chef.org
Apache License 2.0
265 stars 55 forks source link

Cucumber-chef setup hangs #128

Closed metalsok closed 11 years ago

metalsok commented 11 years ago

using cc-chef-repo with c1.medium machine so i guess it is not a memory issue.. Any help is appreciated!

Starting Chef Client, version 11.4.4 Compiling Cookbooks...

Recipe Compile Error in /tmp/chef-solo/cookbooks/chef-server/recipes/default.rb

RuntimeError

Could not locate chef-server package matching version 'latest' for node.

Cookbook Trace:

/tmp/chef-solo/cookbooks/chef-server/recipes/default.rb:29:in `from_file'

Relevant File Content:

/tmp/chef-solo/cookbooks/chef-server/recipes/default.rb:

22: node['chef-server']['prereleases'], 23: node['chef-server']['nightlies']) 24: unless omnibus_package 25: err_msg = "Could not locate chef-server" 26: err_msg << " pre-release" if node['chef-server']['prereleases'] 27: err_msg << " nightly" if node['chef-server']['nightlies'] 28: err_msg << " package matching version '#{node['chef-server']['version']}' for node." 29>> raise err_msg 30: end 31: else 32: omnibus_package = node['chef-server']['package_file'] 33: end 34:
35: package_name = ::File.basename(omnibus_package) 36: package_local_path = "#{Chef::Config[:file_cache_path]}/#{package_name}" 37:
38: # omnibus_package is remote (ie a URI) let's download it

Chef Client failed. 0 resources updated

zpatten commented 11 years ago

I've seen this a few times before; I'll try to dig up the cause for you.

metalsok commented 11 years ago

Thank you for your reply , managed to solve that one by changing the :version => "latest" to :version => "10.24.0". in the cucumber-chef config.rb so the chef_pre_11 changed from false to true. noob mistake i guess!

zpatten commented 11 years ago

No worries; I'm gonna close this out; feel free to reopen it if you are still having issues.