diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-26 13:18:50 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-29 10:10:34 -0700 |
commit | a59fe3b8e77cd6a349a35e2576c6cf32d867d4ed (patch) | |
tree | b7ccffc3693566febd4e8ceb27ab4b5e0a28e8ac | |
parent | e8822955c5ece465615fa2e164989e248bba2dbd (diff) | |
download | chef-a59fe3b8e77cd6a349a35e2576c6cf32d867d4ed.tar.gz |
Remove the deprecated ohai_name property from the ohai resourceohai_name
This did nothing and we deprecated it already.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/ohai.rb | 4 | ||||
-rw-r--r-- | spec/unit/resource/ohai_spec.rb | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/chef/resource/ohai.rb b/lib/chef/resource/ohai.rb index da221170c3..b5cd97cae0 100644 --- a/lib/chef/resource/ohai.rb +++ b/lib/chef/resource/ohai.rb @@ -27,10 +27,6 @@ class Chef description "Use the ohai resource to reload the Ohai configuration on a node. This allows recipes that change system attributes (like a recipe that adds a user) to refer to those attributes later on during the chef-client run." - property :ohai_name, - deprecated: true, - name_property: true, introduced: "12.17" - property :plugin, String, description: "The name of an Ohai plugin to be reloaded. If this property is not specified, the chef-client will reload all plugins." diff --git a/spec/unit/resource/ohai_spec.rb b/spec/unit/resource/ohai_spec.rb index a18929da15..d0a8f7a77e 100644 --- a/spec/unit/resource/ohai_spec.rb +++ b/spec/unit/resource/ohai_spec.rb @@ -26,10 +26,6 @@ describe Chef::Resource::Ohai do expect(resource.resource_name).to eql(:ohai) end - it "the ohai_name property is the name_property" do - expect(resource.ohai_name).to eql("fakey_fakerton") - end - it "sets the default action as :reload" do expect(resource.action).to eql([:reload]) end |