Package install breaks with Chef client 12.1.0
Well this is strange...
================================================================================
Error executing action `install` on resource 'yum_package[gitlab]'
================================================================================
Chef::Exceptions::Package
-------------------------
No candidate version available for gitlab
Resource Declaration:
---------------------
# In /tmp/kitchen/cache/cookbooks/gitlab_omnibus/recipes/default.rb
30: package 'gitlab' do
31: source package_path unless node['gitlab_omnibus']['install_package_from_repo']
32: action :install
33: # apt can't handle a source attribute
34: provider Chef::Provider::Package::Dpkg if node['platform'] =~ /debian|ubuntu/
35: # reconfigure on upgrade (won't have effect on 1st install)
36: notifies :run, 'execute[/usr/bin/gitlab-ctl reconfigure]', :delayed
37: end
38:
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cache/cookbooks/gitlab_omnibus/recipes/default.rb:30:in `from_file'
yum_package("gitlab") do
action [:install]
retries 0
retry_delay 2
default_guard_interpreter :default
package_name "gitlab"
source "/tmp/kitchen/cache/gitlab-7.8.1_omnibus-1.el6.x86_64.rpm"
version "7.8.1_omnibus-1.el6"
timeout 900
flush_cache {:before=>false, :after=>false}
declared_type :package
cookbook_name "gitlab_omnibus"
recipe_name "default"
end
[2015-03-04T23:07:49+00:00] ERROR: Converge failed with error message yum_package[gitlab] (gitlab_omnibus::default line 30) had an error: Chef::Exceptions::Package: No candidate version available for gitlab