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

Side by Side Diff: modules/filterserver/manifests/init.pp

Issue 11296008: Notification server: Generate notification.json from notifications repository (Closed)
Patch Set: Created July 26, 2013, 11:52 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/notificationserver/files/notification.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class filterserver { 1 class filterserver {
2 user {'subscriptionstat': 2 user {'subscriptionstat':
3 ensure => present, 3 ensure => present,
4 home => '/home/subscriptionstat', 4 home => '/home/subscriptionstat',
5 managehome => true 5 managehome => true
6 } 6 }
7 7
8 file {'/home/subscriptionstat/.ssh': 8 file {'/home/subscriptionstat/.ssh':
9 ensure => directory, 9 ensure => directory,
10 owner => subscriptionstat, 10 owner => subscriptionstat,
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 ], 164 ],
165 command => 'rsync -e ssh -ltprz rsync@ssh.adblockplus.org:. /var/www/easylis t/', 165 command => 'rsync -e ssh -ltprz rsync@ssh.adblockplus.org:. /var/www/easylis t/',
166 user => rsync, 166 user => rsync,
167 hour => '*', 167 hour => '*',
168 minute => '2-52/10' 168 minute => '2-52/10'
169 } 169 }
170 170
171 cron {'mirrorstats': 171 cron {'mirrorstats':
172 ensure => present, 172 ensure => present,
173 require => [ 173 require => [
174 User['rsync'], 174 User['rsync'],
175 Package['python-geoip'] 175 Package['python-geoip'],
176 Exec["fetch_sitescripts"]
176 ], 177 ],
177 command => 'gzip -cd /var/log/nginx/access_log_easylist_downloads.1.gz | pyt hon -m sitescripts.logs.bin.extractSubscriptionStats', 178 command => 'gzip -cd /var/log/nginx/access_log_easylist_downloads.1.gz | pyt hon -m sitescripts.logs.bin.extractSubscriptionStats',
178 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript s'], 179 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript s'],
179 user => rsync, 180 user => rsync,
180 hour => 1, 181 hour => 1,
181 minute => 25 182 minute => 25
182 } 183 }
183 184
184 cron {'geoipdb_update': 185 cron {'geoipdb_update':
185 ensure => present, 186 ensure => present,
186 require => File['/opt/cron_geoipdb_update.sh'], 187 require => File['/opt/cron_geoipdb_update.sh'],
187 command => '/opt/cron_geoipdb_update.sh', 188 command => '/opt/cron_geoipdb_update.sh',
188 user => root, 189 user => root,
189 hour => 3, 190 hour => 3,
190 minute => 15, 191 minute => 15,
191 monthday => 3 192 monthday => 3
192 } 193 }
193 194
194 } 195 }
OLDNEW
« no previous file with comments | « no previous file | modules/notificationserver/files/notification.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld