Skip to content

Commit

Permalink
Fixed munin autoconfiguration script
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Mar 18, 2011
1 parent 9d1b638 commit 262224d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions munin/templates/munin-autoconfigure.erb
@@ -1,4 +1,5 @@
# File Managed by Puppet

rm -f /etc/munin/plugins/* ; munin-node-configure --shell 2> /dev/null | sh
/etc/init.d/<%= scope.lookupvar('munin::params::servicename') %> restart 2>&1>/dev/null
/bin/rm -f /etc/munin/plugins/* ; /usr/sbin/munin-node-configure --shell 2> /dev/null | /bin/sh
/etc/init.d/<%= scope.lookupvar('munin::params::servicename') %> restart >/dev/null 2>&1

0 comments on commit 262224d

Please sign in to comment.