When running the service module via sudo, `$PATH` didn't contain `/sbin`, so the service binary couldn't be found. This just runs `/sbin/service` directly. Output is spewed to stderr on error. Added `list=status` to include the output of `service <cmd> status`.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| apt | Loading commit data... | |
| async_status | Loading commit data... | |
| async_wrapper | Loading commit data... | |
| command | Loading commit data... | |
| copy | Loading commit data... | |
| facter | Loading commit data... | |
| failtest | Loading commit data... | |
| fetch | Loading commit data... | |
| file | Loading commit data... | |
| git | Loading commit data... | |
| group | Loading commit data... | |
| ohai | Loading commit data... | |
| ping | Loading commit data... | |
| service | Loading commit data... | |
| setup | Loading commit data... | |
| shell | Loading commit data... | |
| slurp | Loading commit data... | |
| template | Loading commit data... | |
| user | Loading commit data... | |
| virt | Loading commit data... | |
| yum | Loading commit data... |