summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-03-03 10:33:47 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-03-03 10:33:47 -0800
commit9927c7f18b4ca46a538d273bcdb7b494bd3c98c0 (patch)
tree64cfd4c94bb04762dc9cd0be4dcce047b04787de
parent9cef0d63331bf6ce2921151adbd1dc53199c25d2 (diff)
downloadohai-lcg/amazon-to-fedora.tar.gz
fix the amazon platform_family testslcg/amazon-to-fedora
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/unit/plugins/linux/platform_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/plugins/linux/platform_spec.rb b/spec/unit/plugins/linux/platform_spec.rb
index 5066d209..3070bca5 100644
--- a/spec/unit/plugins/linux/platform_spec.rb
+++ b/spec/unit/plugins/linux/platform_spec.rb
@@ -1,6 +1,6 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
-# Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
+# Copyright:: Copyright (c) 2008-2017, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,7 +113,7 @@ describe Ohai::System, "Linux plugin platform" do
@plugin[:lsb][:release] = "2011.09"
@plugin.run
expect(@plugin[:platform]).to eq("amazon")
- expect(@plugin[:platform_family]).to eq("rhel")
+ expect(@plugin[:platform_family]).to eq("fedora")
end
it "should set platform to scientific when [:lsb][:id] contains ScientificSL" do
@@ -358,7 +358,7 @@ OS_RELEASE
it "should set the platform_family to rhel if the LSB name is amazon-ish" do
@plugin[:lsb][:id] = "Amazon"
@plugin.run
- expect(@plugin[:platform_family]).to eq("rhel")
+ expect(@plugin[:platform_family]).to eq("fedora")
end
it "should set the platform_family to fedora if the LSB name is fedora-ish" do