Displaying 1 result from an estimated 1 matches for "extdata1".
Did you mean:
extdata
2011 Apr 19
4
Puppet environment can't be used in extlookup (precedence)
...duce it:
-----------------------------
- In "/etc/puppet/manifests/site.pp" :
$extlookup_datadir = "/etc/puppet/manifests/extdata"
$extlookup_precedence=["%{fqdn}","%{environment}","common"]
- In "/etc/puppet/manifests/extdata/common.csv"
extdata1,"CommonData1"
extdata2,"CommonData2"
- In "/etc/puppet/manifests/extdata/production.csv"
extdata1,"ProdEnvData"
- In "/etc/puppet/manifests/extdata/myhostname.domain.local.csv"
extdata2,"HostData"
- In a manifest, test it with:
$extdata...