Dear all, Thanks for taking the time to read my msg :) I have two questions, • Can I use puppet to pull the current configuration from a server? • Can I use puppet to replicate the current configuration from a server, to another that has a different OS? If I can do these two tasks, that is pull the current config from a server, and then replicate it elsewhere – I’ll be a hero! --- Kind Regards, Mr Gabriel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Michael Semcheski
2009-Apr-21 17:00 UTC
[Puppet Users] Re: Think I might the idea of puppet
On Tue, Apr 21, 2009 at 7:38 AM, The IT Guru <angelisonline@gmail.com> wrote:> • Can I use puppet to pull the current configuration from a server? > • Can I use puppet to replicate the current configuration from a > server, to another that has a different OS?A puppet client (e.g., running on a server) can pull a configuration from the puppet master (e.g, a different server) and apply it. However, unless I''m mistaken, it will not replicate the current configuration. Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Mr. Gabriel,> • Can I use puppet to pull the current configuration from a server?Yes, this is the default behavior.> > • Can I use puppet to replicate the current configuration from a > server, to another that has a different OS? >Sort of, but there is no such thing as a free lunch. You can model the services in such a way that the differences between OS can be handled, but those differences must be handled explicitly, for example differences in package names or default locations for configuration files from platform to platform must be specified.>--~--~---------~--~----~------------~-------~--~----~ 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 Tue, Apr 21, 2009 at 10:00 AM, Michael Semcheski <mhsemcheski@gmail.com> wrote:> > On Tue, Apr 21, 2009 at 7:38 AM, The IT Guru <angelisonline@gmail.com> wrote: >> • Can I use puppet to pull the current configuration from a server? >> • Can I use puppet to replicate the current configuration from a >> server, to another that has a different OS? > > A puppet client (e.g., running on a server) can pull a configuration > from the puppet master (e.g, a different server) and apply it. > > However, unless I''m mistaken, it will not replicate the current configuration.You can experiment with using ralsh to take the current state of resources and generate puppet manifests with them though. It''s not perfect puppet syntax, but it''s quite good for a lot of the types.> > Mike > > > >-- Nigel Kersten nigelk@google.com System Administrator Google, Inc. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ralsh is a great starting point, but you will still need to have enough tribal knowledge of the OSs you are moving between to make it work. On Tue, Apr 21, 2009 at 11:03 AM, Nigel Kersten <nigelk@google.com> wrote:> > On Tue, Apr 21, 2009 at 10:00 AM, Michael Semcheski > <mhsemcheski@gmail.com> wrote: > > > > On Tue, Apr 21, 2009 at 7:38 AM, The IT Guru <angelisonline@gmail.com> > wrote: > >> • Can I use puppet to pull the current configuration from a > server? > >> • Can I use puppet to replicate the current configuration from a > >> server, to another that has a different OS? > > > > A puppet client (e.g., running on a server) can pull a configuration > > from the puppet master (e.g, a different server) and apply it. > > > > However, unless I''m mistaken, it will not replicate the current > configuration. > > You can experiment with using ralsh to take the current state of > resources and generate puppet manifests with them though. > > It''s not perfect puppet syntax, but it''s quite good for a lot of the types. > > > > > > Mike > > > > > > > > > > > -- > Nigel Kersten > nigelk@google.com > System Administrator > Google, Inc. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---