diff options
author | Lamont Granquist <454857+lamont-granquist@users.noreply.github.com> | 2022-01-24 18:27:58 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2022-01-24 18:30:47 -0800 |
commit | 742b44153c03590ffa31e25caa5176a131ed0940 (patch) | |
tree | b48f66f3153dd8788522dd7cf502fe299c4548bb | |
parent | 5ce3f06038c8bcf2c047e10e8cb7c2472c17b62d (diff) | |
download | chef-742b44153c03590ffa31e25caa5176a131ed0940.tar.gz |
Update lib/chef/resource/lwrp_base.rb
Signed-off-by: Lance Albertson <lance@osuosl.org>
-rw-r--r-- | lib/chef/resource/lwrp_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/lwrp_base.rb b/lib/chef/resource/lwrp_base.rb index b27839d567..4cfbc956bb 100644 --- a/lib/chef/resource/lwrp_base.rb +++ b/lib/chef/resource/lwrp_base.rb @@ -54,7 +54,7 @@ class Chef resource_class.run_context = run_context resource_class.class_from_file(filename) - if !resource_class.unified_mode && !deprecated_class(resource_class) && cookbook_name != "chef_client_updater" + if !resource_class.unified_mode && !deprecated_class(resource_class) && cookbook_name.to_s != "chef_client_updater" Chef.deprecated :unified_mode, "The #{resource_class.resource_name} resource in the #{cookbook_name} cookbook should declare `unified_mode true`", filename end |