summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-12-10 11:01:28 +0100
committermh <mh@immerda.ch>2012-12-10 11:01:28 +0100
commit35b62c1b3d406aa0f575b10d98b59e39451df6a9 (patch)
tree98843f9ce377f66419dfca28e508cf28769865e2
parentc9fda13929eea1d53e040848ff3693f08d94f80a (diff)
some need the password not quoted...
-rw-r--r--manifests/server/munin/default.pp7
1 files 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{