aboutsummaryrefslogtreecommitdiff
path: root/manifests/role/web.pp
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2015-03-09 07:23:44 -0300
committerdrebs <drebs@riseup.net>2015-03-09 07:23:44 -0300
commit150ad07e99e8450ef22b707ef610559493567a9f (patch)
tree5e1a68ca66196f27b9cb9ac3cdabd8a97417c161 /manifests/role/web.pp
parent3277439ce5f038b53abb4a7a2f1dd91fca5bd204 (diff)
downloadpuppet-nodo-150ad07e99e8450ef22b707ef610559493567a9f.tar.gz
puppet-nodo-150ad07e99e8450ef22b707ef610559493567a9f.tar.bz2
Fix munin mysql plugin configuration.
Diffstat (limited to 'manifests/role/web.pp')
-rw-r--r--manifests/role/web.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/role/web.pp b/manifests/role/web.pp
index 0273571..9d3db39 100644
--- a/manifests/role/web.pp
+++ b/manifests/role/web.pp
@@ -15,7 +15,7 @@ class nodo::role::web inherits nodo::base::vserver {
}
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",
+ config => "user root\nenv.mysqlopts --defaults-extra-file=/etc/mysql/debian.cnf",
}
# Classes for web nodes