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

Support disable module with dnfmodule package provider

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.16.0, PUP 5.5.21
    • None
    • Night's Watch
    • 3
    • NW - 2020-04-29, NW - 2020-05-13, NW - 2020-05-27
    • New Feature
    • Hide
      To disable a dnf module using puppet, a 'disabled' value was added to the ensure field in the dnf module provider.

      Eample:
      "package { 'package_name':
        ensure => 'disabled',
        provider => 'dnfmodule'
      }
      Show
      To disable a dnf module using puppet, a 'disabled' value was added to the ensure field in the dnf module provider. Eample: "package { 'package_name':   ensure => 'disabled',   provider => 'dnfmodule' }
    • Needs Assessment

    Description

      dnfmodule package provider currently only supports 'enable' operation.

      disable operation should be added as well, which would allow use alternative sources for the OS packages, not supporting modular design.

      For example, to install postgresql 11 one needs to disable 'postgresql' module

      # dnf module list --disabledLast metadata expiration check: 0:01:36 ago on Mon 13 Apr 2020 05:23:56 PM UTC.CentOS-8 - AppStreamName                              Stream                           Profiles                                 Summary                                                  postgresql                        9.6 [x]                          client, server [d]                       PostgreSQL server and client module                      postgresql                        10 [d][x]                        client, server [d]                       PostgreSQL server and client module                      postgresql                        12 [x]                           client, server                           PostgreSQL server and client module                        Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

      Attachments

        Issue Links

          Activity

            People

              dorin.pleava Dorin Pleava
              vchepkov Vadym Chepkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support