| OLD | NEW |
| 1 class downloadserver( | 1 class downloadserver( |
| 2 $domain, | 2 $domain, |
| 3 $certificate, | 3 $certificate, |
| 4 $private_key, | 4 $private_key, |
| 5 $is_default = false | 5 $is_default = false |
| 6 ) { | 6 ) { |
| 7 | 7 |
| 8 class {'nginx': | 8 class {'nginx': |
| 9 worker_processes => 2, | |
| 10 worker_connections => 4000, | 9 worker_connections => 4000, |
| 11 ssl_session_cache => off, | 10 ssl_session_cache => off, |
| 12 } | 11 } |
| 13 | 12 |
| 14 class {'sitescripts': | 13 class {'sitescripts': |
| 15 sitescriptsini_source => 'puppet:///modules/downloadserver/sitescripts', | 14 sitescriptsini_source => 'puppet:///modules/downloadserver/sitescripts', |
| 16 } | 15 } |
| 17 | 16 |
| 18 package {['python-flup', 'python-jinja2']:} | 17 package {['python-flup', 'python-jinja2']:} |
| 19 include spawn-fcgi | 18 include spawn-fcgi |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 require => [File['/home/rsync/.ssh/known_hosts'], | 124 require => [File['/home/rsync/.ssh/known_hosts'], |
| 126 File['/home/rsync/.ssh/id_rsa'], | 125 File['/home/rsync/.ssh/id_rsa'], |
| 127 File['/var/www/devbuilds']], | 126 File['/var/www/devbuilds']], |
| 128 command => 'rsync -e ssh -ltprz --delete devbuilds@ssh.adblockplus.org:. /va
r/www/devbuilds', | 127 command => 'rsync -e ssh -ltprz --delete devbuilds@ssh.adblockplus.org:. /va
r/www/devbuilds', |
| 129 environment => ['MAILTO=admins@adblockplus.org,root'], | 128 environment => ['MAILTO=admins@adblockplus.org,root'], |
| 130 user => rsync, | 129 user => rsync, |
| 131 hour => '*', | 130 hour => '*', |
| 132 minute => '4-54/10' | 131 minute => '4-54/10' |
| 133 } | 132 } |
| 134 } | 133 } |
| OLD | NEW |