Hi Peter, 

Thank you very much! it was right on my face. I can not believe i was 
looking at it and couldn't see it!

Thanks again
Sara

On Tuesday, November 24, 2015 at 11:20:30 AM UTC-5, Peter Kristolaitis 
wrote:
>
> You have an extra octet in the regex. 
>
> That regex would match  "10.0.167.xx.yyy".  Take out the "0\." after the 
> "10\.". 
>
>
> On 11/23/2015 05:08 PM, saha...@gmail.com <javascript:> wrote: 
> > 
> > 
> >  if $::ipaddress =~ /^10\.0\.167\.\d{1,2}\.\d{1,3}$/ { 
> >         include user::groups 
> >         include user::sysadmin 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9ce38d79-8ffe-4b9d-b6bf-96fa78ef0b1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to