aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpietro <pietro@riseup.net>2009-11-27 18:58:39 -0800
committerpietro <pietro@riseup.net>2009-11-27 18:58:39 -0800
commit76b0a31a76b8ab7509da3389379daa24b0610f73 (patch)
tree5145331d85099abd1e01dabca1a474b9651184f6
parent6bd12511bb755993e4dc4f63d50877ad625d8510 (diff)
downloadpuppet-common-76b0a31a76b8ab7509da3389379daa24b0610f73.tar.gz
puppet-common-76b0a31a76b8ab7509da3389379daa24b0610f73.tar.bz2
Revert "fix source path."
This reverts commit 1fa98d6183e77517e3ab851072e37e4235a3fe67.
-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 d618f3e..def5c94 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:///$server/${name}/module_dir". If
+# By default, the module_dir is loaded from "puppet:///${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/${name}/module_dir", "puppet://$server/common/empty"],
+ source => [ "puppet://$server/modules/${name}/module_dir", "puppet://$server/modules/common/empty"],
checksum => mtime,
# ignore the placeholder
ignore => '\.ignore',