summaryrefslogtreecommitdiff
path: root/manifests/plugin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r--manifests/plugin.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index a23a567..85fa444 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -53,14 +53,14 @@ define munin::remoteplugin($ensure = "present", $source, $config = '') {
"absent": { munin::plugin{ $name: ensure => absent } }
default: {
file {
- "/var/lib/puppet/modules/munin/plugins/${name}":
+ "${module_dir_path}/munin/plugins/${name}":
source => $source,
mode => 0755, owner => root, group => root;
}
munin::plugin { $name:
ensure => $ensure,
config => $config,
- script_path => "/var/lib/puppet/modules/munin/plugins",
+ script_path => "${module_dir_path}/munin/plugins",
}
}
}