summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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