[Puppet Users] Re: Some high-level pre-install questions

2008-12-17 Thread Adam Jacob
On Dec 17, 2008, at 9:28 AM, Eric Gerlach wrote: > Which is what I'm interested in doing :-) > > Based on the second quote, there, if I'm understanding this > correctly, I could > do something like (stealing a bit from the Capistrano example): > > --- /etc/hosts.erb > <% require 'iclassify' > >

[Puppet Users] Re: Some high-level pre-install questions

2008-12-17 Thread Eric Gerlach
On Tue, Dec 16, 2008 at 11:14:32PM -0800, Adam Jacob wrote: [snip] > It's not like you can use the facts in a template directly. [snip] > Yep - the only reason you would care is if you can't access facts from > Node A in a template on Node B via stored configs, whcih I don't > believe you

[Puppet Users] Re: Some high-level pre-install questions

2008-12-16 Thread Adam Jacob
On Dec 16, 2008, at 4:12 PM, Eric Gerlach wrote: >> >> 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

[Puppet Users] Re: Some high-level pre-install questions

2008-12-16 Thread Eric Gerlach
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 R

[Puppet Users] Re: Some high-level pre-install questions

2008-12-16 Thread Adam Jacob
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 con