File: fqdn.pp

package info (click to toggle)
puppet-module-puppetlabs-stdlib 8.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,880 kB
  • sloc: ruby: 14,188; sh: 46; makefile: 2
file content (2 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (2)
1
2
# @summary Validate a Fully Qualified Domain Name
type Stdlib::Fqdn = Pattern[/\A(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])\z/]