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

dnf package provider should support modularity streams

    Details

    • Template:
    • Agent OS:
      Other
    • Acceptance Criteria:
      Hide

      User can manage dnf modules with Puppet

      Show
      User can manage dnf modules with Puppet
    • Team:
      Night's Watch
    • Story Points:
      8
    • Sprint:
      NW - 2019-10-02, NW - 2019-10-16, NW - 2019-10-30
    • CS Priority:
      Reviewed
    • Release Notes:
      New Feature
    • Release Notes Summary:
      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.
    • QA Risk Assessment:
      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

              • Assignee:
                gabriel.nagy Gabriel Nagy
                Reporter:
                wclark William Bradford Clark
              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support