diff options
author | Sander Hoentjen <sander@hoentjen.eu> | 2013-03-18 14:56:44 +0100 |
---|---|---|
committer | Sander Hoentjen <sander@hoentjen.eu> | 2013-03-18 14:56:44 +0100 |
commit | 3b10e0eb3fabb19cc0fa9d66f5a8379ae96aeb6f (patch) | |
tree | 766227aa44bc8f70299ea60e0d9d9b02c44bc406 /manifests/client/base.pp | |
parent | d3dae3c834c37f689af3d1b08bc0c1fd4762bd91 (diff) |
Add support for specifying tags for exported resources
This enables you to specify different servers for different clients.
Diffstat (limited to 'manifests/client/base.pp')
-rw-r--r-- | manifests/client/base.pp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/manifests/client/base.pp b/manifests/client/base.pp index 441198e..78398a9 100644 --- a/manifests/client/base.pp +++ b/manifests/client/base.pp @@ -15,13 +15,14 @@ class munin::client::base { mode => 0644, owner => root, group => 0, } munin::register { $::fqdn: - host => $munin::client::host ? { - '*' => $::fqdn, - default => $munin::client::host + host => $munin::client::host ? { + '*' => $::fqdn, + default => $munin::client::host }, - port => $munin::client::port, - use_ssh => $munin::client::use_ssh, - config => [ 'use_node_name yes', 'load.load.warning 5', 'load.load.critical 10'], + port => $munin::client::port, + use_ssh => $munin::client::use_ssh, + config => [ 'use_node_name yes', 'load.load.warning 5', 'load.load.critical 10'], + export_tag => $munin::client::export_tag, } include munin::plugins::base } |