Joel, Would a template be more what you are looking for? I've only done a couple of very simple templates myself, but it sounds like the sort of thing that it would be suited to - provided you can get the required info to the .erb file...
Greg On May 27, 9:24 am, Joel Heenan <[email protected]> wrote: > I have an XML file which contains a list of services for a piece of > middleware, where a service is a tuple: ServiceType, IP Address, Port > number. > > I would like to generate this file automatically for each node whenever I > add a new service into puppet. I think external resources are the way to go > about this but I'm not sure how to proceed from there: > > Do I need to code up my own Puppet Type, I guess something like the sshkey > type, and have it output the XML file? Or can I concatenate files similar to > David Schmitt's technique in his modules-common? > > Joel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
