On Dec 17, 2009, at 1:01 PM, R.I.Pienaar wrote: > > > --- > R.I.Pienaar > > On 17 Dec 2009, at 19:19, "Al @ Lab42" <lab42...@gmail.com> wrote: > >> On 17 Dic, 17:28, David Schmitt <da...@dasz.at> wrote: >> >> I find more difficult to write and control this logic in custom facts >> splattered in different modules, rather that in a single >> "infrastructural" class where all variables are defined according to >> custom logic and groupings, or, as I generally do, in a nodes' >> inheritance structure, where there are intermediate node that can >> define networks or geographical locations or whatever groups that are >> inherited by host nodes. >> >> Excuse my ignorance, if someone can enlighten and convince me on the >> advantages of placing the logic of a puppet infrastructure in facts, >> please do it. >> I like to redefine my beliefs :-D >> > > > I use extlookup with sane defaults for any and all configurable > variables in classes, it makes all of this easier > > Julian Simpson is hacking on extlookup at the moment we should soon > have a pligins system so you can replace csv with whatever you > like, there is some support from RL which suggests it will make it > into puppet base when we are done with this process
I've always supported this functionality in Puppet, but I think a function is the wrong long-term solution. However, until we come up with something better, I'm happy to accept extlookup into it, as long as (as planned) something other than CVS is supported as a backend. I've just opened a ticket for this feature: http://projects.reductivelabs.com/issues/2953 I'll open a thread on -dev about how to define this functionality. Plus some other tickets related to this whole thread: http://projects.reductivelabs.com/issues/2954 http://projects.reductivelabs.com/issues/2955 http://projects.reductivelabs.com/issues/2956 And maybe: http://projects.reductivelabs.com/issues/2957 -- Sapolsky's First Law: Think logically, but orthogonally. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com -- 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.