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

Unified Diff: modules/discourse/manifests/init.pp

Issue 6155422901731328: Run Rietveld using the AppEngine SDK (Closed)
Patch Set: Addressed comments and added caching Created June 4, 2015, 9:19 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/discourse/manifests/init.pp
===================================================================
--- a/modules/discourse/manifests/init.pp
+++ b/modules/discourse/manifests/init.pp
@@ -316,30 +316,30 @@ class discourse(
}
discourse::sitesetting {'max_mentions_per_post':
ensure => present,
type => 3,
value => '50',
}
- Discourse::Customservice <| |> {
+ Customservice {
user => 'discourse',
workdir => '/opt/discourse',
env => ['RAILS_ENV=production', 'RUBY_GC_MALLOC_LIMIT=90000000',
'UNICORN_WORKERS=2', 'LD_PRELOAD=/usr/lib/libjemalloc.so.1'],
require => Exec['init-discourse']
}
- discourse::customservice {'discourse':
+ customservice {'discourse':
command => '/home/discourse/.rvm/bin/rvm default do bundle exec config/unicorn_launcher -c config/unicorn.conf.rb',
require => File['/opt/discourse/tmp/pids'],
}
- discourse::customservice {'sidekiq':
+ customservice {'sidekiq':
command => '/home/discourse/.rvm/bin/rvm default do bundle exec sidekiq'
}
class {'nginx':
worker_processes => 1,
worker_connections => 500
}

Powered by Google App Engine
This is Rietveld