forked from ungleich-public/cdist
use absent instead of present twice
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
This commit is contained in:
parent
64e22bdb11
commit
e7308a1a61
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue