Hi, Although I don't run puppet behind nginx, I know well nginx (for using it as a proxy for several years, and for contributing a module).
On Wed, 2008-10-15 at 11:12 +0200, Kenneth Holter wrote: > I have a simple question about running multiple puppetmasters with > nginx/mongrel. The sample nginx config file found on the puppet web > site defines something like this: > [snipped config] > > This configuration means that I can run multiple puppetmasters, one > for each of the ports defined under "upstream" in the above config > file. As far as I can understand, all of these puppetmasters must use > the same manifests. I mean, when puppet nodes connects to port 8140, > they will be redirected to one of the puppetmasters determined by > nginx. Therefor, all these puppetmasters must run the same manifests. > Is this correct? Yes, because you don't know which master your client will be connected to. This will be one of the "upstream" puppet-production pool. > Furthermore, if I want a separate puppetmaster (but running the same > manifests) for our test-environments, I can simply add a new port (for > example 8150), have to nodes connect to this port, and make sure there > is a puppetmaster running to connect to. True? Yes. Or you can add a new server {} block in your nginx configuration, bound to another port, that directs communication to another "upstream" block that knows your development master's port. Hope that helps, -- Brice Figureau <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---