summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-12 10:10:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-12 10:10:59 -0300
commiteea269ecd7c70d330615d4260cd4e65b7782648f (patch)
treee7d1a49ed5c8b1690249ad6f04a8465dd35ed2ac
parent0feb33e9baa968aaaebdec22de76c3e52f086b3a (diff)
downloadpuppet-apcupsd-eea269ecd7c70d330615d4260cd4e65b7782648f.tar.gz
puppet-apcupsd-eea269ecd7c70d330615d4260cd4e65b7782648f.tar.bz2
Fixing munin interpreting, no need for user setting or exec flag
-rw-r--r--[-rwxr-xr-x]files/munin/apc_nis2
-rw-r--r--manifests/munin.pp1
2 files changed, 1 insertions, 2 deletions
diff --git a/files/munin/apc_nis b/files/munin/apc_nis
index 8691fe9..0bfcfaa 100755..100644
--- a/files/munin/apc_nis
+++ b/files/munin/apc_nis
@@ -1,4 +1,4 @@
-#!@@PERL@@ -w
+#!/usr/bin/perl -w
# -*- perl -*-
=head1 NAME
diff --git a/manifests/munin.pp b/manifests/munin.pp
index d0626cc..867e1af 100644
--- a/manifests/munin.pp
+++ b/manifests/munin.pp
@@ -4,6 +4,5 @@ class apcupsd::munin(
munin::plugin::deploy { 'apc_nis':
source => "apcupsd/munin/apc_nis",
ensure => $ensure,
- config => "user root",
}
}