Stig Sandbeck Mathisen <s...@fnord.no> 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 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