diff --git a/README.md b/README.md index 6604a79b4..6073abcdb 100644 --- a/README.md +++ b/README.md @@ -670,6 +670,10 @@ Match an IPv6 address which may contain `::` used to compress zeros as documente Match an IPv6 address in the CIDR format. It will only match if the address contains an address prefix (for example, it will match 'FF01:0:0:0:0:0:0:101/32', 'FF01::101/60', '::/0', but not 'FF01:0:0:0:0:0:0:101', 'FF01::101', '::'). +#### `Stdlib::Syslogfacility` + +An enum that defines all syslog facilities defined in [RFC5424](https://tools.ietf.org/html/rfc5424). This is based on work in the [voxpupuli/nrpe](https://github.com/voxpupuli/puppet-nrpe/commit/5700fd4f5bfc3e237195c8833039f9ed1045cd6b) module. + ### Facts diff --git a/types/syslogfacility.pp b/types/syslogfacility.pp new file mode 100644 index 000000000..2c6bf044e --- /dev/null +++ b/types/syslogfacility.pp @@ -0,0 +1,25 @@ +type Stdlib::Syslogfacility = Enum[ + 'user', + 'mail', + 'daemon', + 'auth', + 'syslog', + 'lpr', + 'news', + 'uucp', + 'cron', + 'authpriv', + 'ftp', + 'ntp', + 'security', + 'console', + 'solaris-cron', + 'local0', + 'local1', + 'local2', + 'local3', + 'local4', + 'local5', + 'local6', + 'local7' +]