From 35b62c1b3d406aa0f575b10d98b59e39451df6a9 Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 10 Dec 2012 11:01:28 +0100 Subject: some need the password not quoted... --- manifests/server/munin/default.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/manifests/server/munin/default.pp b/manifests/server/munin/default.pp index acdaabb..83924c5 100644 --- a/manifests/server/munin/default.pp +++ b/manifests/server/munin/default.pp @@ -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{ -- cgit v1.2.3