File: cidr.pp

package info (click to toggle)
puppet-module-puppetlabs-stdlib 8.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 2,880 kB
  • sloc: ruby: 14,188; sh: 46; makefile: 2
file content (3 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (2)
1
2
3
# lint:ignore:140chars
type Stdlib::IP::Address::V4::CIDR = Pattern[/\A([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])){3}\/([0-9]|[12][0-9]|3[0-2])\z/]
# lint:endignore