| LEFT | RIGHT |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| LEFT | RIGHT |