mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix logic error in iptables.append
This commit is contained in:
parent
2ce4870993
commit
2ebafd80eb
@ -163,7 +163,7 @@ def append(name, **kwargs):
|
||||
name,
|
||||
command.strip())
|
||||
return ret
|
||||
if not __salt__['iptables.append'](kwargs['table'], kwargs['chain'], rule):
|
||||
if __salt__['iptables.append'](kwargs['table'], kwargs['chain'], rule):
|
||||
ret['changes'] = {'locale': name}
|
||||
ret['result'] = True
|
||||
ret['comment'] = 'Set iptables rule for {0} to: {1}'.format(
|
||||
|
Loading…
Reference in New Issue
Block a user