Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vhost: Allow customizing show_diff #2536

Merged
merged 1 commit into from Mar 26, 2024

Conversation

kajinamit
Copy link
Contributor

@kajinamit kajinamit commented Mar 25, 2024

Summary

Allow customizing show_diff of vhost configuration file

Additional Context

A vhost configuration file may contain sensitive information. For example when mod_auth_openidc is used then the file may contain OIDCCryptoPassphrase. This introduces the parameter to allow users to hide diff when applying manifests, to avoid leaking secrets to outputs.

Related Issues (if any)

N/A

Checklist

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

A vhost configuration file may contain sensitive information. For
example when mod_auth_openidc is used then the file may contain
OIDCCryptoPassphrase. This introduces the parameter to allow users to
hide diff when applying manifests, to avoid leaking secrets to outputs.
Copy link
Collaborator

@smortex smortex left a comment

Choose a reason for hiding this comment

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

Looks reasonable

@bastelfreak bastelfreak merged commit d59932f into puppetlabs:main Mar 26, 2024
44 checks passed
@kajinamit kajinamit deleted the vhost-show_diff branch March 26, 2024 12:32
@jhoblitt
Copy link

jhoblitt commented Apr 3, 2024

I was just about to implement this myself. Thank you!

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.

None yet

5 participants