summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a1ea92c..4a049a4 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -5,9 +5,9 @@
# the port is a parameter so vservers can share IP addresses and still be happy
# Define where the individual nodes' configs are stored
-$NODESDIR="/var/lib/puppet/modules/munin/nodes"
+$NODESDIR="${module_dir_path}/munin/nodes"
-modules_dir { [ "munin", "munin/nodes", "munin/plugins" ]: }
+module_dir { [ "munin", "munin/nodes", "munin/plugins" ]: }
import "host.pp"
import "client.pp"