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

(PE-35920) Error when using interpolations for hiera config in plan scope #3213

Closed
wants to merge 3 commits into from

Conversation

donoghuc
Copy link
Member

@donoghuc donoghuc commented Jun 2, 2023

Set :avoid_hiera_interpolation_errors to false so puppet will error when intepolations are attempted in plan scope.

…cope

Set `:avoid_hiera_interpolation_errors` to `false` so puppet will error when intepolations are attempted in plan scope.
Currently just interested in puppet 8 and ruby 3 for this PR. Want to see how PR testing goes. will revert this commit.
@donoghuc
Copy link
Member Author

donoghuc commented Jun 5, 2023

It turns out this was built on a bug in puppet 7. When using strict mode failing to find values for interpolations should not actually raise an error, instead the appropriate default should be used for lookups. Closing this, we will update the tests here when we move to taking up puppet 8.

@donoghuc donoghuc closed this Jun 5, 2023
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.

None yet

1 participant