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

java : Rocky and Alma linux not supported

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • java
    • 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

            david.swan David Swan
            abondmpr Aaron
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support