Project

General

Profile

« Previous | Next » 

Revision c755c61d

Added by Ewoud Kohl van Wijngaarden over 8 years ago

Use the correct puppet ssldir

With puppet 4 the vardir points to /opt/puppetlabs/puppet/cache which
results into the incorrect ssldir.

View differences:

manifests/params.pp
$log = '/var/log/foreman-proxy/proxy.log'
$log_level = 'ERROR'
$puppet_home = $puppet::params::vardir
# Enable listening on http
$http = false
$http_port = '8000'
......
# Enable SSL, ensure proxy is added with "https://" protocol if true
$ssl = true
$ssl_port = '8443'
$ssldir = $::puppet::params::ssldir
# If CA is specified, remote Foreman host will be verified
$ssl_ca = "${puppet_home}/ssl/certs/ca.pem"
$ssl_ca = "${ssldir}/certs/ca.pem"
# Used to communicate to Foreman
$ssl_cert = "${puppet_home}/ssl/certs/${lower_fqdn}.pem"
$ssl_key = "${puppet_home}/ssl/private_keys/${lower_fqdn}.pem"
$ssl_cert = "${ssldir}/certs/${lower_fqdn}.pem"
$ssl_key = "${ssldir}/private_keys/${lower_fqdn}.pem"
$foreman_ssl_ca = undef
$foreman_ssl_cert = undef
......
$autosign_location = "${etc}/puppet/autosign.conf"
$puppetca_cmd = $puppet::params::puppetca_cmd
$puppet_group = 'puppet'
$ssldir = "${puppet_home}/ssl"
$puppetdir = $puppet::params::dir
# puppetrun settings
metadata.json
},
{
"name": "theforeman/puppet",
"version_requirement": ">= 3.0.0 < 5.0.0"
"version_requirement": ">= 4.2.0 < 5.0.0"
},
{
"name": "theforeman/tftp",

Also available in: Unified diff