From 29d21af47eca4660c71b28362183c03c57f6c04c Mon Sep 17 00:00:00 2001 From: david Date: Sat, 14 Jul 2007 09:27:55 +0000 Subject: purge /var/lib/puppet/modules git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@122 f03ff2f1-f02d-0410-970d-b9634babeaa1 --- files/modules/README | 1 + manifests/init.pp | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 files/modules/README 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" ]: -- cgit v1.2.3