Alex Leonhardt
2013-Apr-27 08:32 UTC
[Puppet Users] can puppet agent use 2 independent puppet master ?
Hi all, I havent seen a similar post, so thought I''d ask - Is it possible to make a puppet agent use 2 different puppet masters ? E.g. I want to use 1 master to do basic configuration changes, etc. and a 2nd master to do other more application specific changes - the idea is to keep the system changes fully separated from the application changes that would be applied. Any clues / hints / links ? Thanks! Alex -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Peter Brown
2013-Apr-28 23:32 UTC
Re: [Puppet Users] can puppet agent use 2 independent puppet master ?
On 27 April 2013 18:32, Alex Leonhardt <alex.tuxx@gmail.com> wrote:> Hi all, > > I havent seen a similar post, so thought I''d ask - >There have actually been quite a few people asking this very thing. Is it possible to make a puppet agent use 2 different puppet masters ? E.g.> I want to use 1 master to do basic configuration changes, etc. and a 2nd > master to do other more application specific changes - the idea is to keep > the system changes fully separated from the application changes that would > be applied. >Why do you need to do this? The general consensus on using two different puppet masters for a node is that it''s a very bad idea. Doing what you describe about is very easy with one puppet master. I manage a very wide range of services and applications all on one master. I use a bunch of different modules each managing one service.> > Any clues / hints / links ? > > Thanks! > Alex > > -- > 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+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
jcbollinger
2013-Apr-29 13:21 UTC
[Puppet Users] Re: can puppet agent use 2 independent puppet master ?
On Saturday, April 27, 2013 3:32:36 AM UTC-5, Alex Leonhardt wrote:> > Hi all, > > I havent seen a similar post, so thought I''d ask - > > Is it possible to make a puppet agent use 2 different puppet masters ? >One agent is associated with one master. It cannot talk to two. In principle, you could run two independent agents on the same node, talking to different masters, but this is a very bad idea.> E.g. I want to use 1 master to do basic configuration changes, etc. and a > 2nd master to do other more application specific changes - the idea is to > keep the system changes fully separated from the application changes that > would be applied. >Impossible. Your application is dependent on the underlying basic system configuration, so no matter what you do you cannot keep them fully separated. You could draw an arbitrary line somewhere to partition your configured resources between two masters, but all that really would do is make things harder for you by preventing you from expressing relationships between resources assigned to different partitions. There are a number of things you can do to organize resources within a single master. The most basic is to use modules appropriately. If you want physical separation of manifests on your master, then you can add one or more directories to your module path so that you can put your application modules in a separate tree from your base-system modules. There may be other things you can do to address specific concerns. John -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Seemingly Similar Threads
- Renaming puppet binary to use with two puppet agent instances
- attention Puppet Experts: can i run puppet master and agent on same server
- puppet agent / master version compatibility?
- HELP!!! puppet-enterprise-3.1.0-el-6-i386 master/agent test fails
- Mcollective on puppet server and agent?