Sha256: b26b8935b6599b12a159ba7bf1b12d1b57af57bac40c1170465eed638a2e2e87

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 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/openscap_version'

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 => 'logs/openscap-send.log',
                     :contentdir => 'openscap/content',
                     :reportsdir => 'openscap/reports',
                     :failed_dir => 'openscap/failed'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
smart_proxy_openscap-0.5.3 lib/smart_proxy_openscap/openscap_plugin.rb
smart_proxy_openscap-0.5.1 lib/smart_proxy_openscap/openscap_plugin.rb
smart_proxy_openscap-0.5.0 lib/smart_proxy_openscap/openscap_plugin.rb