Fixed service hasstatus for Solaris 9

Updated service_hasstatus for Solaris 9

Otherwise puppet would try to restart sshd service during each run