Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/updateserver/manifests/init.pp

Issue 6041976289886208: Issue 402 - Use a redirector script for downloads, not a direct link (Closed)
Patch Set: Created Sept. 9, 2014, 10:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"],
+ ],
+ }
}
« modules/updateserver/files/sitescripts ('K') | « modules/updateserver/files/sitescripts ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld