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

hiera breaks, as soon as we enter this module #63

Open
igalic opened this issue Dec 5, 2016 · 1 comment · May be fixed by #64
Open

hiera breaks, as soon as we enter this module #63

igalic opened this issue Dec 5, 2016 · 1 comment · May be fixed by #64

Comments

@igalic
Copy link
Contributor

igalic commented Dec 5, 2016

letsencrypt::environment, with its default of [] has the potential to break hiera lookups where %{::enviornment} is used as a branch key

@rbos
Copy link

rbos commented Mar 11, 2022

I think I may have this problem. I want to declare http_proxy so that letsencrypt can do its work unmolested by our firewall.
I have a hiera declaration in common.yaml:
letsencrypt::onlycert::environment: [ 'http_proxy=http://example.com:8080', 'https_proxy=https://example.com:8080' ]

This works in my node declarations:
environment => [ 'http_proxy=http://example.com:8080', 'https_proxy=https://example.com:8080' ]
as does
environment => lookup('letsencrypt::onlycert::environment')
but if I remove the environment line entirely, I expect that my hiera common declaration will assert itself, and it doesn't.
Is it conflicting with hiera's %{::environment} as suggested in this ticket?

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 a pull request may close this issue.

2 participants