summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
authorSander Hoentjen <sander@hoentjen.eu>2013-03-18 14:56:44 +0100
committerSander Hoentjen <sander@hoentjen.eu>2013-03-18 14:56:44 +0100
commit3b10e0eb3fabb19cc0fa9d66f5a8379ae96aeb6f (patch)
tree766227aa44bc8f70299ea60e0d9d9b02c44bc406 /manifests/host.pp
parentd3dae3c834c37f689af3d1b08bc0c1fd4762bd91 (diff)
Add support for specifying tags for exported resources
This enables you to specify different servers for different clients.
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index b828e35..05dcb5e 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -3,12 +3,13 @@
# See LICENSE for the full license granted to you.
class munin::host(
- $cgi_graphing = false
+ $cgi_graphing = false,
+ $export_tag = 'munin'
) {
package {"munin": ensure => installed, }
include concat::setup
- Concat::Fragment <<| tag == 'munin' |>>
+ Concat::Fragment <<| tag == $export_tag |>>
concat::fragment{'munin.conf.header':
target => '/etc/munin/munin.conf',