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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 cron {'update_update_manifests': | 131 cron {'update_update_manifests': |
132 ensure => present, | 132 ensure => present, |
133 environment => ['MAILTO=admins@adblockplus.org'], | 133 environment => ['MAILTO=admins@adblockplus.org'], |
134 command => $update_update_manifests_script, | 134 command => $update_update_manifests_script, |
135 user => 'sitescripts', | 135 user => 'sitescripts', |
136 minute => '*/10', | 136 minute => '*/10', |
137 require => Exec['update_update_manifests'] | 137 require => Exec['update_update_manifests'] |
138 } | 138 } |
139 | 139 |
140 include spawn-fcgi | 140 include spawn-fcgi |
141 package {'python-flup':} | |
142 | 141 |
143 spawn-fcgi::pool {"multiplexer": | 142 spawn-fcgi::pool {"multiplexer": |
144 ensure => present, | 143 ensure => present, |
145 fcgi_app => '/opt/sitescripts/multiplexer.fcgi', | 144 fcgi_app => '/opt/sitescripts/multiplexer.fcgi', |
146 socket => '/tmp/multiplexer-fastcgi.sock', | 145 socket => '/tmp/multiplexer-fastcgi.sock', |
147 mode => '0666', | 146 mode => '0666', |
148 user => 'nginx', | 147 user => 'nginx', |
149 children => 1, | 148 children => 1, |
150 require => [ | 149 require => [ |
151 Class["sitescripts"], | 150 Class["sitescripts"], |
152 Package["python-flup"], | |
153 ], | 151 ], |
154 } | 152 } |
155 } | 153 } |
OLD | NEW |