summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/debian.pp4
-rw-r--r--templates/debian_default.erb2
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index 4f9f337..dfa890f 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,10 +1,10 @@
class shorewall::debian inherits shorewall::base {
case $shorewall_startup {
- '': { $shorewall_startup = 1 }
+ '': { $shorewall_startup = "1" }
}
file{'/etc/default/shorewall':
#source => "puppet://$server/modules/shorewall/debian/default",
- content => template("shorewall/debian_default.erb"),
+ content => template("shorewall/debian_default.erb"),
require => Package['shorewall'],
notify => Service['shorewall'],
owner => root, group => 0, mode => 0644;
diff --git a/templates/debian_default.erb b/templates/debian_default.erb
index 1a76fd6..96621f5 100644
--- a/templates/debian_default.erb
+++ b/templates/debian_default.erb
@@ -3,7 +3,7 @@
# This file is brought to you by puppet
-<% if (shorewall_startup == "0" ) -%>
+<% if shorewall_startup == "0" -%>
startup=0
<% else -%>
startup=1