OLD | NEW |
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 class {'nginx': | 7 class {'nginx': |
8 worker_processes => 2, | |
9 worker_connections => 4000, | 8 worker_connections => 4000, |
10 ssl_session_cache => off, | 9 ssl_session_cache => off, |
11 } | 10 } |
12 | 11 |
13 File { | 12 File { |
14 owner => root, | 13 owner => root, |
15 group => root | 14 group => root |
16 } | 15 } |
17 | 16 |
18 file {'/var/www': | 17 file {'/var/www': |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 socket => '/tmp/multiplexer-fastcgi.sock', | 130 socket => '/tmp/multiplexer-fastcgi.sock', |
132 mode => '0666', | 131 mode => '0666', |
133 user => 'nginx', | 132 user => 'nginx', |
134 children => 1, | 133 children => 1, |
135 require => [ | 134 require => [ |
136 Exec["fetch_sitescripts"], | 135 Exec["fetch_sitescripts"], |
137 Package["python-flup"], | 136 Package["python-flup"], |
138 ], | 137 ], |
139 } | 138 } |
140 } | 139 } |
OLD | NEW |