Handle munin_allow and nagios_allow variables as arrays

This commit is contained in:
Ossi Salmi 2013-06-14 01:52:27 +03:00
parent e13e510b6e
commit c8be8b86af
3 changed files with 17 additions and 4 deletions

View file

@ -3,11 +3,18 @@
#
# === Global variables
#
# $munin_allow:
# Array of IP addresses allowed to connect to munin-node.
#
# $munin_tls:
# Enable and require TLS if set to "true".
#
class munin::node {
if !$munin_allow {
$munin_allow = [ "127.0.0.1" ]
}
package { "munin-node":
ensure => installed,
}