chef-ingredient icon indicating copy to clipboard operation
chef-ingredient copied to clipboard

Make chef-ingredient resilient to `reconfigure` failures

Open sersut opened this issue 9 years ago • 0 comments

Scenario:

  1. I run my recipe that includes chef_ingredient as below. It installs the package but reconfigure fails.
  2. I do some things in my recipe and run it again.
chef_ingredient 'reporting' do
  notifies :reconfigure, 'chef_ingredient[reporting]'
end

Actual:

  • reconfigure doesn't run because chef_ingredient is not updated.

Expected:

  • reconfigure runs again since the first run was not successful.

sersut avatar Aug 07 '15 21:08 sersut