Hi all, I am new in puppet world so please excuse my lack of knowledge ... I am going to use puppet to manage our hosts but because my lack of knowledge whether I deploy configuration changes the right way I would like to deploy them first on some hosts, then wait a few days, then on another group of hosts, wait a few days etc. So it would be good to group all nodes into groups - something like (pseudo-code): group pre-testing { host02.domain host-other.domain <... 10 other hosts ...> } group testing { host115.domain host-other-10.domain <... 50 other hosts ...> } group pre-production { host-spare.domain <... 35 other hosts ...> } group production { host-main.domain <... 135 other hosts ...> } and then apply the change on just "pre-testing", wait a few days, apply on just "testing", wait a few days and then apply on "pre-production" etc. (sort of deployment in stages). I am not able to group nodes based on application running on it nor hardware architecture - the environment is mixed so I need to put this particular node to this particular group etc How would you organise that approach in puppet ? Thanks in advanced -- 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.
Nathan Valentine
2013-Apr-02 22:36 UTC
Re: [Puppet Users] Grouping hosts for stage deployment
Hi, You probably want to look at implementing a simple deployment pipeline using Puppet environments and Git branches. Here''s a URL for getting started: https://puppetlabs.com/blog/git-workflow-and-puppet-environments/ On Tue, Apr 2, 2013 at 9:27 AM, ForumUser <p.bak@cmcmarkets.com> wrote:> Hi all, > > I am new in puppet world so please excuse my lack of knowledge ... > > I am going to use puppet to manage our hosts but because my lack of > knowledge whether I deploy configuration changes the right way > I would like to deploy them first on some hosts, then wait a few days, > then on another group of hosts, wait a few days etc. > So it would be good to group all nodes into groups - something like > (pseudo-code): > > group pre-testing { > host02.domain > host-other.domain > <... 10 other hosts ...> > } > > group testing { > host115.domain > host-other-10.domain > <... 50 other hosts ...> > } > > group pre-production { > host-spare.domain > <... 35 other hosts ...> > } > > group production { > host-main.domain > <... 135 other hosts ...> > } > > and then apply the change on just "pre-testing", wait a few days, apply on > just "testing", wait a few days and then apply on "pre-production" etc. > (sort of deployment in stages). > I am not able to group nodes based on application running on it nor > hardware architecture - the environment is mixed > so I need to put this particular node to this particular group etc > > How would you organise that approach in puppet ? > > Thanks in advanced > > -- > 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. > > >-- --- Nathan Valentine - nathan@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 *Join us at PuppetConf 2013, August 22-23 in San Francisco - * http://bit.ly/pupconf13 -- 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.
Thanks for the link - it seems interesting :-) But in general: how do you guys cope with big infrastructure and especially control the impact a human error made on large number of nodes ? What is you experience in this topic ? Thanks in advanced Seamie On Tuesday, 2 April 2013 17:27:01 UTC+1, ForumUser wrote:> > Hi all, > > I am new in puppet world so please excuse my lack of knowledge ... > > I am going to use puppet to manage our hosts but because my lack of > knowledge whether I deploy configuration changes the right way > I would like to deploy them first on some hosts, then wait a few days, > then on another group of hosts, wait a few days etc. > So it would be good to group all nodes into groups - something like > (pseudo-code): > > group pre-testing { > host02.domain > host-other.domain > <... 10 other hosts ...> > } > > group testing { > host115.domain > host-other-10.domain > <... 50 other hosts ...> > } > > group pre-production { > host-spare.domain > <... 35 other hosts ...> > } > > group production { > host-main.domain > <... 135 other hosts ...> > } > > and then apply the change on just "pre-testing", wait a few days, apply on > just "testing", wait a few days and then apply on "pre-production" etc. > (sort of deployment in stages). > I am not able to group nodes based on application running on it nor > hardware architecture - the environment is mixed > so I need to put this particular node to this particular group etc > > How would you organise that approach in puppet ? > > >-- 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.
Hi Nathan, I have read the this URL but one thing concerns me: what if each environment consists different servers (as it should be) ? How to deal with it using git ? On Tuesday, 2 April 2013 23:36:43 UTC+1, Nathan Valentine wrote:> > Hi, > > You probably want to look at implementing a simple deployment pipeline > using Puppet environments and Git branches. Here''s a URL for getting > started: > > https://puppetlabs.com/blog/git-workflow-and-puppet-environments/ > > > > On Tue, Apr 2, 2013 at 9:27 AM, ForumUser <p....@cmcmarkets.com<javascript:> > > wrote: > >> Hi all, >> >> I am new in puppet world so please excuse my lack of knowledge ... >> >> I am going to use puppet to manage our hosts but because my lack of >> knowledge whether I deploy configuration changes the right way >> I would like to deploy them first on some hosts, then wait a few days, >> then on another group of hosts, wait a few days etc. >> So it would be good to group all nodes into groups - something like >> (pseudo-code): >> >> group pre-testing { >> host02.domain >> host-other.domain >> <... 10 other hosts ...> >> } >> >> group testing { >> host115.domain >> host-other-10.domain >> <... 50 other hosts ...> >> } >> >> group pre-production { >> host-spare.domain >> <... 35 other hosts ...> >> } >> >> group production { >> host-main.domain >> <... 135 other hosts ...> >> } >> >> and then apply the change on just "pre-testing", wait a few days, apply >> on just "testing", wait a few days and then apply on "pre-production" etc. >> (sort of deployment in stages). >> I am not able to group nodes based on application running on it nor >> hardware architecture - the environment is mixed >> so I need to put this particular node to this particular group etc >> >> How would you organise that approach in puppet ? >> >> Thanks in advanced >> >> -- >> 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 <javascript:>. >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> Visit this group at http://groups.google.com/group/puppet-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > --- > Nathan Valentine - nat...@puppetlabs.com <javascript:> > Puppet Labs Professional Services > GV: 415.504.2173 > Skype: nrvale0 > > *Join us at PuppetConf 2013, August 22-23 in San Francisco - * > http://bit.ly/pupconf13 >-- 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.