lusis/chef-logstash — pull request #321 by davidski (2014-07-25 23:03:03+00:00)
Title: Correct exit codes on status

The status function on the init.d scripts does not exit with the correct status codes (reference http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html) when logstash either not running or not running with a stale PID file. This causes chef to not be correctly start logstash on RHEL systems (particularly AWS Linux) on converge. This PR adds the exit codes to the two init templates.