diff options
author | mh <mh@immerda.ch> | 2012-06-09 21:17:47 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-09 21:17:47 -0300 |
commit | 64a6aa3cf73bdc9d75d34b6fbcd04f5e7f34e923 (patch) | |
tree | c0b0ac35e44840bb5dd4bccdc6d98eb86782f87e /manifests | |
parent | b7228e65b66b72709f59709618a7c7be1ce795ef (diff) |
use class parameters
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/client.pp | 6 |
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 } |