fix init script for puppet

added command status to init script