chef-cookbooks
chef-cookbooks copied to clipboard
[osops-utils] apply_patches does not work as expected if the nova attribute is missing
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.