Skip to content

Fake the systemd_available fact according to the OS

Alex Iribarren requested to merge systemd_fact into master

When testing a module/hostgroup that uses the systemd module, the systemd_available fact isn't available unless you set it by hand in your test context. This change makes that fact available for when you iterate over supported OSes. This in turn simplifies the tests and makes sure you're actually testing the real behavior.

Merge request reports