summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-03-12 10:11:24 -0800
committerTim Smith <tsmith84@gmail.com>2021-03-12 10:11:24 -0800
commitd5a0b34e1ab9e8317d3804b8bc1b0885d4e68e48 (patch)
tree5e6629b7b8a70a1fd7e5ad6ee18c3b90c9c6896f
parent9ccb88a7660a0c6d3421851e74d483badbf67eee (diff)
downloadohai-pidora.tar.gz
Remove support for Pidora which is discontinuedpidora
Pidora is Fedora 18 and hasn't been updated since 2014. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/plugins/linux/platform.rb2
-rw-r--r--spec/unit/plugins/linux/platform_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb
index 9dd1cef1..8f886aed 100644
--- a/lib/ohai/plugins/linux/platform.rb
+++ b/lib/ohai/plugins/linux/platform.rb
@@ -149,7 +149,7 @@ Ohai.plugin(:Platform) do
"amazon"
when /suse/, /sles/, /opensuse/, /opensuseleap/, /sled/
"suse"
- when /fedora/, /pidora/, /arista_eos/
+ when /fedora/, /arista_eos/
# In the broadest sense: RPM-based, fedora-derived distributions which are not strictly re-compiled RHEL (if it uses RPMs, and smells more like redhat and less like
# SuSE it probably goes here).
"fedora"
diff --git a/spec/unit/plugins/linux/platform_spec.rb b/spec/unit/plugins/linux/platform_spec.rb
index 64976b8e..2a284ee1 100644
--- a/spec/unit/plugins/linux/platform_spec.rb
+++ b/spec/unit/plugins/linux/platform_spec.rb
@@ -182,7 +182,7 @@ describe Ohai::System, "Linux plugin platform" do
end
end
- %w{fedora pidora arista_eos}.each do |p|
+ %w{fedora arista_eos}.each do |p|
it "returns fedora for #{p} platform_family" do
expect(plugin.platform_family_from_platform(p)).to eq("fedora")
end