Index: modules/notificationserver/manifests/init.pp |
=================================================================== |
--- a/modules/notificationserver/manifests/init.pp |
+++ b/modules/notificationserver/manifests/init.pp |
@@ -28,6 +28,13 @@ |
require => Exec['fetch_notifications'], |
} |
+ cron {'generate_empty_notification_json': |
+ command => 'echo "{\"notifications\": [], \"version\": \"`date +\%Y\%m\%d\%H\%M`\"}" > /var/www/empty-notification.json', |
+ environment => ['MAILTO=admins@adblockplus.org,root'], |
+ minute => '*', |
+ user => 'nginx', |
+ } |
+ |
include spawn-fcgi |
package {'python-flup':} |