diff options
author | David Schmitt <david@schmitt.edv-bus.at> | 2009-05-31 21:18:22 +0200 |
---|---|---|
committer | David Schmitt <david@schmitt.edv-bus.at> | 2009-05-31 21:18:22 +0200 |
commit | c223993eba487cc24425890b2b9b6abd2f6c4d35 (patch) | |
tree | a60b619da239b295bb52a65c47f65d30059d2fcc /manifests/plugin.pp | |
parent | c9c389010b40f1768f039200539cf27a032d0348 (diff) |
adapt to new "common" module
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r-- | manifests/plugin.pp | 4 |
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", } } } |