summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
authorduritong <peter.meier+github@immerda.ch>2013-03-18 07:35:57 -0700
committerduritong <peter.meier+github@immerda.ch>2013-03-18 07:35:57 -0700
commit8b33376684026516107b6331d2fbde38362b72ec (patch)
tree766227aa44bc8f70299ea60e0d9d9b02c44bc406 /manifests/host.pp
parentd3dae3c834c37f689af3d1b08bc0c1fd4762bd91 (diff)
parent3b10e0eb3fabb19cc0fa9d66f5a8379ae96aeb6f (diff)
Merge pull request #8 from oxilion/export_tag
Add support for specifying tags for exported resources
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',