summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-04-24 13:10:25 -0400
committerMicah Anderson <micah@leap.se>2014-04-24 13:10:25 -0400
commit18ae83d105bfa5c173d00d2fb17b0b72d42205bc (patch)
treee5194c8d57331e2cbc3cfbfc33e32d4bb7c72b27 /puppet/modules
parentb5245481bbc1fddfd1b8e6d97e8a07a20d35de6b (diff)
change stunnel::service to 'subscribe' instead of 'require' the X509
cert/key. This has the same effect of 'require' because both make sure that the mentioned resource(s) will be applied before this resource, but subscribe will cause this resource to refresh anytime the subscribed resources change (#4342) Change-Id: I9470bb36f135b821b67a1da70c472d7687b08718
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_stunnel/manifests/clients.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_stunnel/manifests/clients.pp b/puppet/modules/site_stunnel/manifests/clients.pp
index 837665a3..b75c9ac3 100644
--- a/puppet/modules/site_stunnel/manifests/clients.pp
+++ b/puppet/modules/site_stunnel/manifests/clients.pp
@@ -22,7 +22,7 @@ define site_stunnel::clients (
pid => "/var/run/stunnel4/${pid}.pid",
rndfile => $rndfile,
debuglevel => $debuglevel,
- require => [
+ subscribe => [
Class['Site_config::X509::Key'],
Class['Site_config::X509::Cert'],
Class['Site_config::X509::Ca'] ];