summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+ }
}