can puppet manage puppet agents or puppetmasters?

34 views
Skip to first unread message

Larry Fast

unread,
Feb 8, 2014, 11:53:26 PM2/8/14
to puppet...@googlegroups.com

I'm looking at this thread from ask.puppetlabs and so far the the only answer seems to be - don't use puppet to manage puppet.  I'm asking the broader community because I'm still naively hopeful that puppet can manage its own installations.  Is there anything in Puppet Enterprise that supports this? Is there a best practice for how to update or reconfigure puppet installations? Or is this problem too self referencial and completely out of scope for the puppet system?




Felix Frank

unread,
Feb 9, 2014, 6:18:24 PM2/9/14
to puppet...@googlegroups.com
Hi,

I just voted for Martin Alfke's recent answer. Specifically, I recommend
to prefer cron over the running agent, that makes agent management much
easier. Updating puppet and its configuration can be done via puppet easily.

HTH,
Felix

Sterling Windmill

unread,
Feb 9, 2014, 12:49:12 AM2/9/14
to puppet...@googlegroups.com
Larry,

I would assume that a "masterless" puppet could configure your puppet master and/or agent if desired. You would need to have puppet itself and the necessary manifests/modules available to you but what it sounds like you're looking for sounds imminently doable.

You may want to just consider going "masterless" across the board.

-Sterling

On Feb 8, 2014, at 6:53 PM, Larry Fast <lfas...@gmail.com> wrote:


I'm looking at this thread from ask.puppetlabs and so far the the only answer seems to be - don't use puppet to manage puppet.  I'm asking the broader community because I'm still naively hopeful that puppet can manage its own installations.  Is there anything in Puppet Enterprise that supports this? Is there a best practice for how to update or reconfigure puppet installations? Or is this problem too self referencial and completely out of scope for the puppet system?




--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/06df5e93-cf9c-4f53-b06c-9413b5346a1a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Jason Antman

unread,
Feb 10, 2014, 12:29:27 PM2/10/14
to puppet...@googlegroups.com
There are some issues with Puppet restarting (or stopping) itself.
Beyond that, yes, I use puppet modules to manage the configuration of
all of my masters and agents.

There's a puppetlabs-puppet module, but it's horribly out of date. At
the moment, I'm using a fork (https://github.com/jbouse/puppetlabs-puppet).

I use an ENC; to do the initial bootstrap of a new Puppet master, I have
a frozen copy of the YAML returned by my ENC, and a puppet.conf that
uses it in local, masterless mode.

-Jason

Thomas Noonan II

unread,
Feb 10, 2014, 12:36:05 PM2/10/14
to puppet...@googlegroups.com, ja...@jasonantman.com
I, too, have a puppet module that configures puppet. In my experience
it isn't really any different than puppet managing any other daemon,
with one glaring exception. That exception is that if you push out a
bad puppet conf with puppet, then you're gonna have to go in and fix all
your nodes without puppet. I've done this and it isn't fun,
fortunately the environment was only a few dozen servers. If you're
going to manage puppet with puppet be sure to thoroughly test changes
before committing. (Which, honestly, you should be doing anyway. This
particular case is just especially unforgiving.)

-- Tom Noonan II
Reply all
Reply to author
Forward
0 new messages