Ask Your Question

I want to run puppet master and puppet agent on the same server - is that possible?

asked 2013-10-29 09:44:53 -0600

Thynan gravatar image

The reason is, that i want to have other services running on the puppet master server (monitoring, git...) which should be managed by the puppet master. So essentially the puppet master should puppetize itself.

I cant use the standalone installation, because have other servers which should be managed by the master.

I'm new to puppet, so please excuse me if this doesn't make any sense, or if I have some basic misunderstanding here...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-10-29 12:23:22 -0600

ramindk gravatar image

updated 2013-10-29 13:02:02 -0600

It is possible and I believe the majority of installations manage their Puppet master via Puppet. However many new users of Puppet are often fear automating important infrastructure like their Puppet master when they are less than comfortable with Puppet.

A few things that might help

  • Use a CNAME for your master. If the host is then the name the clients should connect to should be . Makes things simpler if you ever need to move the master.

  • Use the CNAME as part of the cert. In order to do this when you install ...

edit flag offensive delete link more



if you don't want to mix up server and client certificates, you can use different ssldir values in [master] and [agent] sections

zwopiR gravatar imagezwopiR ( 2013-11-07 09:46:25 -0600 )edit

This has worked for me and seems a relatively simple way of dealing with it. I changed the entry for the master, as that will allow me to stick to default on all the clients and I'll only have to remember (document) the deviation from default on the master. I am surprised that this is not default

richard.wonka gravatar imagerichard.wonka ( 2018-09-03 07:22:57 -0600 )edit

answered 2013-11-01 17:15:33 -0600

keshab gravatar image

Puppet server runs both master and agent, so If you want to try puppet server to act like agent to itself just run:

puppet agent --test

on server

edit flag offensive delete link more

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: 2013-10-29 09:44:53 -0600

Seen: 7,163 times

Last updated: Nov 01 '13