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

do not emit other ssl directives when ssl = false #1513

Merged
merged 2 commits into from
Dec 12, 2022

Conversation

kjetilho
Copy link
Contributor

This is needed for newer versions of MariaDB, see issue #1509

This is needed for newer versions of MariaDB, see issue puppetlabs#1509
@LukasAud
Copy link
Contributor

LukasAud commented Dec 5, 2022

Hi, @kjetilho. Thanks for your contribution. We are currently investigating the issue you are trying to address. Unfortunately, it doesnt seem like our test cases cover this scenario so we will need to investigate a bit further to ensure that your PR does not have any unexpected side effect. Meanwhile, could you implement a test case for your change?

@kjetilho
Copy link
Contributor Author

kjetilho commented Dec 5, 2022

something like the above?

@LukasAud
Copy link
Contributor

LukasAud commented Dec 6, 2022

Yes, that should be enough. Thanks for your contribution. We will merge as soon as we finish testing it on our side.

Copy link
Contributor

@LukasAud LukasAud left a comment

Choose a reason for hiding this comment

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

LGTM

@LukasAud LukasAud merged commit 0c62943 into puppetlabs:main Dec 12, 2022
anarcat referenced this pull request Dec 20, 2022
Prior to this commit there was a possibility that malformed
strings could be passed in to the resource. This could lead
to unsafe executions on a remote system.

The parameters that are susceptible are `install_secret_file`.

This commit fixes the above by adding validation to ensure the given
values confirm to expectation.

`secret_file` is validated with a regular expression that ensures the
given value is a valid path.
@pmcmaw pmcmaw added the bugfix label Dec 20, 2022
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.

4 participants