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

{puppetlabs-puppet_agent} : {Version 4.6.0 fails on Red Hat}

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
    • Environment:

       

      Red Hat

       

    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 4.6.0
      Puppet Version: 2019.8.5
      OS Name/Version: Red Hat 7/8

      I am getting an error on Red Hat:

      Error: /Stage[main]/Puppet_agent::Osfamily::Redhat/Exec[import-GPG-KEY-puppet]: Could not evaluate: '/tmp/rpm_gpg_import_check.sh' is not executable

      The reason is that for some reason Puppet is attempting to execute a temporary file created in /tmp. But we have this prevented execution from the /tmp directory, as it was a problem with viruses.

      This only appeared with version 4.6.0.

      What we need is a way to override the global env_tmp_variable used in Puppet_agent::Osfamily::Redhat/Exec[import-GPG-KEY-puppet]

       

      Desired Behavior:

      Do not use the /tmp directory for executables

      Actual Behavior:

      Error: /Stage[main]/Puppet_agent::Osfamily::Redhat/Exec[import-GPG-KEY-puppet]: Could not evaluate: '/tmp/rpm_gpg_import_check.sh' is not executable

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Ross Mallett Ross Mallett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support