diff options
-rw-r--r-- | manifests/role/mail.pp | 2 | ||||
-rw-r--r-- | manifests/role/web.pp | 2 |
2 files changed, 2 insertions, 2 deletions
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", } |