Hi all I''ve been running an excellent puppet setup over the last ten months with Ubuntu Gutsy clients talking to an Ubuntu Gutsy server. Gutsy ships with Puppet 0.22.4-2. The time has come however to try and start supporting Hardy clients and they are running 0.24.4-3. An initial test run shows significant problems - the main one being that the newer client doesn''t seem to be able to find sources served our by the old puppetmaster. Does anybody have any words of wisdom for somebody like me? Should I be upgrading the existing server or will that break the old clients? Do I need to run two servers? Should I just install old clients on Hardy via gem instead of apt? Am I in for a long hard slog ? Any comments gratefully received. I''ll try and write up my eventual solution for the benefit of others. Ian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Peter Meier
2008-Sep-03 07:48 UTC
[Puppet Users] Re: Migrating Gutsy puppet clients to Hardy
Hi> Does anybody have any words of wisdom for somebody like me? Should I > be upgrading the existing server or will that break the old clients?the server should be always the latest. only older clients to newer servers are supported.> Do I need to run two servers? Should I just install old clients on > Hardy via gem instead of apt? Am I in for a long hard slog ?maybe pinpoint packages? I would recommend you to use always the same versions on server and clients. It''s a lot easier!> Any comments gratefully received. I''ll try and write up my eventual > solution for the benefit of others.Maybe you find already things here: http://reductivelabs.com/trac/puppet/wiki/UPGRADE greets pete --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
James Turnbull
2008-Sep-03 07:48 UTC
[Puppet Users] Re: Migrating Gutsy puppet clients to Hardy
Ian Some broad guidance - upgrade the server first and then the clients. In most cases old client to new server is backward compatible (with some notable bugs - some of which are documented at http://reductivelabs.com/trac/puppet/wiki/UPGRADE). New client and old server on the other hand rarely, if ever, works. Cheers James Turnbull -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/)
Ohad Levy
2008-Sep-03 07:49 UTC
[Puppet Users] Re: Migrating Gutsy puppet clients to Hardy
Use the same puppet version on all of your clients and server, this will safe you a lot of pain. Its fairly easy to rebuild the deb packages with a newer set of code, ( if someone didn''t do it already). Ohad On Wed, Sep 3, 2008 at 10:24 AM, Ian J Cottee <icottee@bluefountain.com>wrote:> > Hi all > > I''ve been running an excellent puppet setup over the last ten months > with Ubuntu Gutsy clients talking to an Ubuntu Gutsy server. Gutsy > ships with Puppet 0.22.4-2. The time has come however to try and start > supporting Hardy clients and they are running 0.24.4-3. An initial > test run shows significant problems - the main one being that the > newer client doesn''t seem to be able to find sources served our by the > old puppetmaster. > > Does anybody have any words of wisdom for somebody like me? Should I > be upgrading the existing server or will that break the old clients? > Do I need to run two servers? Should I just install old clients on > Hardy via gem instead of apt? Am I in for a long hard slog ? > > Any comments gratefully received. I''ll try and write up my eventual > solution for the benefit of others. > > Ian > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Bjørn Dyre Dyresen
2008-Sep-03 08:13 UTC
[Puppet Users] Re: Migrating Gutsy puppet clients to Hardy
2008/9/3 Peter Meier <peter.meier@immerda.ch>> > Hi > > > Does anybody have any words of wisdom for somebody like me? Should I > > be upgrading the existing server or will that break the old clients? > > the server should be always the latest. only older clients to newer > servers are supported. > > > Do I need to run two servers? Should I just install old clients on > > Hardy via gem instead of apt? Am I in for a long hard slog ? > >We are just in the end of the same process. We actually had trouble getting the gutsy clients working properly with the server being shipped with hardy. The solution was to run the puppetmaster on hardy as well. I would not say you are in for a long hard slog. If you want to you just move the puppetmaster configuration over to a hardy server, and have the clients talk to this server after they are upgraded. Im not sure this is needed anymore as we started this process when hardy was in late beta modus. Running two servers are not really a problem either. You can keep all the configuration in eg subversion and have the servers in sync. Like everybody else say. The best way to stay clean of troubles are to run the same version on the server and the clients. Regards Dyresen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ian J Cottee
2008-Sep-05 08:59 UTC
[Puppet Users] Re: Migrating Gutsy puppet clients to Hardy
To everybody who replied to this, many thanks. Everyone''s contribution was extremely useful. I setup a VMWare environment to simulate our live environment and have decided to run a gutsy server for the old clients and a hardy server for the new. Just need to find a way within puppet manifests of telling what my target machine is running (pref without having to explicitly stating). Thanks again all - was a lot less painful than I expected. Ian On Wed, Sep 3, 2008 at 8:24 AM, Ian J Cottee <icottee@bluefountain.com> wrote:> Hi all > > I''ve been running an excellent puppet setup over the last ten months > with Ubuntu Gutsy clients talking to an Ubuntu Gutsy server. Gutsy > ships with Puppet 0.22.4-2. The time has come however to try and start > supporting Hardy clients and they are running 0.24.4-3. An initial > test run shows significant problems - the main one being that the > newer client doesn''t seem to be able to find sources served our by the > old puppetmaster. > > Does anybody have any words of wisdom for somebody like me? Should I > be upgrading the existing server or will that break the old clients? > Do I need to run two servers? Should I just install old clients on > Hardy via gem instead of apt? Am I in for a long hard slog ? > > Any comments gratefully received. I''ll try and write up my eventual > solution for the benefit of others. > > Ian >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Paul Lathrop
2008-Sep-05 19:13 UTC
[Puppet Users] Re: Migrating Gutsy puppet clients to Hardy
If you install lsb-release, you should be able to get the information from facter, which will end up in Puppet as a variable you can use a case statement on. --Paul On Fri, Sep 5, 2008 at 1:59 AM, Ian J Cottee <icottee@bluefountain.com> wrote:> > To everybody who replied to this, many thanks. Everyone''s contribution > was extremely useful. > > I setup a VMWare environment to simulate our live environment and have > decided to run a gutsy server for the old clients and a hardy server > for the new. > > Just need to find a way within puppet manifests of telling what my > target machine is running (pref without having to explicitly stating). > > Thanks again all - was a lot less painful than I expected. > > Ian > > On Wed, Sep 3, 2008 at 8:24 AM, Ian J Cottee <icottee@bluefountain.com> wrote: >> Hi all >> >> I''ve been running an excellent puppet setup over the last ten months >> with Ubuntu Gutsy clients talking to an Ubuntu Gutsy server. Gutsy >> ships with Puppet 0.22.4-2. The time has come however to try and start >> supporting Hardy clients and they are running 0.24.4-3. An initial >> test run shows significant problems - the main one being that the >> newer client doesn''t seem to be able to find sources served our by the >> old puppetmaster. >> >> Does anybody have any words of wisdom for somebody like me? Should I >> be upgrading the existing server or will that break the old clients? >> Do I need to run two servers? Should I just install old clients on >> Hardy via gem instead of apt? Am I in for a long hard slog ? >> >> Any comments gratefully received. I''ll try and write up my eventual >> solution for the benefit of others. >> >> Ian >> > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---