saltstack/salt — pull request #1908 by uggedal (2012-08-29 14:00:59+00:00)
Title: Use `systemctl list-unit-files` for finding systemd units.

Since we get the state of each unit with one command we don't
have to call `systemctl is-enabled` one time per unit to find
all enabled or disabled services. In addition we now get
a list of all units, not only those of the service type.