summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/puppetmaster.pp')
-rw-r--r--manifests/puppetmaster.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp
index 4470a84..fa975ad 100644
--- a/manifests/puppetmaster.pp
+++ b/manifests/puppetmaster.pp
@@ -89,4 +89,9 @@ define puppet::puppetmaster::hasdb::mysql(
require => Mysql_user["${dbuser}@${dbconnectinghost}"],
tag => "mysql_${dbhostfqdn}",
}
+
+ munin::plugin::deploy{'puppetresources':
+ source => "puppet/munin/puppetresources.mysql",
+ config => "env.mysqlopts --user=$dbuser --password=$dbpwd -h $dbhost\nenv.puppetdb $dbname",
+ }
}