| OLD | NEW |
| 1 class updateserver( | 1 class updateserver( |
| 2 $domain, | 2 $domain, |
| 3 $certificate, |
| 4 $private_key, |
| 3 $is_default=false | 5 $is_default=false |
| 4 ) { | 6 ) { |
| 5 class {'nginx': | 7 class {'nginx': |
| 6 worker_processes => 2, | 8 worker_processes => 2, |
| 7 worker_connections => 4000, | 9 worker_connections => 4000, |
| 8 ssl_session_cache => off, | 10 ssl_session_cache => off, |
| 9 } | 11 } |
| 10 | 12 |
| 11 File { | 13 File { |
| 12 owner => root, | 14 owner => root, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 31 | 33 |
| 32 file {'/var/www/update/adblockplusie/update.json': | 34 file {'/var/www/update/adblockplusie/update.json': |
| 33 ensure => file, | 35 ensure => file, |
| 34 source => 'puppet:///modules/updateserver/adblockplusie/update.json', | 36 source => 'puppet:///modules/updateserver/adblockplusie/update.json', |
| 35 mode => 0644 | 37 mode => 0644 |
| 36 } | 38 } |
| 37 | 39 |
| 38 nginx::hostconfig{$domain: | 40 nginx::hostconfig{$domain: |
| 39 source => 'puppet:///modules/updateserver/site.conf', | 41 source => 'puppet:///modules/updateserver/site.conf', |
| 40 is_default => $is_default, | 42 is_default => $is_default, |
| 41 certificate => 'adblockplus.org_sslcert.pem', | 43 certificate => $certificate, |
| 42 private_key => 'adblockplus.org_sslcert.key', | 44 private_key => $private_key, |
| 43 log => 'access_log_update' | 45 log => 'access_log_update' |
| 44 } | 46 } |
| 45 } | 47 } |
| OLD | NEW |