Index: modules/notificationserver/manifests/init.pp |
diff --git a/modules/notificationserver/manifests/init.pp b/modules/notificationserver/manifests/init.pp |
index 37a53712e98ac063b627014f8ae912c04e675a7d..c7bfe22c89a38eeb792a776784de130ced68491d 100644 |
--- a/modules/notificationserver/manifests/init.pp |
+++ b/modules/notificationserver/manifests/init.pp |
@@ -21,6 +21,14 @@ class notificationserver($is_default = false) { |
onlyif => 'test ! -d /opt/notifications' |
} |
+ cron {'update_notifications': |
+ command => 'hg pull -q -u -R /opt/notifications', |
+ environment => ['MAILTO=admins@adblockplus.org,root'], |
+ minute => '*/5', |
+ user => 'nginx', |
+ require => Exec["fetch_sitescripts"], |
Fred
2015/08/10 11:46:46
I guess you meant
require => Exec["fetch_notificat
mathias
2015/08/10 12:00:02
Thank you! Classic copy+paste issue that worked be
|
+ } |
+ |
include spawn-fcgi |
package {'python-flup':} |