inspec/test/unit/mock
Jerry Aldrich 98546984ae service resource: attempt a SysV fallback if SystemD unit file is not found (#2473)
* service resource: Fix no `.service` + systemd bug

This modifies the `enabled?` check to fallback to `sysv_service` in the
event that a `.service` file cannot be found.

For example: On Debian 8.7 the stock apache2 package does not deploy a
`.service` file but deploys a SysV style service. This causes
`systemctl is-enabled` to fail when the service is in fact enabled.

* Remove `cmd_stderr` and clean up `cmd_exit_1`
* Clean up `stderr` assignment using ternary
2018-01-23 12:34:47 -08:00
..
cmd service resource: attempt a SysV fallback if SystemD unit file is not found (#2473) 2018-01-23 12:34:47 -08:00
files grub_conf resource: fix menuentry detection (#2408) 2018-01-18 13:20:48 -08:00
profiles Add platform resource and platform supports (#2393) 2018-01-02 11:04:13 -08:00