Project

General

Profile

Download (1.26 KB) Statistics
| Branch: | Tag: | Revision:
# @summary An indirection layer for parameters
# @api private
#
# The goal of this class is to add all variables defined in katello::globals as
# class parameters. This will allow users of a distributed setup to override
# variables.
#
# This is a reversed model compared to the "regular" globals, but the
# parameters on globals are reserved for the foreman-installer
#
# @param candlepin_host
# The host to run Candlepin as
# @param candlepin_url
# The URL to connect to Candlepin
# @param pulp_url
# The URL to connect to Pulp
# @param crane_url
# The URL to connect to Crane
# @param qpid_hostname
# QPID's hostname to connect
# @param candlepin_oauth_key
# The oauth key for Candlepin
# @param candlepin_oauth_secret
# The oauth secret for Candlepin
class katello::params (
Stdlib::HTTPSUrl $pulp_url = "https://${facts['fqdn']}/pulp/api/v2/",
Stdlib::HTTPSUrl $crane_url = "https://${facts['fqdn']}:5000",
Stdlib::Host $qpid_hostname = 'localhost',
String[1] $candlepin_oauth_key = $katello::globals::candlepin_oauth_key,
String[1] $candlepin_oauth_secret = $katello::globals::candlepin_oauth_secret,
Stdlib::Host $candlepin_host = 'localhost',
Stdlib::HTTPSUrl $candlepin_url = "https://${candlepin_host}:8443/candlepin"
) inherits katello::globals {
}
(5-5/9)