we need to make sure that the stunnel package is installed before any attempt to...
authorMicah Anderson <micah@riseup.net>
Tue, 2 Jul 2013 20:43:41 +0000 (16:43 -0400)
committerMicah Anderson <micah@riseup.net>
Tue, 2 Jul 2013 20:43:41 +0000 (16:43 -0400)
manifests/init.pp

index 89788ed..0d960c0 100644 (file)
@@ -59,7 +59,7 @@ class stunnel (
 
   exec { 'refresh_stunnel':
     refreshonly => true,
-    require     => File[$stunnel_compdir],
+    require     => [ Package['stunnel'], File[$stunnel_compdir] ],
     subscribe   => File[$stunnel_compdir],
     command     => "${stunnel_staging}/bin/refresh_stunnel.sh"
   }