Just wanted to add that if you decide to use environments, and you use an external node classifier, you have to set the environment in each node's puppet.conf for everything to work. I use foreman and set the environment using a puppet.conf template with the undocumented (I think) foreman_env variable.
I use 3 environments, dev, staging, and production, and have a script on the master that lets me publish changes committed to our svn server to any environment. It works pretty well so far. Adam On Mar 7, 1:20 am, Gonzalo Servat <gser...@gmail.com> wrote: > Hi All, > > I tried to implement a second Puppet server as a "staging" server with the > idea of being able to run puppet in dry run mode against this staging > server. > > I ran into some SSL trouble. When I point at the staging server, I get > various SSL related errors and I assume it's because the ca cert is > different. I can get around it by clearing /var/lib/puppet/ssl and > regenerating/signing the certificate, but I have to do the same thing when > I go back to the production server which is not what I was hoping for. > > Has anyone done this sort of thing? How'd you get around the SSL issues? I > could use the same CA cert on both Puppet servers but I assume that won't > work as the hostnames are different? > > Thanks in advance > Gonzalo -- 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.