From dc99c8b7d36c3ee875a99dee931ad975be2a80f3 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 18 Jun 2013 18:08:31 +0200 Subject: make it possible to tweak munin inclusion from the central class --- manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) 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 + } } -- cgit v1.2.3