From b0dc7c84b5f55aec12d7d65da812037913d9dbee Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 9 Dec 2014 16:24:22 -0500 Subject: add dependency on the stunnel service so refresh_stunnel is not run until the service has been started --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 0d960c0..c5ad70b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -59,7 +59,7 @@ class stunnel ( exec { 'refresh_stunnel': refreshonly => true, - require => [ Package['stunnel'], File[$stunnel_compdir] ], + require => [ Service['stunnel'], Package['stunnel'], File[$stunnel_compdir] ], subscribe => File[$stunnel_compdir], command => "${stunnel_staging}/bin/refresh_stunnel.sh" } -- cgit v1.2.3