| Index: modules/updateserver/manifests/init.pp |
| =================================================================== |
| --- a/modules/updateserver/manifests/init.pp |
| +++ b/modules/updateserver/manifests/init.pp |
| @@ -116,9 +116,26 @@ class updateserver( |
| cron {'update_update_manifests': |
| ensure => present, |
| environment => ['MAILTO=admins@adblockplus.org'], |
| command => $update_update_manifests_script, |
| user => 'sitescripts', |
| minute => '*/10', |
| require => Exec['update_update_manifests'] |
| } |
| + |
| + include spawn-fcgi |
| + package {['python-flup', 'python-mysqldb']:} |
| + |
| + spawn-fcgi::pool {"multiplexer": |
| + ensure => present, |
| + fcgi_app => '/opt/sitescripts/multiplexer.fcgi', |
| + socket => '/tmp/multiplexer-fastcgi.sock', |
| + mode => '0666', |
| + user => 'nginx', |
| + children => 1, |
| + require => [ |
| + Exec["fetch_sitescripts"], |
| + Package["python-flup"], |
| + Package["python-mysqldb"], |
| + ], |
| + } |
| } |