template within template? better not
[mirror/dsa-puppet.git] / modules / entropykey / manifests / init.pp
index bcc6ba1..8f91cf5 100644 (file)
@@ -11,8 +11,8 @@ class entropykey::provider {
             ;
         # our CRL expires after a while (2 or 4 weeks?), so we have
         # to restart stunnel so it loads the new CRL.
-        "/etc/cron.weekly/stunnel-ekey.conf":
-            content =>  "# This file is under puppet control\nenv -i /etc/init.d/stunnel4 restart puppet-ekeyd\n",
+        "/etc/cron.weekly/stunnel-ekey-restart":
+            content =>  "#!/bin/sh\n# This file is under puppet control\nenv -i /etc/init.d/stunnel4 restart puppet-ekeyd > /dev/null\n",
             mode => "555",
             ;
     }