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

Forced bool output to be lowercase #797

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

ivarmu
Copy link
Contributor

@ivarmu ivarmu commented Mar 25, 2024

What does this PR do?

Force the output of bool filter to be lowercase when templating the output files.

Manual and automatic tests.

How should this be tested?

Is there a relevant Issue open for this?

resolves #796

Other Relevant info, PRs, etc

N/A

Copy link
Collaborator

@Tompage1994 Tompage1994 left a comment

Choose a reason for hiding this comment

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

Looks good, I'm happy with this.

Could you please just add a changelog fragment as this will affect the actual output and there's a slight chance someone might depend on the value being uppercase.

---
bugfixes:
  - Adjusted output of boolean filetree_create fields to provide ansible-lint compatible values.
...

@ivarmu ivarmu requested a review from Tompage1994 March 25, 2024 16:24
@Tompage1994 Tompage1994 merged commit 9b08b14 into redhat-cop:devel Mar 25, 2024
13 checks passed
@ivarmu ivarmu deleted the issue796 branch March 27, 2024 07:05
przemkalit pushed a commit to przemkalit/aap_configuration that referenced this pull request Nov 22, 2024
* forced bool output to be lowercase

* Added changelog fragment
przemkalit pushed a commit to przemkalit/aap_configuration that referenced this pull request Nov 22, 2024
* forced bool output to be lowercase

* Added changelog fragment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

filetree_create should output yamllint compatible truthy values
2 participants