On Nov 18, 5:28 pm, Lars Francke <lars.fran...@gmail.com> wrote: [...] > But I guess that doesn't work because a resource may be managed multiple > times. > > Any ideas how to solve this?
There are two basic approaches you can use, separately or together, depending on how granularly you want to manage these resources. 1) As Joshua mentioned, virtual resources are one of them. They allow you to declare (once) all the resources any of your systems might need, and then "realize" per-system those you do need, possibly multiple times each. 2) Factor out common resources into separate classes. You cannot declare the same resource multiple times in one configuration, but you can include a class any number of times. This is a good general practice even when you're not currently having trouble, because it helps avoid future problems. Good Luck, John -- 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.