Accessing Hiera variables
I have specific hiera data that I would like to reference in my modules. For example have a variable have a different value from production versus non-production.
How do I made a reference in my module to a specific value in hiera? For example if I have a value
root_pw = some_dev_pass
root_pw = some_prod_pass
If I need to reference this variable in my module how do I do this?