OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |