diff --git a/manifests/defines/modules_dir.pp b/manifests/defines/modules_dir.pp index 797de2d..168c071 100644 --- a/manifests/defines/modules_dir.pp +++ b/manifests/defines/modules_dir.pp @@ -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',