A small(ish) sample Puppet function to determine if an ip is within a given CIDR