понедельник, 27 мая 2013 г.

puppet not start service

if you define service

    enable => true,
    ensure => true

but during execution puppet you receive on service logstash status, and not started
CAUSE is status return 0 instead of 3(for stopped)
simple fix is

     echo -n "$DESC"
     status -p $PID_FILE
+    exit $?

in your init script
Отправить комментарий