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

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

Issue 29363535: Issue 2313 - Handle Flup dependency in module sitescripts (Closed)
Patch Set: Issue 2313 - Handle Flup dependency in module sitescripts Created Nov. 18, 2016, 3:39 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/sitescripts/manifests/init.pp ('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_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
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 }
OLDNEW
« no previous file with comments | « modules/sitescripts/manifests/init.pp ('k') | modules/web/manifests/server.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld