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

Side by Side Diff: modules/updateserver/manifests/init.pp

Issue 6394253802471424: Issue 1374 - Don`t hardcode web handlers for multiplexer (Closed)
Patch Set: Created Sept. 15, 2014, 10:05 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/updateserver/files/sitescripts ('k') | modules/web/manifests/server.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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, 8 worker_processes => 2,
9 worker_connections => 4000, 9 worker_connections => 4000,
10 ssl_session_cache => off, 10 ssl_session_cache => off,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 cron {'update_update_manifests': 116 cron {'update_update_manifests':
117 ensure => present, 117 ensure => present,
118 environment => ['MAILTO=admins@adblockplus.org'], 118 environment => ['MAILTO=admins@adblockplus.org'],
119 command => $update_update_manifests_script, 119 command => $update_update_manifests_script,
120 user => 'sitescripts', 120 user => 'sitescripts',
121 minute => '*/10', 121 minute => '*/10',
122 require => Exec['update_update_manifests'] 122 require => Exec['update_update_manifests']
123 } 123 }
124 124
125 include spawn-fcgi 125 include spawn-fcgi
126 package {['python-flup', 'python-mysqldb']:} 126 package {'python-flup':}
127 127
128 spawn-fcgi::pool {"multiplexer": 128 spawn-fcgi::pool {"multiplexer":
129 ensure => present, 129 ensure => present,
130 fcgi_app => '/opt/sitescripts/multiplexer.fcgi', 130 fcgi_app => '/opt/sitescripts/multiplexer.fcgi',
131 socket => '/tmp/multiplexer-fastcgi.sock', 131 socket => '/tmp/multiplexer-fastcgi.sock',
132 mode => '0666', 132 mode => '0666',
133 user => 'nginx', 133 user => 'nginx',
134 children => 1, 134 children => 1,
135 require => [ 135 require => [
136 Exec["fetch_sitescripts"], 136 Exec["fetch_sitescripts"],
137 Package["python-flup"], 137 Package["python-flup"],
138 Package["python-mysqldb"],
139 ], 138 ],
140 } 139 }
141 } 140 }
OLDNEW
« no previous file with comments | « modules/updateserver/files/sitescripts ('k') | modules/web/manifests/server.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld