aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-12 14:04:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-12 14:04:08 -0300
commited48f86d5080fa7d376b7d002d44ec6c42729dd4 (patch)
treefd7ffc404e51d1ee89ac5519c9134031eb87ffbd /manifests/subsystem
parent62e3f12599ace99afe06e091b3aa3783146e8b83 (diff)
downloadpuppet-nodo-ed48f86d5080fa7d376b7d002d44ec6c42729dd4.tar.gz
puppet-nodo-ed48f86d5080fa7d376b7d002d44ec6c42729dd4.tar.bz2
Run minin-graph with nice and ionice
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/monitor/master.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp
index c93ec0e..e23f02d 100644
--- a/manifests/subsystem/monitor/master.pp
+++ b/manifests/subsystem/monitor/master.pp
@@ -38,7 +38,7 @@ class nodo::subsystem::monitor::master {
owner => root,
group => root,
mode => 0644,
- content => "10 * * * * munin if [ -x /usr/local/bin/munin-graph ]; then /usr/local/bin/munin-graph; fi\n",
+ content => "10 * * * * munin if [ -x /usr/local/bin/munin-graph ]; then /usr/bin/ionice -c 3 /usr/bin/nice -n 19 /usr/local/bin/munin-graph; fi\n",
require => File['/usr/local/bin/munin-graph'],
}