OLD | NEW |
1 class filterserver($is_default = false) { | 1 class filterserver($is_default = false) { |
2 | 2 |
3 include adblockplus::web | 3 include adblockplus::web |
4 include nginx | 4 include nginx |
| 5 include geoip |
5 | 6 |
6 user {'subscriptionstat': | 7 user {'subscriptionstat': |
7 ensure => absent, | 8 ensure => absent, |
8 } | 9 } |
9 | 10 |
10 user {'rsync': | 11 user {'rsync': |
11 ensure => present, | 12 ensure => present, |
12 comment => 'Filter list mirror user', | 13 comment => 'Filter list mirror user', |
13 home => '/home/rsync', | 14 home => '/home/rsync', |
14 managehome => true | 15 managehome => true |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 File['/home/rsync/.ssh/id_rsa'], | 91 File['/home/rsync/.ssh/id_rsa'], |
91 User['rsync'] | 92 User['rsync'] |
92 ], | 93 ], |
93 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas
ter.adblockplus.org:. /var/www/easylist/', | 94 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas
ter.adblockplus.org:. /var/www/easylist/', |
94 environment => hiera('cron::environment', []), | 95 environment => hiera('cron::environment', []), |
95 user => rsync, | 96 user => rsync, |
96 hour => '*', | 97 hour => '*', |
97 minute => '2-52/10' | 98 minute => '2-52/10' |
98 } | 99 } |
99 } | 100 } |
OLD | NEW |