diff options
author | mh <mh@immerda.ch> | 2013-06-18 18:08:31 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-06-18 18:08:41 +0200 |
commit | dc99c8b7d36c3ee875a99dee931ad975be2a80f3 (patch) | |
tree | 884119352053d89ed91b819dc0818deb13f70286 | |
parent | e4f8a2fe68bfce91c2b856578ca03567dff81e5a (diff) | |
download | puppet-mumble-dc99c8b7d36c3ee875a99dee931ad975be2a80f3.tar.gz puppet-mumble-dc99c8b7d36c3ee875a99dee931ad975be2a80f3.tar.bz2 |
make it possible to tweak munin inclusion from the central class
-rw-r--r-- | manifests/init.pp | 6 |
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 + } } |