On Tue, Dec 16, 2008 at 10:36:03AM -0800, Adam Jacob wrote: > > On Dec 15, 2008, at 12:58 PM, Eric Gerlach wrote: > > I do have some questions, however, mostly of the status-checkup > > variety. > > For all of these, assume an implicit "and how can I help?", as I am a > > dev/admin, and I use Ruby for all my scripting already. > > > > 1) Is it possible, using stored configurations, to access all of the > > attributes of all clients from inside a template? > > You can use Stored Configs, which will store Puppet Types in a MySQL > database,
To narrow my question, then: What syntax would one use to access facts from Node A in a template being instantiated by Node B? (Assuming one has stored configs enabled) > or you can use iClassify, which will work as an external > node tool that tracks attributes in a database and indexes them in > Solr. (you can then query the full text search interface from your > templates.) iClassify looks quite neat, but I'm not sure that it's what I'm really looking for in this case. I might add it to my mix later, though. > > 3) I saw some documentation on the wiki about Prefetch and > > Flush[1]. I > > couldn't find any sign of implementation of that in the code. Has > > there > > been any progress made? This would be awesome for apt-get/aptitude on > > Debian. > > > > [1] http://reductivelabs.com/trac/puppet/wiki/PrefetchAndFlush > > I do not believe there has been, but I may be corrected. You likely > don't care, either - it will make a performance difference, but it > likely isn't an optimization that's going to bother you that much. I'm not so much interested in the performance difference, but if I'm installing a bunch of new packages in Debian, I would want them to install together to avoid pulling incorrect dependencies. If they install one at a time, one package might pull in a package I don't want (to satisfy a dependency I'm intending to satisfy with another package). It's not a big deal, as I've had to solve that problem already (just create meta-packages that depend on the real packages you want to install), but prefetch and flush would be a better way to do it. Cheers, -- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
