summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_config')
-rw-r--r--puppet/modules/site_config/manifests/params.pp1
-rw-r--r--puppet/modules/site_config/manifests/x509.pp4
2 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/params.pp b/puppet/modules/site_config/manifests/params.pp
index b434af90..008a4e1f 100644
--- a/puppet/modules/site_config/manifests/params.pp
+++ b/puppet/modules/site_config/manifests/params.pp
@@ -24,6 +24,7 @@ class site_config::params {
}
$ca_name = 'leap_ca'
+ $client_ca_name = 'leap_client_ca'
$ca_bundle_name = 'leap_ca_bundle'
$cert_name = 'leap'
}
diff --git a/puppet/modules/site_config/manifests/x509.pp b/puppet/modules/site_config/manifests/x509.pp
index 2660c523..8eca97e7 100644
--- a/puppet/modules/site_config/manifests/x509.pp
+++ b/puppet/modules/site_config/manifests/x509.pp
@@ -18,6 +18,10 @@ class site_config::x509 {
content => $ca
}
+ x509::ca { $site_config::params::client_ca_name:
+ content => $client_ca
+ }
+
x509::ca { $site_config::params::ca_bundle_name:
content => "${ca}${client_ca}"
}