summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/linux/platform_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-26 18:41:09 -0800
committerTim Smith <tsmith@chef.io>2018-11-26 18:41:09 -0800
commit147a3c42edec04862d95405515bcbe8c30c087bb (patch)
treeec375b1acdd79692f6fe927e250868b19e90b95d /spec/unit/plugins/linux/platform_spec.rb
parent11e73519f412440656b0f451c0bf8675ed0fa8d4 (diff)
downloadohai-147a3c42edec04862d95405515bcbe8c30c087bb.tar.gz
Rely on os-release for Mint and Raspbian
Nothing supported here lacks os-release files Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/plugins/linux/platform_spec.rb')
-rw-r--r--spec/unit/plugins/linux/platform_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/plugins/linux/platform_spec.rb b/spec/unit/plugins/linux/platform_spec.rb
index b14cc55f..786c306c 100644
--- a/spec/unit/plugins/linux/platform_spec.rb
+++ b/spec/unit/plugins/linux/platform_spec.rb
@@ -271,7 +271,6 @@ OS_DATA
allow(File).to receive(:exist?).with("/etc/enterprise-release").and_return(have_enterprise_release)
allow(File).to receive(:exist?).with("/etc/oracle-release").and_return(have_oracle_release)
allow(File).to receive(:exist?).with("/etc/parallels-release").and_return(have_parallels_release)
- allow(File).to receive(:exist?).with("/usr/bin/raspi-config").and_return(have_raspi_config)
allow(File).to receive(:exist?).with("/etc/os-release").and_return(have_os_release)
allow(File).to receive(:exist?).with("/etc/f5-release").and_return(have_f5_release)
allow(File).to receive(:exist?).with("/usr/lib/os-release").and_return(have_usr_lib_os_release)