Displaying 1 result from an estimated 1 matches for "prodenvdata".
2011 Apr 19
4
Puppet environment can't be used in extlookup (precedence)
..."
$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:
$extdata1 = extlookup(extdata1)
$extdata2 = extlookup(extdata2)
file{"/tmp/test.txt" :
ensure => file,
content =&...