aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-11-16 15:50:41 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-11-16 15:50:41 +0000
commit6058dae6fa19ef9582afa6f617e4bd4b5405909f (patch)
treefec23eed393b4a76c72bbdd7ce9237f6da5fdef3 /manifests
parent3d42a3e68af799681a60ccc45a21036e35ed5ad4 (diff)
downloadpuppet-shorewall-6058dae6fa19ef9582afa6f617e4bd4b5405909f.tar.gz
puppet-shorewall-6058dae6fa19ef9582afa6f617e4bd4b5405909f.tar.bz2
dirs in /var/lib/puppet/shorewall/ werden kreiert
git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@101 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5eb6465..5cb3c5e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -41,6 +41,15 @@ class shorewall {
# private
define managed_file () {
$dir = "/var/lib/puppet/modules/shorewall/${name}.d"
+
+ file {
+ "${dir}":
+ ensure => directory,
+ force => true,
+ mode => 0755, owner => root, group => root;
+ }
+
+
concatenated_file { "/var/lib/puppet/modules/shorewall/$name":
dir => $dir,
mode => 0600,