some need the password not quoted...
This commit is contained in:
parent
c9fda13929
commit
35b62c1b3d
1 changed files with 5 additions and 2 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue