diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-03-12 11:13:21 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-03-12 11:13:21 -0800 |
commit | 28eb7a0894e4d2f8b590472aaa3145e90caecece (patch) | |
tree | 9de3ced72c8a0d67fa7a0e8a72c11bc7fcb448db | |
parent | 9ccb88a7660a0c6d3421851e74d483badbf67eee (diff) | |
download | ohai-antergos.tar.gz |
Remove support for discontinued antergos distroantergos
This distro is now discontinued with the last release having shipped in
2019
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/ohai/plugins/linux/platform.rb | 2 | ||||
-rw-r--r-- | spec/unit/plugins/linux/platform_spec.rb | 2 |
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 |