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

Allow Boolean values #206

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Allow Boolean values #206

merged 2 commits into from
Feb 22, 2024

Conversation

kenyon
Copy link
Contributor

@kenyon kenyon commented Nov 15, 2023

  • tasks/init.json: fix indentation
  • tasks/init.json: allow Boolean values

Summary

Allow Boolean values.

Additional Context

Restricting the data type to String[1] does not allow one to set true or false for Boolean settings, since puppet config set validates the given value, and strings 'true' or 'false' fail this validation.

@kenyon kenyon requested a review from a team as a code owner November 15, 2023 19:28
Copy link
Collaborator

@bastelfreak bastelfreak left a comment

Choose a reason for hiding this comment

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

I haven't tested the change but it makes sense

@kenyon
Copy link
Contributor Author

kenyon commented Nov 16, 2023

Test failures unrelated (the failed tests just didn't run for some reason).

This is needed to allow for setting boolean configuration settings.
@Ramesh7 Ramesh7 merged commit 904a22c into puppetlabs:main Feb 22, 2024
33 of 35 checks passed
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