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

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

Issue 29323742: Issue 2912 - Drop $nginx::worker_processes from Discourse setup (Closed)
Patch Set: Created Aug. 17, 2015, 2:48 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 | « no previous file | 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 discourse( 1 class discourse(
2 $domain, 2 $domain,
3 $certificate, 3 $certificate,
4 $private_key, 4 $private_key,
5 $is_default = false 5 $is_default = false
6 ) inherits private::discourse { 6 ) inherits private::discourse {
7 7
8 class { 'postgresql::globals': 8 class { 'postgresql::globals':
9 manage_package_repo => true, 9 manage_package_repo => true,
10 version => '9.3', 10 version => '9.3',
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 customservice {'discourse': 332 customservice {'discourse':
333 command => '/home/discourse/.rvm/bin/rvm default do bundle exec config/unico rn_launcher -c config/unicorn.conf.rb', 333 command => '/home/discourse/.rvm/bin/rvm default do bundle exec config/unico rn_launcher -c config/unicorn.conf.rb',
334 require => File['/opt/discourse/tmp/pids'], 334 require => File['/opt/discourse/tmp/pids'],
335 } 335 }
336 336
337 customservice {'sidekiq': 337 customservice {'sidekiq':
338 command => '/home/discourse/.rvm/bin/rvm default do bundle exec sidekiq' 338 command => '/home/discourse/.rvm/bin/rvm default do bundle exec sidekiq'
339 } 339 }
340 340
341 class {'nginx': 341 class {'nginx':
342 worker_processes => 1,
343 worker_connections => 500 342 worker_connections => 500
344 } 343 }
345 344
346 nginx::hostconfig{$domain: 345 nginx::hostconfig{$domain:
347 source => 'puppet:///modules/discourse/site.conf', 346 source => 'puppet:///modules/discourse/site.conf',
348 global_config => ' 347 global_config => '
349 upstream discourse { 348 upstream discourse {
350 server localhost:3000; 349 server localhost:3000;
351 }', 350 }',
352 is_default => $is_default, 351 is_default => $is_default,
353 certificate => $certificate, 352 certificate => $certificate,
354 private_key => $private_key, 353 private_key => $private_key,
355 log => 'access_log_intraforum' 354 log => 'access_log_intraforum'
356 } 355 }
357 } 356 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld