PUP-5353 <https://tickets.puppetlabs.com/browse/PUP-5353> notes an
inconsistency between the RedHat and Systemd providers (on EL7) in how they
treat the `static` state returned by `systemctl is-enabled`.

Based on the systemctl description
<https://www.freedesktop.org/software/systemd/man/systemctl.html> of
`static`, this is a disabled state that cannot be enabled because it has no
"[Install]" section.

On the other hand, `chkconfig` will return that the service can be started,
which the RedHat provider interprets as being enabled.

My interpretation of `static` is that enabling the service has no meaning,
and trying to manage whether it's enabled should fail. It's enable status
should report `static`.

My question for the mailing list is:
- Which interpretation makes the most sense to Linux admins?
- Would it be a breaking change to make it an error to manage the `enable`
property of a service that can't be enabled/disabled?

-- 
Michael Smith
Developer, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CABy1mMJ9wqiNwS4ha_Wgpa4ZDFxETp9JK6_H13xkAsUhqzHYcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to