Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/notificationserver/manifests/init.pp

Issue 29325787: Issue 2982 - Don't send notifications to users that were in the browser notification test (Closed)
Patch Set: Created Sept. 3, 2015, 9:14 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/notificationserver/files/site.conf ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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':}
« no previous file with comments | « modules/notificationserver/files/site.conf ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld