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_connections => 4000, | 8 worker_connections => 4000, |
9 ssl_session_cache => off, | 9 ssl_session_cache => off, |
10 } | 10 } |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 } | 129 } |
130 | 130 |
131 cron {'update_update_manifests': | 131 cron {'update_update_manifests': |
132 ensure => present, | 132 ensure => present, |
133 command => $update_update_manifests_script, | 133 command => $update_update_manifests_script, |
134 user => 'sitescripts', | 134 user => 'sitescripts', |
135 minute => '*/10', | 135 minute => '*/10', |
136 require => Exec['update_update_manifests'] | 136 require => Exec['update_update_manifests'] |
137 } | 137 } |
138 | 138 |
139 include spawn-fcgi | 139 include spawn_fcgi |
140 | 140 |
141 spawn-fcgi::pool {"multiplexer": | 141 spawn_fcgi::pool {"multiplexer": |
142 ensure => present, | 142 ensure => present, |
143 fcgi_app => '/opt/sitescripts/multiplexer.fcgi', | 143 fcgi_app => '/opt/sitescripts/multiplexer.fcgi', |
144 socket => '/tmp/multiplexer-fastcgi.sock', | 144 socket => '/tmp/multiplexer-fastcgi.sock', |
145 mode => '0666', | 145 mode => '0666', |
146 user => 'nginx', | 146 user => 'nginx', |
147 children => 1, | 147 children => 1, |
148 require => [ | 148 require => [ |
149 Class["sitescripts"], | 149 Class["sitescripts"], |
150 ], | 150 ], |
151 } | 151 } |
152 } | 152 } |
OLD | NEW |