From 5597f5bbcb7bf0f6191e6b9247db0af4892a766e Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 15 Jul 2011 15:21:10 +0200 Subject: it is not anymore necessary to have an empty directory as source to purge things --- manifests/defines/module_dir.pp | 2 -- 1 file changed, 2 deletions(-) (limited to 'manifests/defines/module_dir.pp') diff --git a/manifests/defines/module_dir.pp b/manifests/defines/module_dir.pp index 227fe71..2852f83 100644 --- a/manifests/defines/module_dir.pp +++ b/manifests/defines/module_dir.pp @@ -31,10 +31,8 @@ define module_dir ( } else { file { $dir: - source => [ "puppet:///modules/${name}/modules_dir", "puppet:///modules/common/empty"], checksum => mtime, # ignore the placeholder - ignore => '.ignore', recurse => true, purge => true, force => true, mode => $mode, owner => $owner, group => $group; } -- cgit v1.2.3