Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8552

Make dnf default for fedora, and systemd default for ubuntu/debian

    XMLWordPrintable

Details

    • Hide

      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.

      Show
      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.
    • 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

          Activity

            People

              kris.bosland Kris Bosland
              melissa Melissa Stone
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support