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

Delta Between Two Patch Sets: modules/discourse/manifests/init.pp

Issue 6155422901731328: Run Rietveld using the AppEngine SDK (Closed)
Left Patch Set: Addressed comments and added proper configuration Created June 3, 2015, 3:31 p.m.
Right Patch Set: Addressed comments and added caching Created June 4, 2015, 9:19 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 type => 1, 314 type => 1,
315 value => 'adblockplus.org,eyeo.com' 315 value => 'adblockplus.org,eyeo.com'
316 } 316 }
317 317
318 discourse::sitesetting {'max_mentions_per_post': 318 discourse::sitesetting {'max_mentions_per_post':
319 ensure => present, 319 ensure => present,
320 type => 3, 320 type => 3,
321 value => '50', 321 value => '50',
322 } 322 }
323 323
324 Customservice <| |> { 324 Customservice {
325 user => 'discourse', 325 user => 'discourse',
326 workdir => '/opt/discourse', 326 workdir => '/opt/discourse',
327 env => ['RAILS_ENV=production', 'RUBY_GC_MALLOC_LIMIT=90000000', 327 env => ['RAILS_ENV=production', 'RUBY_GC_MALLOC_LIMIT=90000000',
328 'UNICORN_WORKERS=2', 'LD_PRELOAD=/usr/lib/libjemalloc.so.1'], 328 'UNICORN_WORKERS=2', 'LD_PRELOAD=/usr/lib/libjemalloc.so.1'],
329 require => Exec['init-discourse'] 329 require => Exec['init-discourse']
330 } 330 }
331 331
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'],
(...skipping 13 matching lines...) Expand all
348 global_config => ' 348 global_config => '
349 upstream discourse { 349 upstream discourse {
350 server localhost:3000; 350 server localhost:3000;
351 }', 351 }',
352 is_default => $is_default, 352 is_default => $is_default,
353 certificate => $certificate, 353 certificate => $certificate,
354 private_key => $private_key, 354 private_key => $private_key,
355 log => 'access_log_intraforum' 355 log => 'access_log_intraforum'
356 } 356 }
357 } 357 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld