Don't ensure elasticsearch service is running

The package maintainer scripts start elasticsearch when it gets
installed, but it seems to return control before the pidfile is
created which allows puppet to race for it and ultimately launch a
second daemon resulting in an OOM condition. It's configured to
start at boot anyway, so the puppet ensure running isn't buying us
much.

Change-Id: I1b374f90c198b9cb73d412fe63b439623f434d9a
This commit is contained in:
Jeremy Stanley 2014-02-26 01:50:38 +00:00
parent fe2795b01d
commit ba7791374f
1 changed files with 0 additions and 5 deletions

View File

@ -113,9 +113,4 @@ class elasticsearch (
group => 'root',
mode => '0644',
}
service { 'elasticsearch':
ensure => running,
require => Package['elasticsearch'],
}
}