On Tue, Mar 20, 2012 at 11:35 AM, Douglas Garstang
<[email protected]>wrote:

> I have a 2.7.6 server and a 2.6.4 client. I'm trying to use ext_lookup.
>
> site.pp:
> $extlookup_datadir = "/etc/puppet/manifests/extdata"
> $extlookup_precedence = ["%{fqdn}", "domain_%{domain}", "common"]
>

Try using Puppet variables:  [$fqdn, "domain_${domain}", 'common']



>
> /etc/puppet/manifests/extdata/common.csv:
> key1,var1:
>
> manifest has:
> $var1 = extlookup(“key1”, "Unknown”)
>
> I'm getting error:
> err: Could not match “key1”, at
> /etc/puppet/modules/function/manifests/common.pp:3 on node
> abc.aws.ixxx.com
>
> What's up?
>
> Doug
>
> --
> 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.
>
>


-- 

Gary Larizza
Professional Services Engineer
Puppet Labs

-- 
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.

Reply via email to