summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-06-18 18:08:31 +0200
committermh <mh@immerda.ch>2013-06-18 18:08:41 +0200
commitdc99c8b7d36c3ee875a99dee931ad975be2a80f3 (patch)
tree884119352053d89ed91b819dc0818deb13f70286 /manifests
parente4f8a2fe68bfce91c2b856578ca03567dff81e5a (diff)
downloadpuppet-mumble-dc99c8b7d36c3ee875a99dee931ad975be2a80f3.tar.gz
puppet-mumble-dc99c8b7d36c3ee875a99dee931ad975be2a80f3.tar.bz2
make it possible to tweak munin inclusion from the central class
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e26d52e..633d63e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -5,12 +5,14 @@
# * config_content: get content for central config file from
# this parameter. Useful for using templates
# * config_source: Source path for your config
+# * manage_munin: deploy munin plugins?
#
class mumble(
$config_content = false,
$config_source = [ "puppet:///modules/site_mumble/${::fqdn}/mumble-server.ini",
'puppet:///modules/site_mumble/mumble-server.ini',
'puppet:///modules/mumble/mumble-server.ini' ],
+ $manage_munin = false,
) {
package{'mumble-server':
ensure => installed,
@@ -34,4 +36,8 @@ class mumble(
source => $config_source,
}
}
+
+ if $manage_munin {
+ include mumble::munin
+ }
}