I think you might have an error in your regex. In particular, it looks like
you're missing a '.', so /^uklab*$/ should probably be /^uklab.*$/

Cheers,

Aaron Russo
IST Infrastructure Services, Unix Group
UC Berkeley
---
Desk:   510-643-5550Mobile: 510-206-1532
IM:     [email protected] (XMPP/Jabber)



On Thu, Dec 27, 2012 at 5:29 AM, Allan Mullan <[email protected]> wrote:

>  case $hostname {
>         /^uklab*$/:  {
>             $file = "resolv-isg.conf"
>         }
>         default:     {
>             $file = "resolv-internal.conf"
>         }
>

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