Permalink
Browse files

Merge pull request #2 from mbornoz/servers

added number of thin server to start
  • Loading branch information...
2 parents 54e6bc8 + 1900abc commit d9bd0d459960e5f8f47099ddae8d160a3ad2ea6c @mbornoz mbornoz committed Mar 19, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 manifests/init.pp
View
6 manifests/init.pp
@@ -14,10 +14,9 @@
$git_revision = $kibana::params::git_revision,
$elasticsearch_servers = $kibana::params::elasticsearch_servers,
$elasticsearch_timeout = $kibana::params::elasticsearch_timeout,
+ $thin_servers = $::physicalprocessorcount,
) inherits kibana::params {
- include thin::params
-
case $package_type {
'gem': {
@@ -84,7 +83,7 @@
owner => 'root',
group => 'root',
content => template('kibana/KibanaConfig.rb.erb'),
- notify => Service[$thin::params::service],
+ notify => Service['thin'],
require => $kibana_provider ? {
'git' => Vcsrepo[$home],
/package|gem/ => Package['kibana'],
@@ -98,6 +97,7 @@
port => $port,
user => $user,
group => $group,
+ servers => $thin_servers,
rackup => "${home}/config.ru",
require => [
Vcsrepo[$home], User[$user], File["${home}/KibanaConfig.rb"],

0 comments on commit d9bd0d4

Please sign in to comment.