Project

General

Profile

« Previous | Next » 

Revision db682119

Added by Evgeni Golov over 7 years ago

refs #15931 - allow passing the cname parameter when generating certs (#120)

  • refs #15931 - allow passing the cname parameter to all cert classes

this enables Kafo to set the subjectAltName of the certificates via
--certs-node-cname. The option can be given multiple times to add
multple cnames.

this enables Kafo to set the subjectAltName of the certificates via
--foreman-proxy-cname. The option can be given multiple times to add
multple cnames.

View differences:

manifests/qpid_router.pp
# Constains certs specific configurations for qpid dispatch router
class certs::qpid_router(
$hostname = $::certs::node_fqdn,
$cname = $::certs::cname,
$generate = $::certs::generate,
$regenerate = $::certs::regenerate,
$deploy = $::certs::deploy,
......
cert { $server_keypair:
ensure => present,
hostname => $hostname,
cname => $cname,
country => $::certs::country,
state => $::certs::state,
city => $::certs::city,
......
cert { $client_keypair:
ensure => present,
hostname => $hostname,
cname => $cname,
country => $::certs::country,
state => $::certs::state,
city => $::certs::city,

Also available in: Unified diff