Ask Your Question

how to run two puppet agents on same server, each pointing to a different master ?

asked 2015-11-03 17:16:01 -0600

charliepup0239 gravatar image

In a case where two teams provides support to same servers (one team provides support up to Operative System and the other team support application layer), and both team have their own Puppet master solution. Can this technically be done and have two puppet agents on same server, each pointing to different master? Windows and Linux servers.

edit retag flag offensive close merge delete


hello guys, thanks for your prompt responses. However, that is not a fit for us because with only one puppet agent installed we are limited to one version. One puppet master is 3.7.4 at this point and not plans for an upgrade at this moment, the other one is 3.8.3 and planning to upgrade to version

charliepup0239 gravatar imagecharliepup0239 ( 2015-11-05 14:57:41 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-11-04 13:53:49 -0600

GregLarkin gravatar image

You definitely do not want to design your Puppet implementation that way. You can achieve your goals by using a single git repository where each team checks in their respective Puppet manifests. Then you'll design a classification strategy to include all of the required classes from both teams to configure your nodes.

edit flag offensive delete link more

answered 2015-11-04 04:05:09 -0600

Cristian Falcas gravatar image

One of the teams will need to run puppet with the "--server" option:

  • You can put a default in /etc/puppet/puppet.conf for team1. They will run puppet with "puppet agent -t" or "puppet agent -t --server"
  • The other team will have to run it like: "puppet agent -t --server"
edit flag offensive delete link more



I have heard of other people implementing it this way. I think ( they had their compliance modules run once a day, and their main config every 30 min. Second puppet run with a cron running puppet agent -t --server sec.master

DarylW gravatar imageDarylW ( 2015-11-13 09:00:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-11-03 17:16:01 -0600

Seen: 1,948 times

Last updated: Nov 04 '15