summaryrefslogtreecommitdiff
path: root/manifests/remoteplugin.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-10-10 11:54:10 +0200
committermh <mh@immerda.ch>2014-10-10 11:54:10 +0200
commit27c9a5dbc2083dcc20d059008702dd3f75382bcc (patch)
treec3d9a60176907b4e7fa522ec73fb4148c71f32d2 /manifests/remoteplugin.pp
parent3b1623f00f301e50e2b074bf601af7824d1a530d (diff)
more linting and latest puppet-lint support
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: {