Skip to content

Avoid env command in facter plugin#1687

Open
kajinamit wants to merge 1 commit into
puppetlabs:mainfrom
kajinamit:fact-no-env
Open

Avoid env command in facter plugin#1687
kajinamit wants to merge 1 commit into
puppetlabs:mainfrom
kajinamit:fact-no-env

Conversation

@kajinamit

@kajinamit kajinamit commented Sep 20, 2025

Copy link
Copy Markdown
Contributor

Additional Context

Summary

Avoid env command in facter plugin because it interferes with the capability of core facter utility to translate command to its full path.

Also override of environment variables is not really necessary when 'mysqd' command is found in PATH.

Related Issues (if any)

N/A

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

... because it interferes with the capability of core facter utility to
translate command to its full path.

Also override of environment variables is not really necessary when
'mysqd' command is found in PATH.

Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant