Skip to content

Commit d006c01

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

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+
'user',
3+
'mail',
4+
'daemon',
5+
'auth',
6+
'syslog',
7+
'lpr',
8+
'news',
9+
'uucp',
10+
'cron',
11+
'authpriv',
12+
'ftp',
13+
'ntp',
14+
'security',
15+
'console',
16+
'solaris-cron',
17+
'local0',
18+
'local1',
19+
'local2',
20+
'local3',
21+
'local4',
22+
'local5',
23+
'local6',
24+
'local7',
25+
'kern'
26+
]

0 commit comments

Comments
 (0)