On Fri, May 21, 2010 at 9:22 AM, Douglas Garstang <doug.garst...@gmail.com>wrote:
> On Fri, May 21, 2010 at 9:07 AM, Nigel Kersten <nig...@google.com> wrote: > > > > > > On Fri, May 21, 2010 at 8:56 AM, Douglas Garstang < > doug.garst...@gmail.com> > > wrote: > >> > >> On Fri, May 21, 2010 at 1:15 AM, Ken Barber <k...@bob.sh> wrote: > >> > Douglas - what you are trying to do isn't supported in say 0.25.x > >> > without compromising. I think the discussion regarding you using > >> > external nodes is a waste of time - I'd rather divert the conversation > >> > instead talk about what you might want in an ideal world. > >> > >> Ken, what I am trying to do is pretty simple in concept. We would like > >> to be able to update our node manifests programatically via scripts. > >> Parsing and updating the node manifest files is of course doable, but > >> not ideal. If all the node details were stored in a more standard > >> format, like yaml for example, and then some process was run to > >> convert the yaml files to node manifests, this would be great. Sounds > >> like external nodes doesn't it? > > > > > > 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. > Yep. It's not particularly difficult to write some simple wrapper functions that retrieve data out of any format file you want. > > I also don't know what version of puppet this will work with. We're on > 0.24.8 still... production environment and all... > I honestly feel that 0.25.4 (can't speak for 0.25.5 yet) is more stable and functional than 0.24.8. > > Another alternative... just use some sort of templating system on the > node manifests and run them through that. > That feels the wrong way around for the problem you're trying to solve in my opinion. You shouldn't have to mess with the model to add a new host, you should be able to apply the same model but add new data for it. > 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<puppet-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- nigel -- 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.