diff options
author | drebs <drebs@riseup.net> | 2015-03-09 07:23:44 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2015-03-09 07:23:44 -0300 |
commit | 150ad07e99e8450ef22b707ef610559493567a9f (patch) | |
tree | 5e1a68ca66196f27b9cb9ac3cdabd8a97417c161 /manifests/role/mail.pp | |
parent | 3277439ce5f038b53abb4a7a2f1dd91fca5bd204 (diff) | |
download | puppet-nodo-150ad07e99e8450ef22b707ef610559493567a9f.tar.gz puppet-nodo-150ad07e99e8450ef22b707ef610559493567a9f.tar.bz2 |
Fix munin mysql plugin configuration.
Diffstat (limited to 'manifests/role/mail.pp')
-rw-r--r-- | manifests/role/mail.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/role/mail.pp b/manifests/role/mail.pp index 8f496df..93f7ff7 100644 --- a/manifests/role/mail.pp +++ b/manifests/role/mail.pp @@ -19,7 +19,7 @@ class nodo::role::mail { ensure => present, } 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", + config => "user root\nenv.mysqlopts --defaults-extra-file=/etc/mysql/debian.cnf", ensure => $virtual ? { true => present, default => absent, |