I have a question about configuring a single Enterprise Puppet Master to support 2 control repos.
There are 2 puppet teams who manage different puppet modules in the organisation that I currently work for.
1. Infrastructure Team(a.k.a Production Support Team)
- manage the installation/configuration of nagios, graylog, fail2bahn, supervisor, rkhunter, clamav etc using Puppet/R10K for all projects/applications in all environments.
- This team also does the production env monitoring.
2. Project Development Team
- The project/application development team with a DevOps resource have produced Puppet modules to install the required
software stack components(nginx, node, redis, tomcat, java, mongodb) for the specific application
deploy it along with the configuration files using Puppet/R10K.
There is one PuppetMaster VM for each environment that is shared by both the teams.
Both the teams have their own Control-Repos (project containing the puppet manifests/scripts) in 2 different Git Repositories.
This is downloaded manually on the PuppetMaster using R10K during deployment time.
Both the Control-Repos have different roles/profiles configured for each node(VM) in the different environments. (standard puppet roles/profiles pattern)
The distributed Application is hosted on 7 VMs in each environment (Test, UAT, Production)
I was wondering if there is a standard way to run both team's modules at the same time in Puppet Enterprise 4.x?
Puppet Agent is expected to run once every half an hour in each environment.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/F51B202C-F961-4BFE-AAE6-3C66A00CBAE2%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
This will work but I would caution against it. Only recently has per environment segregation been implemented and there are still some issues present (I believe most fixes showed up in 4.8.0 but not sure). You don't want the same module at two different versions for each group being mixed and matched improperly. But, it's a judgement call if that's more worrisome than an extra PE master.
Hi Thomas, have you tried the `puppet generate type` workflow described on that doc to avoid the problems with environment bleed-through? You said you failed w/the elasticsearch module and I'm wondering if that is because the `generate` stuff is not working, or whether there's another part of the problem.