added hasstatus to the puppet service definition and status() option to the init script