summaryrefslogtreecommitdiff
path: root/manifests/remoteplugin.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-05 19:39:49 -0300
committermh <mh@immerda.ch>2012-06-05 19:39:49 -0300
commit9fd1de5acd9064a0d67ca9d2c13a829a3f628f39 (patch)
treeeea2a9e6b54b733b9a5d2bdfeca9679f1a27a86d /manifests/remoteplugin.pp
parente710a3bfd1d24a9fa4fdb217609635fec616a6f7 (diff)
new style for 2.7
Diffstat (limited to 'manifests/remoteplugin.pp')
-rw-r--r--manifests/remoteplugin.pp28
1 files changed, 14 insertions, 14 deletions
diff --git a/manifests/remoteplugin.pp b/manifests/remoteplugin.pp
index ce87492..603cb66 100644
--- a/manifests/remoteplugin.pp
+++ b/manifests/remoteplugin.pp
@@ -1,18 +1,18 @@
define munin::remoteplugin($ensure = "present", $source, $config = '') {
- case $ensure {
- "absent": { munin::plugin{ $name: ensure => absent } }
- default: {
- file {
- "/var/lib/puppet/modules/munin/plugins/${name}":
- source => $source,
- mode => 0755, owner => root, group => 0;
- }
- munin::plugin { $name:
- ensure => $ensure,
- config => $config,
- script_path_in => "/var/lib/puppet/modules/munin/plugins",
- }
- }
+ case $ensure {
+ "absent": { munin::plugin{ $name: ensure => absent } }
+ default: {
+ file {
+ "/var/lib/puppet/modules/munin/plugins/${name}":
+ source => $source,
+ mode => 0755, owner => root, group => 0;
+ }
+ munin::plugin { $name:
+ ensure => $ensure,
+ config => $config,
+ script_path_in => "/var/lib/puppet/modules/munin/plugins",
+ }
}
+ }
}