summaryrefslogtreecommitdiff
path: root/manifests/remoteplugin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/remoteplugin.pp')
-rw-r--r--manifests/remoteplugin.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/remoteplugin.pp b/manifests/remoteplugin.pp
index a2abf69..dc03c76 100644
--- a/manifests/remoteplugin.pp
+++ b/manifests/remoteplugin.pp
@@ -1,5 +1,9 @@
# Configure a munin remote plugin
-define munin::remoteplugin($ensure = 'present', $source, $config = '') {
+define munin::remoteplugin(
+ $source,
+ $ensure = 'present',
+ $config = ''
+) {
case $ensure {
'absent': { munin::plugin{ $name: ensure => absent } }
default: {