| LEFT | RIGHT |
| 1 class filterserver($is_default = false) { | 1 class filterserver($is_default = false) { |
| 2 if $is_default { | 2 if !defined(Class['nginx']) { |
| 3 class {'nginx': | 3 class {'nginx': |
| 4 worker_processes => 2, | 4 worker_processes => 2, |
| 5 worker_connections => 4000, | 5 worker_connections => 4000, |
| 6 ssl_session_cache => off, | 6 ssl_session_cache => off, |
| 7 } | 7 } |
| 8 } |
| 8 | 9 |
| 10 if !defined(File['/var/www']) { |
| 9 file {'/var/www': | 11 file {'/var/www': |
| 10 ensure => directory, | 12 ensure => directory, |
| 11 owner => nginx, | 13 owner => nginx, |
| 12 mode => 0755, | 14 mode => 0755, |
| 13 require => Package['nginx'] | 15 require => Package['nginx'] |
| 14 } | 16 } |
| 15 } | 17 } |
| 16 | 18 |
| 17 user {'subscriptionstat': | 19 user {'subscriptionstat': |
| 18 ensure => absent, | 20 ensure => absent, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 File['/home/rsync/.ssh/id_rsa'], | 129 File['/home/rsync/.ssh/id_rsa'], |
| 128 User['rsync'] | 130 User['rsync'] |
| 129 ], | 131 ], |
| 130 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas
ter.adblockplus.org:. /var/www/easylist/', | 132 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas
ter.adblockplus.org:. /var/www/easylist/', |
| 131 environment => ['MAILTO=admins@adblockplus.org,root'], | 133 environment => ['MAILTO=admins@adblockplus.org,root'], |
| 132 user => rsync, | 134 user => rsync, |
| 133 hour => '*', | 135 hour => '*', |
| 134 minute => '2-52/10' | 136 minute => '2-52/10' |
| 135 } | 137 } |
| 136 } | 138 } |
| LEFT | RIGHT |