Oh, I apologize.  After re-reading your original post I see you clearly stated 
that.  You'll have to use extlookup:

http://blog.klavsen.info/content/extlookup-puppet-extension-you-cant-live-without

You can make two calls to get the ipaddress,  once in the classes and once in 
your node definition.  Like I said, I've never used it but it others swear by 
it.

On Feb 3, 2010, at 2:33 PM, John Lyman wrote:

>> You could use stored configs and collect all the values for all the hosts on 
>> all the hosts.
> 
> This won't work in my case because I need the value from a host
> *before* the host actually has puppet installed and running.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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