I would like to set up two puppetmaster servers, one slaving off the other. Can anyone point me towards some documentation for setting it up? I''ve looked, but haven''t had any luck finding anything. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Could you tell us a bit more about what it is you are trying to do? Puppet contains several components, so replication can mean many things. Are you for example just looking to synchronize modules across several puppetmasters, a revision control tool might be what you want. If you''re looking to also duplicate /var/lib/puppet, then maybe a shared disk with an appropriate file system might be what you want. Then there''s load balancing/fail-over, which is a diiferent story again. It all depends on what you''re trying to do. RuneSt. On 12 Nov, 18:29, mcnabb <mcn...@cafes.net> wrote:> I would like to set up two puppetmaster servers, one slaving off the > other. Can anyone point me towards some documentation for setting it > up? I''ve looked, but haven''t had any luck finding anything.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
I have two different networks that I''m managing. I would like to set up a puppetmaster for each network, but it would be nice if I could set up a master/slave relationship somehow between the two puppetmasters so that I only have to make changes to one of them and have it pushed to both networks. On Fri Nov 13 2:01 , Rune Stensø sent:> >Could you tell us a bit more about what it is you are trying to do? > >Puppet contains several components, so replication can mean many >things. Are you for example just looking to synchronize modules across >several puppetmasters, a revision control tool might be what you want. >If you''re looking to also duplicate /var/lib/puppet, then maybe a >shared disk with an appropriate file system might be what you want. >Then there''s load balancing/fail-over, which is a diiferent story >again. It all depends on what you''re trying to do. > >RuneSt. > >On 12 Nov, 18:29, mcnabb mcn...@cafes.net> wrote: >> I would like to set up two puppetmaster servers, one slaving off the >> other. Can anyone point me towards some documentation for setting it >> up? I''ve looked, but haven''t had any luck finding anything. >>--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
You probably also want a development environment when you''ll write/ test your manifests. This could be hooked into a VCS. You''ll develop in a testing branch and merge your tested code into trunk. From there, you can rsync trunk over to /etc/puppet on each of your ''production'' puppet masters. Personally, I recommend reading the BranchTesting Howto on the wiki --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
In this case I would recommend using distributed revision control, for example git or mercurial. Syncronizing between several hosts is what these does well. In my case, I use mercurial on a virtual machine I use for development in my puppet environment. When I''m happy with how it''s working on all test clients, I commit the changes on the test machine, jump to the puppetmaster for production, and pull the changes over. I do this manually, but automating it shouldn''t be very hard. You can also push the changes instead of pulling then. RuneSt. On 13 Nov, 16:07, "mcn...@cafes.net" <mcn...@cafes.net> wrote:> I have two different networks that I''m managing. I would like to set up a > puppetmaster for each network, but it would be nice if I could set up a > master/slave relationship somehow between the two puppetmasters so that I only > have to make changes to one of them and have it pushed to both networks. > > On Fri Nov 13 2:01 , Rune Stensø sent: > > > > >Could you tell us a bit more about what it is you are trying to do? > > >Puppet contains several components, so replication can mean many > >things. Are you for example just looking to synchronize modules across > >several puppetmasters, a revision control tool might be what you want. > >If you''re looking to also duplicate /var/lib/puppet, then maybe a > >shared disk with an appropriate file system might be what you want. > >Then there''s load balancing/fail-over, which is a diiferent story > >again. It all depends on what you''re trying to do. > > >RuneSt. > > >On 12 Nov, 18:29, mcnabb mcn...@cafes.net> wrote: > >> I would like to set up two puppetmaster servers, one slaving off the > >> other. Can anyone point me towards some documentation for setting it > >> up? I''ve looked, but haven''t had any luck finding anything.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
mcnabb@cafes.net wrote:> I have two different networks that I''m managing. I would like to set up a > puppetmaster for each network, but it would be nice if I could set up a > master/slave relationship somehow between the two puppetmasters so that I only > have to make changes to one of them and have it pushed to both networks. >Are there legal/security reasons to keep them segregated? If not, use a fact to differentiate between them. -scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, Nov 13, 2009 at 9:07 AM, mcnabb@cafes.net <mcnabb@cafes.net> wrote:> > I have two different networks that I''m managing. I would like to set up a > puppetmaster for each network. >In this case, I would recommend the following to simplify things: 1. Use revision control (svn, git, etc.) to manage all of the code changes and versions (as everyone else mentioned) 2. Share a CA between both servers just in case machines will need to move between the machines.> it would be nice if I could set up a > master/slave relationship somehow between the two puppetmasters so that I > only > have to make changes to one of them and have it pushed to both networks. > > you can use puppet to manage its own configuration, so that you can justmake changes to the puppet module and it will effect all puppet masters. Its definitely worth reading up on environments http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments since you will probably want to have different code versions for testing and development. You may also want to consider an external node classifier, so that you can set up different parameters per domain. http://reductivelabs.com/trac/puppet/wiki/ExternalNodes There is another tool called extlookup written by a community member that can also help manage per domain variables. Its a pretty open ended question, I hope this puts you on the right path. Dan On Fri Nov 13 2:01 , Rune Stensø sent:> > > > >Could you tell us a bit more about what it is you are trying to do? > > > >Puppet contains several components, so replication can mean many > >things. Are you for example just looking to synchronize modules across > >several puppetmasters, a revision control tool might be what you want. > >If you''re looking to also duplicate /var/lib/puppet, then maybe a > >shared disk with an appropriate file system might be what you want. > >Then there''s load balancing/fail-over, which is a diiferent story > >again. It all depends on what you''re trying to do. > > > >RuneSt. > > > >On 12 Nov, 18:29, mcnabb mcn...@cafes.net> wrote: > >> I would like to set up two puppetmaster servers, one slaving off the > >> other. Can anyone point me towards some documentation for setting it > >> up? I''ve looked, but haven''t had any luck finding anything. > >> > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---