diff options
author | Tim Smith <tsmith@chef.io> | 2017-07-14 16:41:49 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-11-28 15:02:28 -0800 |
commit | d6162b69002e5773c9078da5a8a27e545da9a98c (patch) | |
tree | dc0d292852d35be6d361dadd502120d965e8a36c /spec/unit/plugins/cloud_spec.rb | |
parent | 629ae2a25a43ef6625b53aa9ba54dc32fca9cc78 (diff) | |
download | ohai-d6162b69002e5773c9078da5a8a27e545da9a98c.tar.gz |
Remove cloud_v2 and filesystem2 attributesremove_old_attributes
We made cloud_v2 and filesystem2 the default cloud and filesystem
plugins in Chef 13. For backwards compatibility we wrote the data out to
both locations, which bloated the node object size significantly. We've
deprecated the legacy attributes and this removes them. Chef servers
everywhere will thank us.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/plugins/cloud_spec.rb')
-rw-r--r-- | spec/unit/plugins/cloud_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/unit/plugins/cloud_spec.rb b/spec/unit/plugins/cloud_spec.rb index ae9de7b3..6cd8497c 100644 --- a/spec/unit/plugins/cloud_spec.rb +++ b/spec/unit/plugins/cloud_spec.rb @@ -88,18 +88,6 @@ describe Ohai::System, "plugin cloud" do @plugin[:digital_ocean] = nil @plugin.run expect(@plugin[:cloud]).to be_nil - expect(@plugin[:cloud_v2]).to be_nil - end - end - - describe "with a cloud mash" do - before do - @plugin[:ec2] = Mash.new - end - - it "populates cloud public ip" do - @plugin.run - expect(@plugin[:cloud]).to eq(@plugin[:cloud_v2]) end end |