summaryrefslogtreecommitdiff
path: root/manifests/server/munin/default.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/munin/default.pp')
-rw-r--r--manifests/server/munin/default.pp18
1 files changed, 17 insertions, 1 deletions
diff --git a/manifests/server/munin/default.pp b/manifests/server/munin/default.pp
index 2660ea0..d64c831 100644
--- a/manifests/server/munin/default.pp
+++ b/manifests/server/munin/default.pp
@@ -20,9 +20,25 @@ class mysql::server::munin::default inherits mysql::server::munin::base {
config => "env.mysqlopts --user=munin --password=${munin_mysql_password} -h localhost",
require => [ Mysql_grant['munin@localhost'], Mysql_user['munin@localhost'], Package['mysql'] ];
- [ mysql_connections, mysql_qcache, mysql_cache_mem, mysql_size_all ]:
+ [ mysql_connections, mysql_qcache, mysql_qcache_mem, mysql_size_all ]:
script_path_in => "/usr/local/share/munin-plugins",
config => "env.mysqlopts --user=munin --password=${munin_mysql_password} -h localhost",
require => [ Mysql_grant['munin@localhost'], Mysql_user['munin@localhost'], Package['mysql'] ];
}
+
+ Munin::Plugin::Deploy {
+ config => "env.mysqlopts --user=munin --password=$munin_mysql_password -h localhost",
+ require =>
+ [ Mysql_grant['munin@localhost'],
+ Mysql_user['munin@localhost'],
+ Package['mysql'] ]
+ }
+ munin::plugin::deploy{
+ 'mysql_connections':
+ source => 'mysql/munin/mysql_connections';
+ 'mysql_qcache':
+ source => 'mysql/munin/mysql_qcache';
+ 'mysql_qcache_mem':
+ source => 'mysql/munin/mysql_qcache_mem';
+ }
}