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

dnf package provider should support modularity streams

    Details

    • Type: New Feature
    • Status: Ready for Merge
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
      None
    • Environment:

      RHEL 8 managed by Puppet

    • 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
    • CS Priority:
      Reviewed
    • 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

              jsd-sla-details-panel

                People

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

                  Dates

                  • Created:
                    Updated: