Skip to content

Avoid env command in facter plugin - #1687

Merged
bronachfalls merged 1 commit into
puppetlabs:mainfrom
kajinamit:fact-no-env
Sep 1, 2026
Merged

bronachfalls merged 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>
@bronachfalls
bronachfalls merged commit a4f1540 into puppetlabs:main Sep 1, 2026
6 checks passed
@kajinamit
kajinamit deleted the fact-no-env branch September 1, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants