On Fri, 2010-10-22 at 14:57 -0700, Matt Wise wrote:
> Agreed... I use extlookup for our external arrays — but I cannot use it for 
> hash's. Hashes are sometimes the only sane way to go, so I'm hoping to see 
> more advanced hash support soon. Really we have a case where we're going to 
> be pulling live data from a SQL database during each run, and dumping it out 
> in a hash format of some kind is the best thing for our use-case. 

I've got a script on Github that allows you to turn the 'ksmeta' field
from Cobbler into custom facts, I'm sure it wouldn't take too much to
turn it into a hash-lookup script as this is effectively what it does
anyway...

The script is at
http://github.com/proffalken/cobbler-puppet/blob/master/puppet/lib/facter/system_setup.rb
 

Kind regards,

Matt

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