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 /templates/debian_default.erb | |
parent | ce27d7cd097c0e2267be494b9988efe91b87165f (diff) | |
download | puppet-shorewall-5f5482a2084029382a10058a287ff85c8c16c7ac.tar.gz puppet-shorewall-5f5482a2084029382a10058a287ff85c8c16c7ac.tar.bz2 |
fix for new style for 2.7
Diffstat (limited to 'templates/debian_default.erb')
-rw-r--r-- | templates/debian_default.erb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/debian_default.erb b/templates/debian_default.erb index 96621f5..ec64cbe 100644 --- a/templates/debian_default.erb +++ b/templates/debian_default.erb @@ -3,11 +3,7 @@ # This file is brought to you by puppet -<% if shorewall_startup == "0" -%> -startup=0 -<% else -%> -startup=1 -<% end -%> +startup=<%= scope.lookupvar('shorewall::startup') == "0" ? '0' : '1' %> # if your Shorewall configuration requires detection of the ip address of a ppp # interface, you must list such interfaces in "wait_interface" to get Shorewall to |