Displaying 1 result from an estimated 1 matches for "custom_env".
2013 May 07
2
hiera not using non-root user custom fact
...erarchy). The custom fact is definitely defined what it should be but its almost as if it has a differently scope then say a root level custom fact. Because of this hiera data is coming up undefined which causes my classes to fail.
$myvar = hiera(''var-name'') --> should use custom_env and custom_release to help determine where the variable is defined in hiera.
Are custom facts from non root users simply not relayed to hiera?
:hierarchy:
- nodes/%{::fqdn}
- releases/%{custom_release}
- env/%{custom_env}
- common
I have put a bandaid fix in for now which sets these va...