|
Treating indirect as disabled was intentional, and done in
PUP-6759
. This allows ensure => disabled to work for units in the indirect state.
From the systemd docs, indirect means "The unit file itself is not enabled, but it has a non-empty Also= setting in the "[Install]" unit file section, listing other unit files that might be enabled.". The documentation for Also= does not indicate that it flags a service as not enable-able.
This seeems to indicate one of two things:
-
These particular units cannot be enabled, outside of their status as indirect.
-
systemctl is returning indirect even when they are enabled, despite what the docs say
Either way, it's hard to handle within Puppet's model. I'd like for us to try to sort out a real understanding of what indirect means to Puppet instead of just flipflopping again, though 
|