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

[osops-utils] apply_patches does not work as expected if the nova attribute is missing

Open git-harry opened this issue 10 years ago • 0 comments

By the looks of it if node['nova']['apply_patches'] does not exist patches will always be applied. This is because nil != false - https://github.com/rcbops-cookbooks/osops-utils/blob/master/libraries/patch.rb#L26

The spec tests are also incorrect.

git-harry avatar Mar 21 '14 09:03 git-harry