Revision 5f2f0557
Added by Ivan Necas about 10 years ago
manifests/apache.pp | ||
---|---|---|
$deploy = $::certs::deploy,
|
||
|
||
$ca = $::certs::default_ca,
|
||
$apache_cert_name = $::certs::params::apache_cert_name,
|
||
|
||
) inherits certs::params {
|
||
|
||
include ::apache
|
||
|
||
$apache_cert = "${certs::pki_dir}/certs/${apache_cert_name}.crt"
|
||
$apache_key = "${certs::pki_dir}/private/${apache_cert_name}.key"
|
||
$apache_cert_name = "${hostname}-apache"
|
||
$apache_cert = "${certs::pki_dir}/certs/katello-apache.crt"
|
||
$apache_key = "${certs::pki_dir}/private/katello-apache.key"
|
||
|
||
cert { $apache_cert_name:
|
||
ensure => present,
|
||
hostname => $::certs::node_fqdn,
|
||
hostname => $hostname,
|
||
country => $::certs::country,
|
||
state => $::certs::state,
|
||
city => $::certs::sity,
|
||
... | ... | |
|
||
if $deploy {
|
||
|
||
include ::apache
|
||
|
||
Cert[$apache_cert_name] ~>
|
||
pubkey { $apache_cert:
|
||
ensure => present,
|
Also available in: Unified diff
Refs #5423 - fix certs generation for capsule usage
Also, disable setting of katello repo for the certs till we support
package uploads again.