Stig Sandbeck Mathisen <[email protected]> writes:

> ,----
> | node *.desktops.example.org {
> |     case $server_role {
> |         /:desktop:/ { include my::desktop::class }
> |         /:mission_critical:/ { include corp::absolutely::vital:class }
> |         /:whohooo:/ { include rubber::ducky }
> |     }
> | }
> `----

This should perhaps use a series of if tests instead, or you'll only get
the classes from the first match.

-- 
Stig Sandbeck Mathisen
                              Oooo, shiny!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to