summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-03-12 14:39:20 -0800
committerGitHub <noreply@github.com>2021-03-12 14:39:20 -0800
commitb7693e4bac2783589bbae50aa785606a9aaaa0f3 (patch)
tree9de3ced72c8a0d67fa7a0e8a72c11bc7fcb448db
parent9ccb88a7660a0c6d3421851e74d483badbf67eee (diff)
parent28eb7a0894e4d2f8b590472aaa3145e90caecece (diff)
downloadohai-b7693e4bac2783589bbae50aa785606a9aaaa0f3.tar.gz
Merge pull request #1634 from chef/antergos
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..b9c94245 100644
--- a/lib/ohai/plugins/linux/platform.rb
+++ b/lib/ohai/plugins/linux/platform.rb
@@ -159,7 +159,7 @@ Ohai.plugin(:Platform) do
"gentoo"
when /slackware/
"slackware"
- when /arch/, /manjaro/, /antergos/
+ when /arch/, /manjaro/
"arch"
when /exherbo/
"exherbo"
diff --git a/spec/unit/plugins/linux/platform_spec.rb b/spec/unit/plugins/linux/platform_spec.rb
index 64976b8e..0508f952 100644
--- a/spec/unit/plugins/linux/platform_spec.rb
+++ b/spec/unit/plugins/linux/platform_spec.rb
@@ -194,7 +194,7 @@ describe Ohai::System, "Linux plugin platform" do
end
end
- %w{arch manjaro antergos}.each do |p|
+ %w{arch manjaro}.each do |p|
it "returns arch for #{p} platform_family" do
expect(plugin.platform_family_from_platform(p)).to eq("arch")
end