Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Red Hat
-
Needs 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
- relates to
-
MODULES-11054 Place rpm_gpg_import_check.sh in a more sensible location
-
- Closed
-