Displaying 1 result from an estimated 1 matches for "envxx".
Did you mean:
nvxx
2013 Jul 25
5
Heria, Facts, and Puppet
...for me when running puppet apply -e
''include ...'' for looking heria via facter fact.
I have hiera configure as this,
:backends:
- yaml
:hierarchy:
- common
- ''%{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''...