aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/defines/module_dir.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/defines/module_dir.pp b/manifests/defines/module_dir.pp
index def5c94..d618f3e 100644
--- a/manifests/defines/module_dir.pp
+++ b/manifests/defines/module_dir.pp
@@ -9,7 +9,7 @@
# of puppet, the full path is /var/lib/puppet/modules/${name}. Every module
# should # prefix its module_dirs with its name.
#
-# By default, the module_dir is loaded from "puppet:///${name}/module_dir". If
+# By default, the module_dir is loaded from "puppet:///$server/${name}/module_dir". If
# that doesn't exist an empty directory is taken as source. The directory is
# purged so that modules do not have to worry about removing cruft.
#
@@ -27,7 +27,7 @@ define module_dir (
} else {
file {
$dir:
- source => [ "puppet://$server/modules/${name}/module_dir", "puppet://$server/modules/common/empty"],
+ source => [ "puppet://$server/${name}/module_dir", "puppet://$server/common/empty"],
checksum => mtime,
# ignore the placeholder
ignore => '\.ignore',