Puppet Class: katello::params

Inherits:
katello::globals
Defined in:
manifests/params.pp

Summary

An indirection layer for parameters

Overview

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

Parameters:

  • candlepin_host (Stdlib::Host) (defaults to: 'localhost')

    The host to run Candlepin as

  • candlepin_url (Stdlib::HTTPSUrl) (defaults to: "https://${candlepin_host}:${candlepin_port}/candlepin")

    The URL to connect to Candlepin

  • candlepin_oauth_key (String[1]) (defaults to: $katello::globals::candlepin_oauth_key)

    The oauth key for Candlepin

  • candlepin_oauth_secret (String[1]) (defaults to: $katello::globals::candlepin_oauth_secret)

    The oauth secret for Candlepin

  • postgresql_evr_package (String[1]) (defaults to: $katello::globals::postgresql_evr_package)

    The contextual package name for the PostgreSQL EVR extension

  • candlepin_port (Stdlib::Port) (defaults to: 23443)
  • candlepin_client_keypair_group (String[1]) (defaults to: 'foreman')
  • meta_package (String[0]) (defaults to: 'katello')


21
22
23
24
25
26
27
28
29
30
# File 'manifests/params.pp', line 21

class katello::params (
  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::Port $candlepin_port = 23443,
  Stdlib::HTTPSUrl $candlepin_url = "https://${candlepin_host}:${candlepin_port}/candlepin",
  String[1] $candlepin_client_keypair_group = 'foreman',
  String[1] $postgresql_evr_package = $katello::globals::postgresql_evr_package,
  String[0] $meta_package = 'katello',
) inherits katello::globals {}