Skip to content

Commit

Permalink
Add a foreman-proxy scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Jan 7, 2022
1 parent b892db8 commit a49f044
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ MANDIR = ENV['MANDIR'] || "#{DATAROOTDIR}/man"
PKGDIR = ENV['PKGDIR'] || File.expand_path('pkg')

if BUILD_KATELLO
SCENARIOS = ['foreman', 'foreman-proxy-content', 'katello'].freeze
SCENARIOS = ['foreman', 'foreman-proxy', 'foreman-proxy-content', 'katello'].freeze
CERTS_SCENARIOS = ['foreman-proxy-certs'].freeze
else
SCENARIOS = ['foreman'].freeze
SCENARIOS = ['foreman', 'foreman-proxy'].freeze
CERTS_SCENARIOS = [].freeze
end

Expand Down
36 changes: 36 additions & 0 deletions config/foreman-proxy-anwers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Format:
# <classname>: false - don't include this class
# <classname>: true - include and use the defaults
# <classname>:
# <param>: <value> - include and override the default(s)
#
# Every support plugin/compute class is listed, so that it
# shows up in the interactive menu
#
# See params.pp in each class for what options are available
---
foreman_proxy:
http: true
registration: true
templates: true
foreman_proxy::plugin::acd: false
foreman_proxy::plugin::ansible: false
foreman_proxy::plugin::chef: false
foreman_proxy::plugin::dhcp::infoblox: false
foreman_proxy::plugin::dhcp::remote_isc: false
foreman_proxy::plugin::discovery: false
foreman_proxy::plugin::dns::infoblox: false
foreman_proxy::plugin::dns::powerdns: false
foreman_proxy::plugin::dynflow: false
foreman_proxy::plugin::monitoring: false
foreman_proxy::plugin::omaha: false
foreman_proxy::plugin::openscap: false
foreman_proxy::plugin::remote_execution::ssh: false
foreman_proxy::plugin::reports: false
foreman_proxy::plugin::salt: false
foreman_proxy::plugin::shellhooks: false
puppet:
server: true
server_jvm_extra_args:
- "-Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger"
- "-XX:ReservedCodeCacheSize=512m"
1 change: 1 addition & 0 deletions config/foreman-proxy.migrations
27 changes: 27 additions & 0 deletions config/foreman-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
:name: Foreman Proxy
:description: Install a stand-alone Foreman Proxy

:log_dir: './_build/'
:log_name: 'foreman-proxy.log'
:log_level: DEBUG
:verbose: true
:verbose_log_level: notice

:answer_file: ./config/foreman-proxy-answers.yaml
:installer_dir: .
:module_dirs: ./_build/modules
:parser_cache_path: ./_build/parser_cache/foreman-proxy.yaml
:hiera_config: ./config/foreman-hiera.yaml

:order:
- foreman_proxy
- puppet
:low_priority_modules:
- foreman_proxy_plugin

# If using the Debian ruby-kafo package, uncomment this
# :kafo_modules_dir: /usr/lib/ruby/vendor_ruby/kafo/modules

# Unused, but remains present for older config migrations
:mapping: {}

0 comments on commit a49f044

Please sign in to comment.