chef-ingredient
chef-ingredient copied to clipboard
Make chef-ingredient resilient to `reconfigure` failures
Scenario:
- I run my recipe that includes chef_ingredient as below. It installs the package but reconfigure fails.
- 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.