aboutsummaryrefslogtreecommitdiff
path: root/manifests/role/web.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/role/web.pp')
-rw-r--r--manifests/role/web.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/role/web.pp b/manifests/role/web.pp
index c4aa890..b01cb00 100644
--- a/manifests/role/web.pp
+++ b/manifests/role/web.pp
@@ -10,9 +10,12 @@ class nodo::role::web inherits nodo::base::vserver {
ensure => present,
}
- munin::plugin { [ 'mysql_queries', 'mysql_slowqueries', 'mysql_bytes', 'mysql_threads' ]:
+ package { 'libcache-cache-perl': # needed by munin mysql plugin
ensure => present,
- config => "user root",
+ }
+ munin::plugin { [ 'mysql_', 'mysql_queries', 'mysql_slowqueries', 'mysql_bytes', 'mysql_threads' ]:
+ ensure => present,
+ config => 'user root\nenv.mysqluser debian-sys-maint\nenv.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf',
}
# Classes for web nodes