Older providers yum and upstart will be defaultfor a specific list of older OS versions, all other OS versions will get the new providers (dnf and systemd) as defaultfor.

Team:

Coremunity

Sprint:

Platform Core KANBAN

Release Notes:

New Feature

Release Notes Summary:

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.

QA Risk Assessment:

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.