Skip to content

Commit

Permalink
Also add platform to ssg_available? method
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonin committed Sep 28, 2017
1 parent 15da358 commit 6ef7f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gems/pending/appliance_console/scap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ef7f83

Please sign in to comment.