diff options
author | mh <mh@immerda.ch> | 2012-12-10 11:01:28 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-12-10 11:01:28 +0100 |
commit | 35b62c1b3d406aa0f575b10d98b59e39451df6a9 (patch) | |
tree | 98843f9ce377f66419dfca28e508cf28769865e2 /manifests/server/munin | |
parent | c9fda13929eea1d53e040848ff3693f08d94f80a (diff) |
some need the password not quoted...
Diffstat (limited to 'manifests/server/munin')
-rw-r--r-- | manifests/server/munin/default.pp | 7 |
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{ |