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

Adopt new parameter defaults in template #1090

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

tuxmea
Copy link

@tuxmea tuxmea commented Feb 8, 2023

the apt::pin define has switched from empty string to Undef. But the template was not updated.

fixes #1089

the apt::pin define has switched from empty string to Undef.
But the template was not updated.

fixes puppetlabs#1089
@tuxmea tuxmea requested a review from a team as a code owner February 8, 2023 11:16
@chelnak
Copy link

chelnak commented Feb 8, 2023

I wonder if undef is the right default to set here?

I know there were conversations around this yesterday.. interested in your thoughts.

@tuxmea
Copy link
Author

tuxmea commented Feb 9, 2023

I wonder if undef is the right default to set here?

I know there were conversations around this yesterday.. interested in your thoughts.

Hi @chelnak I just adopted the template to the new parameter defaults.
Usually we use undef on optional parameters.
But I am open to also revert the parameter defaults to empty string.

@tuxmea
Copy link
Author

tuxmea commented Feb 21, 2023

Hi @chelnak can we continue with this PR?
This really is an issue where people use the apt::pin type.

@chelnak
Copy link

chelnak commented Feb 21, 2023

Hey sure, sorry about the wait.

I went over your changes again and am happy.

@chelnak chelnak merged commit 90a4ffe into puppetlabs:main Feb 21, 2023
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.

Variables ($release) that are defined as undef are breaking with '' validation
4 participants