summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nickserver/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-09-19 12:19:00 +0200
committervarac <varacanero@zeromail.org>2013-09-19 12:19:00 +0200
commit1ce6cb5a30c5ee73d6474ac9c1bbd4c7819d9a73 (patch)
treece7d548ec62a5d8107433318413a1e2de361c9c8 /puppet/modules/site_nickserver/manifests
parente182d12c72743491805a3873e8b6cd804fe5394c (diff)
only deploy x509 stuff for nodes if it existes in hiera (Feature #3875)
Diffstat (limited to 'puppet/modules/site_nickserver/manifests')
-rw-r--r--puppet/modules/site_nickserver/manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/site_nickserver/manifests/init.pp b/puppet/modules/site_nickserver/manifests/init.pp
index 45503d8a..84b07e77 100644
--- a/puppet/modules/site_nickserver/manifests/init.pp
+++ b/puppet/modules/site_nickserver/manifests/init.pp
@@ -36,6 +36,11 @@ class site_nickserver {
# temporarily for now:
$domain = hiera('domain')
$address_domain = $domain['full_suffix']
+
+
+ include site_config::x509::cert_key
+ include site_config::x509::ca
+
$x509 = hiera('x509')
$x509_key = $x509['key']
$x509_cert = $x509['cert']