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

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

Issue 6041976289886208: Issue 402 - Use a redirector script for downloads, not a direct link (Closed)
Patch Set: Fixed typo Created Sept. 17, 2014, 7:59 p.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') | no next file » | 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 115
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
125 include spawn-fcgi
126 package {['python-flup', 'python-mysqldb']:}
127
128 spawn-fcgi::pool {"multiplexer":
129 ensure => present,
130 fcgi_app => '/opt/sitescripts/multiplexer.fcgi',
131 socket => '/tmp/multiplexer-fastcgi.sock',
132 mode => '0666',
133 user => 'nginx',
134 children => 1,
135 require => [
136 Exec["fetch_sitescripts"],
137 Package["python-flup"],
138 Package["python-mysqldb"],
139 ],
140 }
124 } 141 }
OLDNEW
« no previous file with comments | « modules/updateserver/files/sitescripts ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld