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

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

Issue 11548101: Send all cron mail both to admins and the local root user (Closed)
Patch Set: Created Sept. 2, 2013, 9:21 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 | « modules/downloadserver/manifests/init.pp ('k') | modules/logrotate/manifests/init.pp » ('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 class {'nginx': 2 class {'nginx':
3 worker_processes => 2, 3 worker_processes => 2,
4 worker_connections => 4000, 4 worker_connections => 4000,
5 ssl_session_cache => off, 5 ssl_session_cache => off,
6 } 6 }
7 7
8 class {'statsclient': 8 class {'statsclient':
9 log_path => '/var/log/nginx/access_log_easylist_downloads.1.gz', 9 log_path => '/var/log/nginx/access_log_easylist_downloads.1.gz',
10 } 10 }
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } 118 }
119 119
120 cron {'mirror': 120 cron {'mirror':
121 ensure => present, 121 ensure => present,
122 require => [ 122 require => [
123 File['/home/rsync/.ssh/known_hosts'], 123 File['/home/rsync/.ssh/known_hosts'],
124 File['/home/rsync/.ssh/id_rsa'], 124 File['/home/rsync/.ssh/id_rsa'],
125 User['rsync'] 125 User['rsync']
126 ], 126 ],
127 command => 'rsync -e ssh -ltprz rsync@ssh.adblockplus.org:. /var/www/easylis t/', 127 command => 'rsync -e ssh -ltprz rsync@ssh.adblockplus.org:. /var/www/easylis t/',
128 environment => ['MAILTO=admins@adblockplus.org,root'],
128 user => rsync, 129 user => rsync,
129 hour => '*', 130 hour => '*',
130 minute => '2-52/10' 131 minute => '2-52/10'
131 } 132 }
132 } 133 }
OLDNEW
« no previous file with comments | « modules/downloadserver/manifests/init.pp ('k') | modules/logrotate/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld