some need the password not quoted...

This commit is contained in:
mh 2012-12-10 11:01:28 +01:00
parent c9fda13929
commit 35b62c1b3d

View file

@ -12,9 +12,12 @@ class mysql::server::munin::default {
$munin_mysql_password = trocla("mysql_munin_${::fqdn}",'plain', 'length: 32')
munin::plugin {
[mysql_bytes, mysql_queries, mysql_slowqueries, mysql_threads]:
[mysql_queries, mysql_slowqueries]:
config => "env.mysqlopts --user=munin --password='${munin_mysql_password}' -h localhost",
require => Mysql_grant['munin@localhost'],
require => Mysql_grant['munin@localhost'];
[mysql_bytes, mysql_threads]:
config => "env.mysqlopts --user=munin --password=${munin_mysql_password} -h localhost",
require => Mysql_grant['munin@localhost'];
}
Munin::Plugin::Deploy{