aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/module_dir.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-07-15 15:21:10 +0200
committermh <mh@immerda.ch>2011-07-15 16:04:48 +0200
commit5597f5bbcb7bf0f6191e6b9247db0af4892a766e (patch)
treeb11a61fda27ba178a95e7775ff0990e304c52e0f /manifests/defines/module_dir.pp
parentad2be0a0f8eb24149761a8bade28ef9c222af1af (diff)
downloadpuppet-common-5597f5bbcb7bf0f6191e6b9247db0af4892a766e.tar.gz
puppet-common-5597f5bbcb7bf0f6191e6b9247db0af4892a766e.tar.bz2
it is not anymore necessary to have an empty directory as source to purge things
Diffstat (limited to 'manifests/defines/module_dir.pp')
-rw-r--r--manifests/defines/module_dir.pp2
1 files changed, 0 insertions, 2 deletions
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;
}