Skip to content

Commit

Permalink
add Stdlib::Syslogfacility type
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Sep 17, 2019
1 parent 3246d92 commit 797b6bf
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,10 @@ s3://bucket/path/to/file
```
Valid values: Amazon Web Services S3 object store uris.

#### `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.

<a id="facts"></a>
### Facts

Expand Down
26 changes: 26 additions & 0 deletions types/syslogfacility.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
type Stdlib::Syslogfacility = Enum[
'kern',
'user',
'mail',
'daemon',
'auth',
'syslog',
'lpr',
'news',
'uucp',
'cron',
'authpriv',
'ftp',
'ntp',
'security',
'console',
'solaris-cron',
'local0',
'local1',
'local2',
'local3',
'local4',
'local5',
'local6',
'local7'
]

0 comments on commit 797b6bf

Please sign in to comment.