summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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,