summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-07-14 09:27:55 +0000
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-07-14 09:27:55 +0000
commit29d21af47eca4660c71b28362183c03c57f6c04c (patch)
treec4abf1bb9d6395260efb021919ab8bd7741d57bd
parentbc01dcd37bf4296d706e4dd48b3d6247d9ae76a2 (diff)
purge /var/lib/puppet/modules
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@122 f03ff2f1-f02d-0410-970d-b9634babeaa1
-rw-r--r--files/modules/README1
-rw-r--r--manifests/init.pp2
2 files changed, 3 insertions, 0 deletions
diff --git a/files/modules/README b/files/modules/README
new file mode 100644
index 0000000..bc5bbbd
--- /dev/null
+++ b/files/modules/README
@@ -0,0 +1 @@
+this directory contains various data collected for system wide configurations
diff --git a/manifests/init.pp b/manifests/init.pp
index 3c681d1..fc6b481 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -7,6 +7,8 @@ file {
# module-local data, e.g. for constructing config files
"/var/lib/puppet/modules":
ensure => directory,
+ source => "puppet://$servername/common/modules/",
+ recurse => true, purge => true,
mode => 0755, owner => root, group => root;
# prepare directories to drop various puppet enhancements
[ "$rubysitedir/puppet", "$rubysitedir/facter" ]: