Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-11124

java : Rocky and Alma linux not supported

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: java
    • Labels:
    • Template:
      MODULES Bug Template
    • Team:
      Modules

      Description

      Basic Info
      Module Version: Any
      Puppet Version: 6.23.0
      OS Name/Version: Rocky Linux 8.4 Release

      Rocky and Alma linux are not properly handled in the RedHat case statement for params.pp. Since these newer distros are binary compatible with RHEL, the first case in the list (https://github.com/puppetlabs/puppetlabs-java/blob/358884cbd7e18483eaeaf4aa1e826dc96e3a63c0/manifests/params.pp#L12) should include them.

      Desired Behavior:

      Rocky and Alma install Java in the same fashion as other RHEL clones.

      Actual Behavior:

      Error message: Evaluation Error: Error while evaluating a Function Call, unsupported os Rocky

      This error is because we fall through the base default case in the RedHat family section of the OS case statement (https://github.com/puppetlabs/puppetlabs-java/blob/358884cbd7e18483eaeaf4aa1e826dc96e3a63c0/manifests/params.pp#L53)

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            abondmpr Aaron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support