Skip to content

Commit 797b6bf

Browse files
committed
add Stdlib::Syslogfacility type
1 parent 3246d92 commit 797b6bf

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,10 @@ s3://bucket/path/to/file
503503
```
504504
Valid values: Amazon Web Services S3 object store uris.
505505

506+
#### `Stdlib::Syslogfacility`
507+
508+
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.
509+
506510
<a id="facts"></a>
507511
### Facts
508512

types/syslogfacility.pp

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
type Stdlib::Syslogfacility = Enum[
2+
'kern',
3+
'user',
4+
'mail',
5+
'daemon',
6+
'auth',
7+
'syslog',
8+
'lpr',
9+
'news',
10+
'uucp',
11+
'cron',
12+
'authpriv',
13+
'ftp',
14+
'ntp',
15+
'security',
16+
'console',
17+
'solaris-cron',
18+
'local0',
19+
'local1',
20+
'local2',
21+
'local3',
22+
'local4',
23+
'local5',
24+
'local6',
25+
'local7'
26+
]

0 commit comments

Comments
 (0)