adding options both for hosts and ips

This commit is contained in:
Arne Teuke
2017-07-21 12:21:12 +01:00
parent e402224ff9
commit 544f48d800
4 changed files with 23 additions and 9 deletions

View File

@@ -194,9 +194,12 @@
# "Send Notification" to be unchecked.
# @param [boolean] ng_use_selinux_tools Whether to enable selinux tools and
# policies. only effective if selinux is enabled.
# @param [array] ng_required_hosts Array of FQDNs for hosts which should be
# allowed/required. every entry in the array creates a new line in the
# configuration file.
# @param [array] ng_required_hosts Array of **__FQDNs__** for hosts which
# should be allowed/required. every entry in the array creates a new line in
# the configuration file.
# @param [array] ng_required_ips Array of **__Ip addresses __** for hosts which
# should be allowed/reqired. every entry in the array creates a new line in
# the configuration file
###############################################################################
class cd_nagios::params (
@@ -306,6 +309,7 @@ $ng_use_selinux_tools = true,
# httpd
$ng_required_hosts = [''],
$ng_required_ips = ['127.0.0.0/8'],
) {