blob: 21d57445e0155c5265f9a099ec1d15aba53aef0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class site_config::x509::commercial::ca {
include ::site_config::params
$x509 = hiera('x509')
$ca = $x509['commercial_ca_cert']
#
# CA cert might be empty, if it was bundled with 'commercial_cert'
# instead of specified separately.
#
if ($ca) {
x509::ca { $site_config::params::commercial_ca_name:
content => $ca
}
}
}
|