diff options
author | mh <mh@immerda.ch> | 2012-06-06 01:19:34 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-06 01:19:34 -0300 |
commit | 5f5482a2084029382a10058a287ff85c8c16c7ac (patch) | |
tree | 2e4c6f2fe63e525935133685b6341928ac3f7885 /manifests/debian.pp | |
parent | ce27d7cd097c0e2267be494b9988efe91b87165f (diff) | |
download | puppet-shorewall-5f5482a2084029382a10058a287ff85c8c16c7ac.tar.gz puppet-shorewall-5f5482a2084029382a10058a287ff85c8c16c7ac.tar.bz2 |
fix for new style for 2.7
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r-- | manifests/debian.pp | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp index eab54a2..c7ed607 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -1,15 +1,11 @@ class shorewall::debian inherits shorewall::base { - case $shorewall_startup { - '': { $shorewall_startup = "1" } - } - file{'/etc/default/shorewall': - #source => "puppet:///modules/shorewall/debian/default", - content => template("shorewall/debian_default.erb"), - require => Package['shorewall'], - notify => Service['shorewall'], - owner => root, group => 0, mode => 0644; - } - Service['shorewall']{ - status => '/sbin/shorewall status' - } + file{'/etc/default/shorewall': + content => template("shorewall/debian_default.erb"), + require => Package['shorewall'], + notify => Service['shorewall'], + owner => root, group => 0, mode => 0644; + } + Service['shorewall']{ + status => '/sbin/shorewall status' + } } |