On 01/12/2011 05:08 PM, Robin Lee Powell wrote: > On Tue, Jan 11, 2011 at 12:07:30PM -0800, Robin Lee Powell wrote: >> On Tue, Jan 11, 2011 at 05:20:38AM -0800, Al @ Lab42 wrote: >>> >>> You can build a file based on different "fragments" at least in >>> 2 ways: >>> >>> - When you specify an array of templates , when using the >>> content => argument, these templates are actually appended in >>> the defined order. >> >> Can you use exported resources to generate such an array? > > Anybody? I can see how to generate resources from lots of hosts and > run it on one host, but I can't see how to generate a config file > out of all of that information.
If you use a concat mechanism as described in this thread, you can have each of your machines export a respective snippet and the target machine realizes those and concatenates them to your config file. HTH, Felix -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.