summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-09-13 14:17:20 +0200
committervarac <varacanero@zeromail.org>2013-09-13 14:45:27 +0200
commit4d58a02c83baf0ce0a9ecb349d998aa3dad9493f (patch)
treef97035518f8deb3ff3f20bc4ef54ad398f78034d /puppet/modules
parentfcbf7c0b4df14149269b646b5ac8e66acd63647e (diff)
deploy default x509::ca leap_ca in site_config::default (#3817)
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_config/manifests/default.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/default.pp b/puppet/modules/site_config/manifests/default.pp
index 0a4e75b6..dd0d37f7 100644
--- a/puppet/modules/site_config/manifests/default.pp
+++ b/puppet/modules/site_config/manifests/default.pp
@@ -55,4 +55,15 @@ class site_config::default {
include site_squid_deb_proxy::client
}
+ # Set up leap ca
+ $x509 = hiera('x509')
+ $ca = $x509['ca_cert']
+ $ca_name = 'leap_ca'
+
+ x509::ca { $ca_name:
+ content => $ca,
+ before => [
+ Class['Site_openvpn::Keys'],
+ Class['Site_stunnel'] ]
+ }
}