Displaying 1 result from an estimated 1 matches for "facter_env_name".
2013 Jul 25
5
Heria, Facts, and Puppet
...ommon
- ''%{env_name}''
:yaml:
:datadir: /var/lib/hiera/data
and, a file envXX.yaml store in the datadir, and I can run *hiera xyz
env_name=envXX* to get the the value of abc associate with xyz.
Yet, if I export the value variable env_name by *export FACTER_env_name=*envXX,
and run:
*puppet apply -e ''include my_module
*
puppet will complaint that it can''t find data store in envXX.yaml. From
the debug output,
debug: importing
''/Users/cliang/.puppet/modules/puppet_flux2_config/manifests/init.pp'' in
environment producti...