Skip to content

nodejs: nodejs__dnf_module_stream fails on RHEL 10, which has no modules #374

Description

@NavidSassan

Bug description

RHEL 10 has no modules; alternative Node.js versions are separate packages (nodejs is 22, nodejs24 is 24 on Rocky Linux 10.2). With nodejs__dnf_module_stream set, the role runs dnf -y module reset nodejs and installs @nodejs:<stream>/common, both of which fail on RHEL 10. The README documents the variable for the whole Red Hat family.

Steps to reproduce

  1. On Rocky Linux 10.2, run dnf -y module reset nodejs: missing groups or modules: nodejs, exit 1.
  2. dnf -y install @nodejs:24/common: Module or Group 'nodejs:24/common' is not available., exit 1.

Expected behavior

On RHEL 10 the role can install a non-default Node.js version (for example nodejs24), or the README limits nodejs__dnf_module_stream to RHEL 8 and 9.

Environment

LFOps main, Rocky Linux 10.2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions