summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-09 21:17:47 -0300
committermh <mh@immerda.ch>2012-06-09 21:17:47 -0300
commit64a6aa3cf73bdc9d75d34b6fbcd04f5e7f34e923 (patch)
treec0b0ac35e44840bb5dd4bccdc6d98eb86782f87e /manifests
parentb7228e65b66b72709f59709618a7c7be1ce795ef (diff)
use class parameters
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 }