diff options
author | David Schmitt <david@schmitt.edv-bus.at> | 2008-06-30 13:47:30 +0200 |
---|---|---|
committer | David Schmitt <david@schmitt.edv-bus.at> | 2008-06-30 13:47:30 +0200 |
commit | b24eaae55e444c4662cfc9fa14012ade97039b01 (patch) | |
tree | a21efeab9ce8f31c1bfba9faf81f5ece2b17edfd /manifests/defines | |
parent | 07ebdfa2c59684e79b0a1904858c9072b47601c5 (diff) | |
download | puppet-common-b24eaae55e444c4662cfc9fa14012ade97039b01.tar.gz puppet-common-b24eaae55e444c4662cfc9fa14012ade97039b01.tar.bz2 |
modules_dir: nail empty directory files/empty/ into the repo
Since git ignores empty directories, I had to create a placeholder to
fool git. The placeholder is ignored in the define.
Diffstat (limited to 'manifests/defines')
-rw-r--r-- | manifests/defines/modules_dir.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/defines/modules_dir.pp b/manifests/defines/modules_dir.pp index 971b9fa..a59102f 100644 --- a/manifests/defines/modules_dir.pp +++ b/manifests/defines/modules_dir.pp @@ -18,6 +18,8 @@ define modules_dir ( "/var/lib/puppet/modules/${name}": source => [ "puppet:///${name}/modules_dir", "puppet:///common/empty"], checksum => mtime, + # ignore the placeholder + ignore => '.ignore', recurse => true, purge => true, force => true, mode => $mode, owner => $owner, group => $group; } |