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': | |
9 log_path => '/var/log/nginx/access_log_easylist_downloads.1.gz', | |
10 } | |
11 | |
12 user {'subscriptionstat': | 8 user {'subscriptionstat': |
13 ensure => absent, | 9 ensure => absent, |
14 } | 10 } |
15 | 11 |
16 user {'rsync': | 12 user {'rsync': |
17 ensure => present, | 13 ensure => present, |
18 comment => 'Filter list mirror user', | 14 comment => 'Filter list mirror user', |
19 home => '/home/rsync', | 15 home => '/home/rsync', |
20 managehome => true | 16 managehome => true |
21 } | 17 } |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 File['/home/rsync/.ssh/id_rsa'], | 127 File['/home/rsync/.ssh/id_rsa'], |
132 User['rsync'] | 128 User['rsync'] |
133 ], | 129 ], |
134 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas
ter.adblockplus.org:. /var/www/easylist/', | 130 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas
ter.adblockplus.org:. /var/www/easylist/', |
135 environment => ['MAILTO=admins@adblockplus.org,root'], | 131 environment => ['MAILTO=admins@adblockplus.org,root'], |
136 user => rsync, | 132 user => rsync, |
137 hour => '*', | 133 hour => '*', |
138 minute => '2-52/10' | 134 minute => '2-52/10' |
139 } | 135 } |
140 } | 136 } |
OLD | NEW |