use default parameter

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/4.0-pre-not-stable
Nico Schottelius 11 years ago
parent b9dcd01ea1
commit ed10f4e5b4
  1. 7
      cdist/conf/type/__iptables_rule/manifest
  2. 1
      cdist/conf/type/__iptables_rule/parameter/default/state

@ -21,12 +21,7 @@
base_dir=/etc/iptables.d
name="$__object_id"
if [ -f "$__object/parameter/state" ]; then
state="$(cat "$__object/parameter/state")"
else
state="present"
fi
state="$(cat "$__object/parameter/state")"
################################################################################
# Basic setup

Loading…
Cancel
Save