And for what its worth this afternoon just to see how hard it is and to again ask to myself 'wtf has no-one done this yet?' and also 'wtf are people at Puppet Labs reinventing this wheel?' I wrote a new extlookup that has pluggable backends.
It has a 100% backward compatible CSV backend and new a YAML backend Backends are easy to add - I will make the interface a little bit better in future and I, again, wish Puppet Labs would fix bugs that make it easier to deploy Util classes into masters. Rather than abuse global variables I added a simple YAML based config file. So, again, I hacked this up this afternoon, its early days and no doubt can be improved. Feedback welcome https://github.com/ripienaar/puppet-extlookup ----- Original Message ----- > Thanks Ohad, this looks very interesting. > > > On Fri, May 27, 2011 at 11:07 AM, Ohad Levy < [email protected] > > wrote: > > > > fyi, https://github.com/ohadlevy/puppet-lookup exists for a long time > too, it also allows you to put your actual data files inside your > modules (or mulitple modules with a search / prio path). > > > Ohad > > > > > > On Fri, May 27, 2011 at 7:30 PM, Aaron Grewell < > [email protected] > wrote: > > > > > > FYI, if you haven't seen ymllookup it's unofficial but worth a test: > http://projects.puppetlabs.com/issues/4433 > > For those of us that find extlookup useful ymllookup takes it to the > next level and allows lookups in YAML. Having the ability to lookup > arrays of hashes has made life so much easier for me. > > > -- > 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 . > > > > -- > 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 . > > > > -- > 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. > -- R.I.Pienaar -- 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.
