| 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 |
| } |