Closed majormoses closed 6 years ago
@majormoses took me a while for Chef 12 as it turns out I'm using more Chef 13/Ruby 2.4 features than I thought 🌵
Results on Ubuntu 16.04
(full destroy/converge for each Chef version with sensu_snippet
:create => :delete => :create
flow) :
Chef v14.0.190
:
Without fix:
:create
:delete
With fix:
:create
:delete
Chef v13.8.5
:
Without fix:
:create
:delete
With fix:
:create
:delete
Chef v12.22.3
:
Without fix:
:create
:delete
With fix:
:create
:delete
TLDR: the PR works as intended 💯
Thanks for testing!
released: https://supermarket.chef.io/cookbooks/sensu/versions/4.3.1
fixes #564
Signed-off-by: Ben Abrams me@benabrams.it
Description
Fixes issues with creating or modifying resources in chef 13, unsure if this breaks compatibility with chef 12 if so we can check the version of chef and depending on the version we can access the appropriate namespace.
Motivation and Context
564
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: