Regular expressions - even better:

http://docs.puppetlabs.com/guides/language_tutorial.html#matching_nodes_with_regular_expressions

Also - what you probably want to look at is using classes for your
'templates':

http://docs.puppetlabs.com/guides/language_tutorial.html#classes

ken.

On May 20, 8:53 pm, Jon Charette <jon.chare...@gmail.com> wrote:
> I'd like to setup node templates for a variety of developer VMs that we are
> looking to manage through puppet.
>
> This may be in the documentation already, and if so, I apologize for missing
> it, but is it possible to use wildcards within the node definition.
>
> I'd like to do something like this:
>
> Hostname:  JonsWebDev
>
> node devnode {
>     import devconfig
>
> }
>
> node webnode {
>    import webconfig
>
> }
>
> node "*WebDev" {
>    import devnode
>    import webnode
>
> }
>
> Thanks in advance.
> -Jon
>
> --
> 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 
> athttp://groups.google.com/group/puppet-users?hl=en.

-- 
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.

Reply via email to