I asked this question a few weeks ago. Didn''t get a reply, so I thought I''d try again. Where are people more likely to source external node data from? a) By using extlookup, hiera etc within each puppet module to load data specific to that module, OR b) Having the external node script source everything at once from, say a database, and then dump all the variables that the node will ever need. ? Doug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I''m pulling Hiera data inside the modules. It''s less conceptually elegant than passing the data but much easier to actually make work. On Sep 15, 2011 2:33 PM, "Douglas Garstang" <doug.garstang@gmail.com> wrote:> I asked this question a few weeks ago. Didn''t get a reply, so I > thought I''d try again. > > Where are people more likely to source external node data from? > > a) By using extlookup, hiera etc within each puppet module to load > data specific to that module, OR > b) Having the external node script source everything at once from, say > a database, and then dump all the variables that the node will ever > need. > > ? > > Doug. > > -- > You received this message because you are subscribed to the Google Groups"Puppet Users" group.> To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email topuppet-users+unsubscribe@googlegroups.com.> For more options, visit this group athttp://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 puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I wrote my own with a Redis storage backend. So I use the external node exec terminus. On Sep 15, 2011 5:43 PM, "Aaron Grewell" <aaron.grewell@gmail.com> wrote:> I''m pulling Hiera data inside the modules. It''s less conceptually elegant > than passing the data but much easier to actually make work. > On Sep 15, 2011 2:33 PM, "Douglas Garstang" <doug.garstang@gmail.com>wrote:>> I asked this question a few weeks ago. Didn''t get a reply, so I >> thought I''d try again. >> >> Where are people more likely to source external node data from? >> >> a) By using extlookup, hiera etc within each puppet module to load >> data specific to that module, OR >> b) Having the external node script source everything at once from, say >> a database, and then dump all the variables that the node will ever >> need. >> >> ? >> >> Doug. >> >> -- >> You received this message because you are subscribed to the Google Groups > "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. >> 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 puppet-users@googlegroups.com. > To unsubscribe from this group, send email topuppet-users+unsubscribe@googlegroups.com.> For more options, visit this group athttp://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 puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 16 September 2011 07:32, Douglas Garstang <doug.garstang@gmail.com>wrote:> Where are people more likely to source external node data from? > > a) By using extlookup, hiera etc within each puppet module to load > data specific to that module, OR > b) Having the external node script source everything at once from, say > a database, and then dump all the variables that the node will ever > need. >Both. The rule we have is: - extlookup - more than one host where we can group data - ENC for one off''s -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
It depends on the job you want to do. My project we use an oracle db backend to store our whole environment information for application deployments. So we have a ruby DSL class that is an entry point where it looks up the node in the database and processes it depending on its function. The solution depends on how complex you need it to be. On Sep 15, 2011, at 5:32 PM, Douglas Garstang wrote:> I asked this question a few weeks ago. Didn''t get a reply, so I > thought I''d try again. > > Where are people more likely to source external node data from? > > a) By using extlookup, hiera etc within each puppet module to load > data specific to that module, OR > b) Having the external node script source everything at once from, say > a database, and then dump all the variables that the node will ever > need. > > ? > > Doug. > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > 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 puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thu, Sep 15, 2011 at 8:18 PM, Matthew Black <mjblack@gmail.com> wrote:> It depends on the job you want to do. > > My project we use an oracle db backend to store our whole environment information for application deployments. So we have a ruby DSL class that is an entry point where it looks up the node in the database and processes it depending on its function. > > The solution depends on how complex you need it to be. > > > On Sep 15, 2011, at 5:32 PM, Douglas Garstang wrote: > >> I asked this question a few weeks ago. Didn''t get a reply, so I >> thought I''d try again. >> >> Where are people more likely to source external node data from? >> >> a) By using extlookup, hiera etc within each puppet module to load >> data specific to that module, OR >> b) Having the external node script source everything at once from, say >> a database, and then dump all the variables that the node will ever >> need. >> >> ? >> >> Doug.Thanks guys. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.