diff options
author | pietro <pietro@riseup.net> | 2009-11-27 18:35:46 -0800 |
---|---|---|
committer | pietro <pietro@riseup.net> | 2009-11-27 18:35:46 -0800 |
commit | 1fa98d6183e77517e3ab851072e37e4235a3fe67 (patch) | |
tree | f92d62c636eb9a9be38e4033cbc9d44fe712cd37 | |
parent | 314af5320fd658c7423eb766b2b00a378a20dfb7 (diff) | |
download | puppet-common-1fa98d6183e77517e3ab851072e37e4235a3fe67.tar.gz puppet-common-1fa98d6183e77517e3ab851072e37e4235a3fe67.tar.bz2 |
fix source path.
-rw-r--r-- | manifests/defines/module_dir.pp | 4 |
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', |