fix missing urls to 0.25.x
[puppet_common.git] / manifests / defines / modules_dir.pp
index 797de2d..168c071 100644 (file)
@@ -16,7 +16,7 @@ define modules_dir (
        } else {
                file {
                        "/var/lib/puppet/modules/${name}":
-                               source => [ "puppet:///${name}/modules_dir", "puppet:///common/empty"],
+                               source => [ "puppet://$server/${name}/modules_dir", "puppet://$server//modules/common/empty"],
                                checksum => mtime,
                                # ignore the placeholder
                                ignore => '\.ignore',