aboutsummaryrefslogtreecommitdiff
path: root/manifests/role
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-07 15:54:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-07 15:54:24 -0300
commit1dca54403296894f2fb094b7200f9b665c90b80f (patch)
tree174bacd43cfa3d902f24fb9305d05465ff26d66e /manifests/role
parentd44f267d2d51defbd8fec43b8d05a05f09aab597 (diff)
downloadpuppet-nodo-1dca54403296894f2fb094b7200f9b665c90b80f.tar.gz
puppet-nodo-1dca54403296894f2fb094b7200f9b665c90b80f.tar.bz2
Setting mysql_ munin plugins
Diffstat (limited to 'manifests/role')
-rw-r--r--manifests/role/web.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/role/web.pp b/manifests/role/web.pp
index 120e351..c4aa890 100644
--- a/manifests/role/web.pp
+++ b/manifests/role/web.pp
@@ -10,6 +10,11 @@ class nodo::role::web inherits nodo::base::vserver {
ensure => present,
}
+ munin::plugin { [ 'mysql_queries', 'mysql_slowqueries', 'mysql_bytes', 'mysql_threads' ]:
+ ensure => present,
+ config => "user root",
+ }
+
# Classes for web nodes
include database
include users::virtual