On May 21, 2010, at 13:50 , Douglas Garstang wrote: > On Fri, May 21, 2010 at 9:40 AM, R.I.Pienaar <r...@devco.net> wrote: >> >> ----- "Nigel Kersten" <nig...@google.com> wrote: >> >>>> >>>> >>>> Is something like extlookup what you're really looking for? >>>> http://code.google.com/p/extlookup/ >>>> You have a bunch of parameters per host that you wish to be able to >>> update >>>> programmatically, so you put all of this into an external data file >>> so you >>>> can look up the relevant parameters per host? >>>> (I haven't followed all the back and forth in this thread sorry, so >>>> apologies if this has been covered.) >>> >>> Nigel, >>> >>> Hadn't seen that. Thanks. That looks to be a possibility, and is >>> exactly the type of problem I am trying to solve. YAML would be better >>> than csv, and I'm not a ruby zealot so might have to stick with csv >>> for the moment. >> >> Please use the version here: http://www.devco.net/code/extlookup.rb >> >> the googlecode one is kind of in progress. >> >> background info here: >> http://www.devco.net/archives/2009/08/31/complex_data_and_puppet.php > > Thanks. I did a simple test and it seems to work great! > > One issue still remains though. Since we are running multiple > instances of jboss on the same node, I still need to qualify each > variable name with the instance number: > > jboss0_state,running > jboss0_sw_version,1.10.12 > > jboss1_state,running > jboss1_sw_version,1.12.15
Douglas, and what is the difference of putting these variables in an external node classifier under the node itself (not global)? Cheers, Atha > > and so on. Looks like the site.pp takes a facter variable. I wonder if > there is some way I can get around the qualification by putting each > instance in a separate csv file? > > 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-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. > -- 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.