forked from rickerc/puppet-module-nrpe
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make use of stdlib data types * Create our own types for syslog facility and ssl version * Use proper booleans for `debug`, `dont_blame_nrpe` and `allow_bash_command_substitution` * Use `Enum['no', 'ask', 'require']` for `ssl_client_certs`
- Loading branch information
1 parent
e477f66
commit 5700fd4
Showing
6 changed files
with
124 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# SSL VERSION | ||
# This can be any of: SSLv2 (only use SSLv2), SSLv2+ (use any version), | ||
# SSLv3 (only use SSLv3), SSLv3+ (use SSLv3 or above), TLSv1 (only use | ||
# TLSv1), TLSv1+ (use TLSv1 or above), TLSv1.1 (only use TLSv1.1), | ||
# TLSv1.1+ (use TLSv1.1 or above), TLSv1.2 (only use TLSv1.2), | ||
# TLSv1.2+ (use TLSv1.2 or above) | ||
|
||
type Nrpe::Sslversion = Enum['SSLv2','SSLv2+','SSLv3','SSLv3+','TLSv1','TLSv1+','TLSv1.1','TLSv1.1+','TLSv1.2','TLSv1.2+'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
type Nrpe::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' | ||
] |