Sha256: e4f1e962068bcb39ce4652f21602a498a4c85c3d8ec20a909052e46dd04dee81
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
# # Copyright (c) 2014--2015 Red Hat Inc. # # This software is licensed to you under the GNU General Public License, # version 3 (GPLv3). There is NO WARRANTY for this software, express or # implied, including the implied warranties of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv3 # along with this software; if not, see http://www.gnu.org/licenses/gpl.txt # require 'smart_proxy_openscap/version' require 'smart_proxy_openscap/plugin_configuration' module Proxy::OpenSCAP class Plugin < ::Proxy::Plugin plugin :openscap, Proxy::OpenSCAP::VERSION http_rackup_path File.expand_path("http_config.ru", File.expand_path("../", __FILE__)) https_rackup_path File.expand_path("http_config.ru", File.expand_path("../", __FILE__)) default_settings :spooldir => '/var/spool/foreman-proxy/openscap', :openscap_send_log_file => File.join(APP_ROOT, 'logs/openscap-send.log'), :contentdir => File.join(APP_ROOT, 'openscap/content'), :reportsdir => File.join(APP_ROOT, 'openscap/reports'), :failed_dir => File.join(APP_ROOT, 'openscap/failed'), :tailoring_dir => File.join(APP_ROOT, 'openscap/tailoring') load_classes ::Proxy::OpenSCAP::PluginConfiguration load_dependency_injection_wirings ::Proxy::OpenSCAP::PluginConfiguration start_services :openscap_initializer end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smart_proxy_openscap-0.6.5 | lib/smart_proxy_openscap/openscap_plugin.rb |