| LEFT | RIGHT |
| 1 class updateserver( | 1 class updateserver( |
| 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 |
| 8 include adblockplus::web |
| 9 |
| 7 class {'nginx': | 10 class {'nginx': |
| 8 worker_connections => 4000, | 11 worker_connections => 4000, |
| 9 ssl_session_cache => off, | 12 ssl_session_cache => off, |
| 10 } | 13 } |
| 11 | 14 |
| 12 File { | 15 File { |
| 13 owner => root, | 16 owner => root, |
| 14 group => root | 17 group => root |
| 15 } | |
| 16 | |
| 17 class {'adblockplus::web': | |
| 18 directory => { | |
| 19 require => Package['nginx'], | |
| 20 }, | |
| 21 } | 18 } |
| 22 | 19 |
| 23 $update_dir = '/var/www/update' | 20 $update_dir = '/var/www/update' |
| 24 | 21 |
| 25 file {$update_dir: | 22 file {$update_dir: |
| 26 ensure => directory, | 23 ensure => directory, |
| 27 mode => '0755', | 24 mode => '0755', |
| 28 } | 25 } |
| 29 | 26 |
| 30 $sitescripts_var_dir = '/var/lib/sitescripts' | 27 $sitescripts_var_dir = '/var/lib/sitescripts' |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 fcgi_app => '/opt/sitescripts/multiplexer.fcgi', | 140 fcgi_app => '/opt/sitescripts/multiplexer.fcgi', |
| 144 socket => '/tmp/multiplexer-fastcgi.sock', | 141 socket => '/tmp/multiplexer-fastcgi.sock', |
| 145 mode => '0666', | 142 mode => '0666', |
| 146 user => 'nginx', | 143 user => 'nginx', |
| 147 children => 1, | 144 children => 1, |
| 148 require => [ | 145 require => [ |
| 149 Class["sitescripts"], | 146 Class["sitescripts"], |
| 150 ], | 147 ], |
| 151 } | 148 } |
| 152 } | 149 } |
| LEFT | RIGHT |