Skip to content

Make keytool path configureable - #477

Merged
imaqsood merged 1 commit into
puppetlabs:mainfrom
bastelfreak:keytool
Sep 23, 2026
Merged

imaqsood merged 1 commit into
puppetlabs:mainfrom
bastelfreak:keytool

Conversation

@bastelfreak

@bastelfreak bastelfreak commented Aug 31, 2026 •

Copy link
Copy Markdown
Collaborator

Usecase: I need to manipulate the PE keystore. The provided keytool binary lives at /opt/puppetlabs/server/bin/keytool. This patch makes it configureable. The default is still the relative keytool, which will be used in $PATH. This makes it an enhancement, not a breaking change.

Summary

Provide a detailed description of all the changes present in this pull request.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

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

@bastelfreak bastelfreak self-assigned this Aug 31, 2026
@bastelfreak
bastelfreak requested a review from a team as a code owner August 31, 2026 15:06
@jst-cyr

jst-cyr commented Sep 1, 2026

Copy link
Copy Markdown
Member

Test PR created to run CI against this change: #478

@jst-cyr

jst-cyr commented Sep 1, 2026

Copy link
Copy Markdown
Member

Acceptance Test Results: https://github.com/puppetlabs/puppetlabs-java_ks/actions/runs/33513994412?pr=478

SLES 12 is still running, but it's doing the typical provisioning issue which causes SLES 12 to always fail to run tests, which matches against main/nightly results.

Otherwise, all acceptance tests are passing. This seems like a small and targeted configuration change, no issues seen here. Needs engineering team review when they are available.

@imaqsood imaqsood left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Usecase: I need to manipulate the PE keystore. The provided `keytool`
binary lives at /opt/puppetlabs/server/bin/keytool. This patch makes it
configureable. The default is still the relative `keytool`, which will
be used in $PATH. This makes it an enhancement, not a breaking change.
@jst-cyr

jst-cyr commented Sep 21, 2026

Copy link
Copy Markdown
Member

@imaqsood : The PR was out of date with main so I've rebased it. Needs a quick re-review to make sure everything is still good.

@imaqsood
imaqsood merged commit 684ade8 into puppetlabs:main Sep 23, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants