summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-09-18 16:50:15 +0200
committervarac <varacanero@zeromail.org>2013-09-18 17:44:20 +0200
commit869b9e26475180d41513d036a0600ee433da1b77 (patch)
treeb413cfd5cc5916e969e20fb4ff242dab1e9e87c6 /puppet
parent3decab555397f01e757a0b8a1a5af3648cf49bd0 (diff)
deploy client_ca (#3833)
Diffstat (limited to 'puppet')
-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}"
}