summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 5080f99..79d275e 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -3,7 +3,11 @@
# See LICENSE for the full license granted to you.
# Adapted and improved by admin(at)immerda.ch
-class munin::client {
+class munin::client(
+ $allow = hiera('munin_client_allow',['127.0.0.1']),
+ $host = hiera('munin_host','*'),
+ $port = hiera('munin_port','4949')
+) {
case $::operatingsystem {
openbsd: { include munin::client::openbsd }
darwin: { include munin::client::darwin }