Multiple Puppet Masters Sharing .pp files?

26 views
Skip to first unread message

kevin McCartney

unread,
Mar 5, 2014, 5:48:36 PM3/5/14
to puppet...@googlegroups.com
We have a few different offices. I am looking to setup a puppet master in each location. I would like them to all have the same node definitions so that all offices are working off the same recipes. Is it possible if we have an nfs share that is accessable to all puppet masters that the .pp files could live on there and all masters could reference the same files? If that is an issue I am thinking of having a centralized location where all .pp are edited and then rsynced to all master puppet nodes and saved locally. Any ideas?

Patrick Kelso

unread,
Mar 5, 2014, 6:28:30 PM3/5/14
to puppet...@googlegroups.com
Kevin, I believe your best bet is to use a version control tool, like
Git, to achieve this. This provides not only the ability to deploy
identical configuration to all hosts, but also provides an ability to
roll back changes that are problematic with ease and in the future the
option of having branches for different environments.

There is a good blog post on it here:

http://puppetlabs.com/blog/git-workflow-and-puppet-environments

--
Patrick
0416 366 613
http://patrickkelso.com
@patrickkelso

Garrett Honeycutt

unread,
Mar 5, 2014, 6:36:42 PM3/5/14
to puppet...@googlegroups.com

+1 to Patrick's suggestion of using Git. I'm a big fan of that coupled with librarian-puppet-simple[1] by Dan Bode.

Why have multiple puppet masters? You must already have network connectivity if you are thinking of using NFS, so you might be better served by just running one puppet master service instead of individual masters at each location.

[1] - https://github.com/bodepd/librarian-puppet-simple

-g

--
Garrett Honeycutt
LearnPuppet.com
@learnpuppet 

José Luis Ledesma

unread,
Mar 6, 2014, 1:11:32 AM3/6/14
to puppet...@googlegroups.com

+1 just a one puppet master. If you cannot attack it directly from clients, set up a proxy in each location.

Regards

--
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/a46433ec-ec23-4029-a4aa-99d65b9829ac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages