Hi I have a bash script produce this for my test node
--- environment: production ybenv: alextest I have this in my hiera.yaml file :hierarchy: # node specific - "nodes/%{::trusted.certname}" # OS specific - "os/%{::osfamily}" # Envornment - "ybenv/%{::ybenv}" # common to all - common These are my hieradata files hieradata/ hieradata/os hieradata/os/RedHat.yaml hieradata/nodes hieradata/nodes/testnode.yaml hieradata/common.yaml hieradata/ybenv hieradata/ybenv/alextest.yaml But this file doesn't seem to be getting read hieradata/ybenv/alextest.yaml and tried doing some testing in my site.pp tried this $ybenv=hiera('ybenv') info("Certname [${trusted['certname']}] OsName [${osfamily}] ybenv [${ybenv}] environment [${environment}]") and also just this info("ybenv [${ybenv}]") and it the logs it say ybenv undefined A -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0c3c410c-cad1-47e6-a017-3a177458bc8d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.