hierarchy inside a module

7 views
Skip to first unread message

Alex Samad

unread,
Jul 18, 2016, 9:26:58 PM7/18/16
to Puppet Users
Hi

presume i have in my hiera.yaml something like this 

:hierarchy:

   - env/%{::ybenv}



lets presume that env is not set in my ENC.

but lets say in a module that is included by my 
hiera_include(classes)  in my manifests/sites.pp

I have this

$::env=Test

and then I do a 

hiera ('somekey')

will it include env/somekey.yaml ?


Thanks
Alex
Reply all
Reply to author
Forward
0 new messages