diff options
author | mh <mh@immerda.ch> | 2016-06-25 15:13:09 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2016-06-25 15:13:09 +0200 |
commit | 90f61d5178b5cb0d879d175e3c9f8cfdc8b56f09 (patch) | |
tree | 6f030635c1982b183e53c2719284655364ff3a58 | |
parent | 2e1250278283e039cae9a37f3cdfa8dd16791f5f (diff) |
modernize lookup
-rw-r--r-- | templates/debian_default.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/debian_default.erb b/templates/debian_default.erb index ec64cbe..8a9e328 100644 --- a/templates/debian_default.erb +++ b/templates/debian_default.erb @@ -3,7 +3,7 @@ # This file is brought to you by puppet -startup=<%= scope.lookupvar('shorewall::startup') == "0" ? '0' : '1' %> +startup=<%= ['0',false].include?(scope['shorewall::startup']) ? '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 |