From 7cdf9b567ab9923d3cd509462af287932de8c77c Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 29 Sep 2014 11:11:03 -0300 Subject: Remove uneeded munin mysql plugin. --- manifests/role/mail.pp | 2 +- manifests/role/web.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/role/mail.pp b/manifests/role/mail.pp index 6070103..8f496df 100644 --- a/manifests/role/mail.pp +++ b/manifests/role/mail.pp @@ -18,7 +18,7 @@ class nodo::role::mail { package { 'libcache-cache-perl': # needed by munin mysql plugin ensure => present, } - munin::plugin { [ 'mysql_', 'mysql_queries', 'mysql_slowqueries', 'mysql_bytes', 'mysql_threads' ]: + munin::plugin { [ 'mysql_queries', 'mysql_slowqueries', 'mysql_bytes', 'mysql_threads' ]: config => "user root\nenv.mysqluser debian-sys-maint\nenv.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf", ensure => $virtual ? { true => present, diff --git a/manifests/role/web.pp b/manifests/role/web.pp index d600909..0273571 100644 --- a/manifests/role/web.pp +++ b/manifests/role/web.pp @@ -13,7 +13,7 @@ class nodo::role::web inherits nodo::base::vserver { package { 'libcache-cache-perl': # needed by munin mysql plugin ensure => present, } - munin::plugin { [ 'mysql_', 'mysql_queries', 'mysql_slowqueries', 'mysql_bytes', 'mysql_threads' ]: + munin::plugin { [ 'mysql_queries', 'mysql_slowqueries', 'mysql_bytes', 'mysql_threads' ]: ensure => present, config => "user root\nenv.mysqluser debian-sys-maint\nenv.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf", } -- cgit v1.2.3