-----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-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.