summaryrefslogtreecommitdiff
path: root/puppet/modules/site_stunnel/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-09-19 12:44:30 +0200
committervarac <varacanero@zeromail.org>2013-09-19 12:48:24 +0200
commitd7aca479f254ce4cbe58ee2a2197ea5c6d02de53 (patch)
treed360399a9e0f7b888c179784324398b756f1f05c /puppet/modules/site_stunnel/manifests
parent12d22a47ad529f02e0c6d27b25f7ddaa17a32727 (diff)
Depend services on deployment of default key, cert and ca (Feature #3838)
Diffstat (limited to 'puppet/modules/site_stunnel/manifests')
-rw-r--r--puppet/modules/site_stunnel/manifests/clients.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/modules/site_stunnel/manifests/clients.pp b/puppet/modules/site_stunnel/manifests/clients.pp
index ed766e1a..b2c8db1f 100644
--- a/puppet/modules/site_stunnel/manifests/clients.pp
+++ b/puppet/modules/site_stunnel/manifests/clients.pp
@@ -21,6 +21,10 @@ define site_stunnel::clients (
verify => $verify,
pid => "/var/run/stunnel4/${pid}.pid",
rndfile => $rndfile,
- debuglevel => $debuglevel
+ debuglevel => $debuglevel,
+ require => [
+ Class['Site_config::X509::Cert_key'],
+ Class['Site_config::X509::Ca'] ];
+
}
}