Puppet Class: certs::foreman_proxy_content::params

Inherited by:
certs::foreman_proxy_content
Defined in:
manifests/foreman_proxy_content/params.pp

Summary

Defaults for certs::foreman_proxy_content::params

Overview

This class exists because puppet-strings generates a string “[]” rather than an empty array in json for defaults. Kafo also can’t handle the hash $facts even though it’s the current recommended default. By adding indirection to a class we can work around this.



8
9
10
11
# File 'manifests/foreman_proxy_content/params.pp', line 8

class certs::foreman_proxy_content::params {
  $parent_fqdn = $facts['networking']['fqdn']
  $foreman_proxy_cname = []
}