summaryrefslogtreecommitdiff
path: root/puppet/modules/stunnel/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/stunnel/manifests/init.pp')
-rw-r--r--puppet/modules/stunnel/manifests/init.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/puppet/modules/stunnel/manifests/init.pp b/puppet/modules/stunnel/manifests/init.pp
index f38a2020..544ac04e 100644
--- a/puppet/modules/stunnel/manifests/init.pp
+++ b/puppet/modules/stunnel/manifests/init.pp
@@ -48,7 +48,8 @@ class stunnel (
recurse => true,
purge => true,
force => true,
- source => undef;
+ source => undef,
+ notify => Exec['refresh_stunnel'];
"${stunnel_staging}/bin/refresh_stunnel.sh":
owner => 0,
@@ -58,6 +59,7 @@ class stunnel (
}
exec { 'refresh_stunnel':
- command => "${stunnel_staging}/bin/refresh_stunnel.sh"
+ command => "${stunnel_staging}/bin/refresh_stunnel.sh",
+ require => [ Package['stunnel4'], File['/etc/default/stunnel4'] ]
}
}