Skip to content

Commit 6f80229

Browse files
committed
Fix missing documentation for Puppet type alias
[warn]: Missing documentation for Puppet type alias 'Stdlib::Forr' at types/foo.pp:1.
1 parent 4830d27 commit 6f80229

35 files changed

+35
-0
lines changed

types/compat/ip_address.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate an IP address
12
type Stdlib::Compat::Ip_address = Variant[Stdlib::Compat::Ipv4, Stdlib::Compat::Ipv6]

types/compat/ipv6.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate an IPv6 address
12
type Stdlib::Compat::Ipv6 = Pattern[/\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/] # lint:ignore:140chars

types/datasize.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate the size of data
12
type Stdlib::Datasize = Pattern[/^\d+(?i:[kmgt]b?|b)$/]

types/ensure/file.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate the value of the ensure parameter for a file
12
type Stdlib::Ensure::File = Enum['present', 'file', 'directory', 'link', 'absent']

types/ensure/file/directory.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate the ensure parameter of a "directory" file resource
12
type Stdlib::Ensure::File::Directory = Enum['directory', 'absent']

types/ensure/file/file.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate the ensure parameter of a "file" file resource
12
type Stdlib::Ensure::File::File = Enum['file', 'absent']

types/ensure/file/link.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate the ensure parameter of a "link" file resource
12
type Stdlib::Ensure::File::Link = Enum['link', 'absent']

types/ensure/service.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate the value of the ensure parameter of a service resource
12
type Stdlib::Ensure::Service = Enum['stopped', 'running']

types/fqdn.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a Fully Qualified Domain Name
12
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/]

types/host.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a host (FQDN or IP address)
12
type Stdlib::Host = Variant[Stdlib::Fqdn, Stdlib::Compat::Ip_address]

types/httpstatus.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a HTTP status code
12
type Stdlib::HttpStatus = Integer[100, 599]

types/httpsurl.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a HTTPS URL
12
type Stdlib::HTTPSUrl = Pattern[/(?i:\Ahttps:\/\/.*\z)/]

types/httpurl.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a HTTP(S) URL
12
type Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/]

types/ip/address.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate an IP address
12
type Stdlib::IP::Address = Variant[
23
Stdlib::IP::Address::V4,
34
Stdlib::IP::Address::V6,

types/ip/address/nosubnet.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate an IP address without subnet
12
type Stdlib::IP::Address::Nosubnet = Variant[
23
Stdlib::IP::Address::V4::Nosubnet,
34
Stdlib::IP::Address::V6::Nosubnet,

types/ip/address/v4.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate an IPv4 address
12
type Stdlib::IP::Address::V4 = Variant[
23
Stdlib::IP::Address::V4::CIDR,
34
Stdlib::IP::Address::V4::Nosubnet,

types/ip/address/v6.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate an IPv6 address
12
type Stdlib::IP::Address::V6 = Variant[
23
Stdlib::IP::Address::V6::Full,
34
Stdlib::IP::Address::V6::Compressed,

types/ip/address/v6/compressed.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate a compressed IPv6 address
12
type Stdlib::IP::Address::V6::Compressed = Pattern[
23
/\A:(:|(:[[:xdigit:]]{1,4}){1,7})(\/(1([01][0-9]|2[0-8])|[1-9][0-9]|[0-9]))?\z/,
34
/\A([[:xdigit:]]{1,4}:){1}(:|(:[[:xdigit:]]{1,4}){1,6})(\/(1([01][0-9]|2[0-8])|[1-9][0-9]|[0-9]))?\z/,

types/ip/address/v6/full.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a full IPv6 address
12
type Stdlib::IP::Address::V6::Full = Pattern[/\A[[:xdigit:]]{1,4}(:[[:xdigit:]]{1,4}){7}(\/(1([01][0-9]|2[0-8])|[1-9][0-9]|[0-9]))?\z/]

types/ip/address/v6/nosubnet.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate an IPv6 address without subnet
12
type Stdlib::IP::Address::V6::Nosubnet = Variant[
23
Stdlib::IP::Address::V6::Nosubnet::Full,
34
Stdlib::IP::Address::V6::Nosubnet::Compressed,

types/ip/address/v6/nosubnet/compressed.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate compressed IPv6 address without subnet
12
type Stdlib::IP::Address::V6::Nosubnet::Compressed = Pattern[
23
/\A:(:|(:[[:xdigit:]]{1,4}){1,7})\z/,
34
/\A([[:xdigit:]]{1,4}:){1}(:|(:[[:xdigit:]]{1,4}){1,6})\z/,

types/ip/address/v6/nosubnet/full.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate full IPv6 address without subnet
12
type Stdlib::IP::Address::V6::Nosubnet::Full = Pattern[/\A[[:xdigit:]]{1,4}(:[[:xdigit:]]{1,4}){7}\z/]

types/objectstore.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate an ObjectStore
12
type Stdlib::ObjectStore = Variant[
23
Stdlib::ObjectStore::GSUri,
34
Stdlib::ObjectStore::S3Uri,

types/objectstore/gsuri.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a Google Cloud object store URI
12
type Stdlib::ObjectStore::GSUri = Pattern[/\Ags:\/\/.*\z/]

types/objectstore/s3uri.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate an Amazon Web Services S3 object store URI
12
type Stdlib::ObjectStore::S3Uri = Pattern[/\As3:\/\/.*\z/]

types/port.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a port number
12
type Stdlib::Port = Integer[0, 65535]

types/port/dynamic.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a dynamic port number
12
type Stdlib::Port::Dynamic = Integer[49152, 65535]

types/port/ephemeral.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate an ephemeral port number
12
type Stdlib::Port::Ephemeral = Stdlib::Port::Dynamic

types/port/privileged.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a priviliged port number
12
type Stdlib::Port::Privileged = Integer[1, 1023]

types/port/registered.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a registered port number
12
type Stdlib::Port::Registered = Stdlib::Port::User

types/port/unprivileged.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate an unprivileged port number
12
type Stdlib::Port::Unprivileged = Integer[1024, 65535]

types/port/user.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a port number usable by a user
12
type Stdlib::Port::User = Integer[1024, 49151]

types/syslogfacility.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Validate a syslog facility
12
type Stdlib::Syslogfacility = Enum[
23
'kern',
34
'user',

types/windowspath.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a Windows path
12
type Stdlib::Windowspath = Pattern[/\A(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+)).*\z/]

types/yes_no.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# Validate a yes / no value
12
type Stdlib::Yes_no = Pattern[/\A(?i:(yes|no))\z/]

0 commit comments

Comments
 (0)