On Oct 20, 10:18 am, "ollies...@googlemail.com"
<paul.seym...@barcap.com> wrote:
> Taking a brief look at extlookup()
>
> We have a module to setup resolv.conf based on location so we have a %
> {domain}.csv file
Can you post your $extlookup_datadir and $extlookup_precedence values?

>
> 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")
>
> }
This looks correct.

>
> Each value is getting set with the “domainname” value.
What happens if you change the order of the values in the csv file?
>
> 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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to