From e1f66f0e8684cd5e5c1221f1a6e5a2aaa6cde958 Mon Sep 17 00:00:00 2001 From: Mathias Lang Date: Thu, 4 May 2023 01:30:00 +0200 Subject: [PATCH] Add Stdlib::IP::Address::CIDR This type was the only one missing from the hierarchy. --- types/ip/address/cidr.pp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 types/ip/address/cidr.pp diff --git a/types/ip/address/cidr.pp b/types/ip/address/cidr.pp new file mode 100644 index 000000000..9894d26eb --- /dev/null +++ b/types/ip/address/cidr.pp @@ -0,0 +1,5 @@ +# Validate an IP address with subnet +type Stdlib::IP::Address::CIDR = Variant[ + Stdlib::IP::Address::V4::CIDR, + Stdlib::IP::Address::V6::CIDR, +]