- Overview
- Module Description - What the module does and why it is useful
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
🍵 Types: Abstracted & Extracted
This module provides a set of Puppet 4.4+ compatible datatypes for use of validation in defined types and class declarations.
The basic idea behind this module is to retire puppetlabs-stdlib's validate_XYZ()
functions. Unlike validate_()
, these datatypes can be verified by the parser, instead of being validated during compilation.
Installing this module will make it so that puppet auto-loads all types defined in types/
Absolutepath
: matches http/https URLsHTTPUrl
: matches http/https URLsHTTPSUrl
: matches https URLsPort
: all valid TCP/UDP portsPrivilegedport
: ports which need rootly power to bind toUnprivilegedport
: ports which do not need rootly powerIPv4
: Matches valid IPv4 addressIPv6
: Matches valid IPv6 addressipaddress
: Matches valid IPv4 or IPv6 addressIPv4_cird
: Matches valid IPv4 address in CIDR notationIPv6_cidr
: Matches valid IPv6 address in CIDR notationPuppetsource
: matches values that can be used for a file type source parameterPuppetcontent
: matches values that can be used for a file type content parameterBase64
: matches base64 stringsBase32
: matches base64 strings
fileuri
: Matches file:/// uris, used by Puppetsourcepuppeturi
: Matches puppet:/// uris, used by Puppetsource
This module is compatible with any platform puppet 4.4+ is compatible with.
Please see CONTRIBUTING.md for how this module is developed, and how you can help.