From 6ef7f836afc2766463ad5a25a7e2cfcd04159c2b Mon Sep 17 00:00:00 2001 From: Nick Carboni Date: Thu, 28 Sep 2017 16:57:21 -0400 Subject: [PATCH] Also add platform to ssg_available? method --- lib/gems/pending/appliance_console/scap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gems/pending/appliance_console/scap.rb b/lib/gems/pending/appliance_console/scap.rb index 0bb25c4ec..5ae5223a6 100644 --- a/lib/gems/pending/appliance_console/scap.rb +++ b/lib/gems/pending/appliance_console/scap.rb @@ -31,7 +31,7 @@ def packages_installed? if !LinuxAdmin::Scap.openscap_available? say("OpenSCAP has not been installed") false - elsif !LinuxAdmin::Scap.ssg_available? + elsif !LinuxAdmin::Scap.ssg_available?("rhel7") say("SCAP Security Guide has not been installed") false else