If I create a simple manifest and access the system defined hiera data, it works fine
$testvar=hiera('some var defined at system level') notify { "Hiera message is $testvar":}
However, if I attempt to access data that is stored within some module ( downloaded from forge ) it does not
include some_module_from_forge $testvar=hiera('some var defined in the modules hiera') notify { "Hiera message is $testvar":}
What am I doing wrong ?
Use lookup("module::param")
rather than the hiera
function when using module data.