Project

General

Profile

« Previous | Next » 

Revision 22aff281

Added by Dominic Cleal over 11 years ago

Add SSL and trusted hosts configuration options

Defaults to SSL enabled, using Puppet certificates and key

View differences:

manifests/config.pp
class foreman_proxy::config {
# Ensure SSL certs from the puppetmaster are available
# Relationship is duplicated there as defined() is parse-order dependent
if $foreman_proxy::ssl and defined(Class['puppet::server::config']) {
Class['puppet::server::config'] -> Class['foreman_proxy::config']
}
if $foreman_proxy::puppetca { include foreman_proxy::puppetca }
if $foreman_proxy::tftp { include foreman_proxy::tftp }

Also available in: Unified diff