On Friday, January 24, 2014 12:51:07 PM UTC+1, LoreLLo wrote: > > >Basically my situation is the following: > >- A database server > >- Several web application servers. > > We have a similar environment and the solution we adopted is very simple: put > the "if ! defined" inside the exported resource and of course make the name > of the resource unique between the web application servers. > All the webservers will export the resource database, the database host > will collect them but the resource will be created only on the first > occurrence in the catalog. > This is a general pattern that we use for mysql database, memcache > instances, etc... >
That's an interesting solution. I'll try that out. Krist -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d937a29b-bb0d-4dc1-8f84-a387b0155d6b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
