Taking a brief look at extlookup()
We have a module to setup resolv.conf based on location so we have a %
{domain}.csv file
more /etc/puppetlabs/puppet/envs/legacy/extdata/ldt.csv
domainname,my.domain.com
resolvers,10.10.10.10 10.10.10.11
searchpath,sub.my.domain.com sub2.my.domain.com
class resolver::setup {
$searchpath = extlookup("searchpath")
$resolvers = extlookup("resolvers")
$resolvdomainname = extlookup("domainname")
}
Each value is getting set with the “domainname” value.
This is with Puppet v2.6.9
Am I doing something wrong here ?
Thanks
Paul
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.