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

dnf package provider should support modularity streams

    XMLWordPrintable

Details

    • Hide

      User can manage dnf modules with Puppet

      Show
      User can manage dnf modules with Puppet
    • Night's Watch
    • 8
    • NW - 2019-10-02, NW - 2019-10-16, NW - 2019-10-30
    • Reviewed
    • New Feature
    • Hide
      Puppet now supports managing DNF modules, which are groups of packages that represent an application, a language runtime, or any logical group.

      Modules can be available in multiple streams, usually representing a major version of the software they include. Profiles are package subsets representing a specific use case of the module (these are handled by the flavor parameter of the package type).

      Due to the significant difference between a package and a module, dnfmodule is an opt-in provider and should be explicitly specified in the manifest.
      Show
      Puppet now supports managing DNF modules, which are groups of packages that represent an application, a language runtime, or any logical group. Modules can be available in multiple streams, usually representing a major version of the software they include. Profiles are package subsets representing a specific use case of the module (these are handled by the flavor parameter of the package type). Due to the significant difference between a package and a module, dnfmodule is an opt-in provider and should be explicitly specified in the manifest.
    • Needs Assessment

    Description

      The dnf package provider should be updated to support the execution of `dnf module` commands such as

         # dnf module install httpd:2.4/minimal

      Some relevant information from the dnf(8) man page:

      ********************************************************************
      Module Command
      Module subcommands take <module-spec> that specify modules or profiles.

      dnf [options] module install <module-spec>...
      Install module profiles incl. their RPMs. In case no profile was provided, all default profiles get
      installed. Module streams get enabled accordingly.

      This command cannot be used for switching module streams. It is recommended to remove all installed
      content from the module, and reset the module using reset command. After you reset the module, you
      can install the other stream.

      dnf [options] module update <module-spec>...
      Update RPMs in installed module profiles. In case no profile was provided, all installed profiles
      get updated.

      dnf [options] module remove <module-spec>...
      Remove installed module profiles incl. their RPMs. In case no profile was provided, all installed
      profiles get removed.

      dnf [options] module enable <module-spec>...
      Enable a module stream and make the stream RPMs available in the package set.

      Modular dependencies are resolved, dependencies checked and also recursively enabled. In case of mod‐
      ular dependency issue the operation will be rejected. To perform action anyway please use -‐
      -skip-broken option.

      This command cannot be used for switching module streams. It is recommended to remove all installed
      content from the module, and reset the module using reset command. After you reset the module, you
      can enable the other stream.

      dnf [options] module disable <module-spec>...
      Disable a module. All related module streams will become unavailable. In case of modular dependency
      issue the operation will be rejected. To perform action anyway please use --skip-broken option.
      ********************************************************************

      Attachments

        Issue Links

          Activity

            People

              gabriel.nagy Gabriel Nagy
              wclark William Bradford Clark
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support