diff options
author | varac <varacanero@zeromail.org> | 2016-06-14 21:19:31 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-06-14 21:19:31 +0200 |
commit | 31f27c8ca0117e7ccb75aa3e6919b3467627a93c (patch) | |
tree | 77dc1e5fc770d082b411c46da18d27ea5df01694 /puppet/modules/stunnel/manifests/init.pp | |
parent | 9be18eb2681eb5c9047782eaf4e0c6b8c03ce6e6 (diff) |
git subrepo clone --force https://leap.se/git/puppet_stunnel puppet/modules/stunnel
subrepo:
subdir: "puppet/modules/stunnel"
merged: "523612f"
upstream:
origin: "https://leap.se/git/puppet_stunnel"
branch: "master"
commit: "523612f"
git-subrepo:
version: "0.3.0"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "cb2995b"
Diffstat (limited to 'puppet/modules/stunnel/manifests/init.pp')
-rw-r--r-- | puppet/modules/stunnel/manifests/init.pp | 6 |
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'] ] } } |