use absent instead of present twice

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
remotes/origin/no-dot-cdist
Nico Schottelius 10 years ago
parent 64e22bdb11
commit e7308a1a61
  1. 2
      cdist/conf/type/__firewalld_rule/gencode-remote

@ -35,7 +35,7 @@ case "$state_should" in
echo firewall-cmd --permanent --direct --add-rule \"$protocol\" \"$table\" \"$chain\" \"$priority\" $rule
;;
present)
absent)
echo firewall-cmd --permanent --direct --remove-rule \"$protocol\" \"$table\" \"$chain\" \"$priority\" $rule
;;
*)

Loading…
Cancel
Save