Ask Your Question
2

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

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

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
6

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

ramindk gravatar image

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

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 puppetmaster01.lax.example.com then the name the clients should connect to should be puppet.example.com . 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 ...

(more)
edit flag offensive delete link more

Comments

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 -0500 )edit
1

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

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

Stats

Asked: 2013-10-29 09:44:53 -0500

Seen: 5,999 times

Last updated: Nov 01 '13