Hello All, I just joined this group and am not sure this question has been answered before. How do you apply configuration changes to a set of hosts? I know this works, but was looking for a more elegant method. node host1,host2,host3{ include xxxx..... } Thanks in advance. -- 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.
Hi Bob, Welcome to the puppet forums! How do you apply configuration changes to a set of hosts?> > I know this works, but was looking for a more elegant method. > > node host1,host2,host3{ > > include xxxx..... > > } > <http://groups.google.com/group/puppet-users?hl=en> >For more advanced management of hosts, you should consider using an external node classifier. http://reductivelabs.com/trac/puppet/wiki/ExternalNodes There is a popular community tool called foreman which is an implementation of an external node classifier. http://theforeman.org/ regards, Dan -- 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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Bode wrote:> Hi Bob, > > Welcome to the puppet forums! > > > How do you apply configuration changes to a set of hosts? > > I know this works, but was looking for a more elegant method. > > node host1,host2,host3{ > > include xxxx..... >In 0.25.0 and later you can also use regular expressions to match nodes. http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#matching-nodes-with-regular-expressions Regards James Turnbull - -- Author of: * Pro Linux System Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJLDcEIAAoJECFa/lDkFHAy9wYH/RgX+fv12bytEsBZe+KGrk8m pdw7D50PR5pIS1ME4FsyC2rc+IFvnwaJsxuUKms/tcoKlytUYGKtSrShC/t9TRpg caQeKd/u1uvV4FmEuZT3ccS15NCjLA6e2A/BbxRH++ol1GkmIcyyiePRXueZ2TPl +EO/xP75+IamY/HKZjsAXRiagsgZUQMJHmJlGAfFH54zhshnQ5W1orcEA1q+60Ge KFB1Gt/MUd/hIVHgG3cs2rDElM2B9ORFZA/MQtBEcUU1V3sg1R+nfyAeWf0KL0Di VKWwTZMBGDfWWc3ymLi0FTYagKhW6lqY26/7PyozGUo2YNlfAsv+YJgwpXVQbt0=nbfm -----END PGP SIGNATURE----- -- 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.
Hi Dan, Thanks for the pointers. Coincidentally, I stumbled upon "foreman" last night while googling for "external nodes configuration". Best regards, -Bob On Thu, Nov 26, 2009 at 3:47 AM, Dan Bode <dan@reductivelabs.com> wrote:> Hi Bob, > > Welcome to the puppet forums! > > > How do you apply configuration changes to a set of hosts? >> >> I know this works, but was looking for a more elegant method. >> >> node host1,host2,host3{ >> >> include xxxx..... >> >> } >> <http://groups.google.com/group/puppet-users?hl=en> >> > > For more advanced management of hosts, you should consider using an > external node classifier. > > http://reductivelabs.com/trac/puppet/wiki/ExternalNodes > > There is a popular community tool called foreman which is an implementation > of an external node classifier. > > http://theforeman.org/ > > regards, > > Dan > > -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- LOhit -- 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.
Just an update. I could get foreman and external nodes config working. It is much more fun now. I am planning to enable RRDgraph reports and much more. Will keep you guys posted. Thanks much, -Bob On Thu, Nov 26, 2009 at 8:31 AM, LOhit <lohit.b@gmail.com> wrote:> Hi Dan, > > Thanks for the pointers. Coincidentally, I stumbled upon "foreman" last > night while googling for "external nodes configuration". > > Best regards, > -Bob > > > On Thu, Nov 26, 2009 at 3:47 AM, Dan Bode <dan@reductivelabs.com> wrote: > >> Hi Bob, >> >> Welcome to the puppet forums! >> >> >> How do you apply configuration changes to a set of hosts? >>> >>> I know this works, but was looking for a more elegant method. >>> >>> node host1,host2,host3{ >>> >>> include xxxx..... >>> >>> } >>> <http://groups.google.com/group/puppet-users?hl=en> >>> >> >> For more advanced management of hosts, you should consider using an >> external node classifier. >> >> http://reductivelabs.com/trac/puppet/wiki/ExternalNodes >> >> There is a popular community tool called foreman which is an >> implementation of an external node classifier. >> >> http://theforeman.org/ >> >> regards, >> >> Dan >> >> -- >> 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<puppet-users%2Bunsubscribe@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > > > -- > LOhit >-- LOhit -- 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.