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, sahara...@gmail.com 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/56548E40.6050004%40alter3d.ca.
For more options, visit https://groups.google.com/d/optout.