Broken converge on debian - missing execute[apt-get update] block
Offending line default.rb:
notifies :run, 'execute[apt-get update]', :before
execute "apt-get update" do action :nothing end
When run on a debian system now, the following error occurs during the converge phase of the cookbook:
[2017-06-12T22:00:18+00:00] ERROR: resource apt_package[gitlab-ce] is configured to notify resource execute[apt-get update] with action run, but execute[apt-get update] cannot be found in the resource collection. apt_package[gitlab-ce] is defined in /tmp/kitchen/cache/cookbooks/omnibus-gitlab/recipes/default.rb:29:in `from_file'
To workaround the issue, I've included the execute block in my wrapper cookbook, like so:
execute 'apt-get update' do action :nothing end include_recipe 'omnibus-gitlab::default'