Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
-
Coremunity
-
Platform Core KANBAN
-
New Feature
-
This change adds a notdefaultfor that prevents a provider for being a default for a given set of facts. notdefaultfor overrides any defaultfor and should be defined more narrowly.
-
Needs Assessment
Description
Currently, we maintain a list of platforms that dnf and systemd are default for. This is unsustainable, as we have to update this list for every new release. What we should be doing is have a blacklist defining which subset of platforms the older provider is default for (yum and upstart, respectively). This will reduce the long term maintenance costs for these two providers.
We already have something like this for upstart, where we have a list of ubuntu platforms that upstart should be the default service provider for. However, the tests fail when we remove the platform restrictions for ubuntu systemd. Older ubuntu versions like 12.04 show that systemd is the default, which is wrong. We need to be careful this does not happen.
Attachments
Issue Links
- is duplicated by
-
PUP-8495 Ubuntu 16.10 _AND NEWER_ use systemd provider as default
-
- Closed
-