Fix expected strings
[CHEF-3772] Use the sync(-s) option to get exit status.

*  svcadm to wait and return errors back to the provider
*  switch method from run_command to shellout!