aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp15
1 files changed, 7 insertions, 8 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 268815b..69dc50f 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -1,13 +1,12 @@
class shorewall::base {
-
- package { 'shorewall':
+ package { 'shorewall':
ensure => present,
}
# This file has to be managed in place, so shorewall can find it
- file { "/etc/shorewall/shorewall.conf":
- # use OS specific defaults, but use Default if no other is found
- source => [
+ file { "/etc/shorewall/shorewall.conf":
+ # use OS specific defaults, but use Default if no other is found
+ source => [
"puppet://$server/files/shorewall/${fqdn}/shorewall.conf.$operatingsystem",
"puppet://$server/files/shorewall/${fqdn}/shorewall.conf",
"puppet://$server/files/shorewall/shorewall.conf.$operatingsystem.$lsbdistcodename",
@@ -17,12 +16,12 @@ class shorewall::base {
"puppet://$server/shorewall/shorewall.conf.$operatingsystem",
"puppet://$server/shorewall/shorewall.conf.Default"
],
- mode => 0644, owner => root, group => 0,
require => Package[shorewall],
notify => Service[shorewall],
- }
+ owner => root, group => 0, mode => 0644;
+ }
- service{shorewall:
+ service{shorewall:
ensure => running,
enable => true,
hasstatus => true,