puppet-letsencrypt icon indicating copy to clipboard operation
puppet-letsencrypt copied to clipboard

hiera breaks, as soon as we enter this module

Open igalic opened this issue 8 years ago • 1 comments

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

igalic avatar Dec 05 '16 16:12 igalic

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?

rbos avatar Mar 11 '22 00:03 rbos