class Proxy::OpenSCAP::ValidateSettings

Public Instance Methods

validate!(_settings) click to toggle source
# File lib/smart_proxy_openscap/validate_settings.rb, line 5
def validate!(_settings)
  _, _, _ = Open3.popen3(['oscap', '--help'])
rescue Errno::ENOENT
  raise FileNotFound.new("'oscap' utility is not available")
end