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

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

Issue 11705024: Added new notification servers (Closed)
Patch Set: Fixed typos Created Sept. 19, 2013, 12:42 p.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 | « manifests/vagrant.pp ('k') | modules/statsmaster/files/known_hosts » ('j') | 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
@@ -22,17 +22,20 @@ class notificationserver {
owner => nginx,
mode => 0755,
require => Package['nginx']
}
exec { "fetch_notifications":
command => "hg clone --noupdate https://hg.adblockplus.org/notifications /opt/notifications && chown -R nginx /opt/notifications",
path => ["/usr/bin/", "/bin/"],
- require => Package['mercurial'],
+ require => [
+ Package['mercurial'],
+ Package['nginx'],
+ ],
onlyif => "test ! -d /opt/notifications"
}
cron {"update_notifications":
ensure => present,
command => "python -m sitescripts.management.bin.generateNotifications",
environment => ['MAILTO=admins@adblockplus.org,root', 'PYTHONPATH=/opt/sitescripts'],
user => nginx,
« no previous file with comments | « manifests/vagrant.pp ('k') | modules/statsmaster/files/known_hosts » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld