On Sun, May 30, 2010 at 6:40 AM, Luke Kanies <[email protected]> wrote:
> On May 28, 2010, at 5:48 AM, Ohad Levy wrote: > > Hi, > > a while ago I've created http://github.com/ohadlevy/puppet-lookup, which > is based on extlookup, but support loading data from modules. > > I use it in the context of modules which i don't want internal puppet users > to modify, so they can change in their location based module (so the lookup > is generally inside a module - and across modules). > > > Nice. > One thing to highlight, is that each lookup can define its own search path (for data files) or fall back to a default, so far this has been very useful for me in various contexts. > > Foreman also supports external variables lookup (with dynamic order) since > version 0.1-4. > > > Can you explain what this means? How does Puppet use it? And do you use > this in combination with puppet-lookup, or instead? > This was originally designed as a request from rip to provide a different data store to extlookup. it works in a similar manner, that you can define the lookup order per variable, and you can define the variables in Foreman gui. My main problem with this approach is its scalability - at the moment, is almost the same as putting the data in one big file in terms of logic (who can edit what, what can be defined as the order etc, is still very raw at the moment). -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
