Resolution: Won't Do
Affects Version/s: PUP 4.8.0
Fix Version/s: None
Team:Puppet Developer Experience
Sprint:Forge - To Accept
It seems that the puppet lookup command ignores the --hiera_config option.
When I'm hacking on a control-repo I want to be able to test that the per-environment hiera.yaml file at the top level of the control-repo works in isolation, that is I don't want to have to deploy the code to a puppet master in order to test that the data lookups are working correctly.
Steps to reproduce:
In an arbitrary directory, set up the following structure:
Put the following into these files:
Try and perform a lookup:
Expected result: "Testing"
Actual result: ""
Trying to get some debug info:
This shows the hiera.yaml file isn't being read and used for the hiera lookup component of puppet lookup, although the option was recognised: