mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Update build_rule to ignore __env__, __sls__, order
The rules not created without these switches in the iptables command.
This commit is contained in:
parent
36e00080d4
commit
a9604d7f44
@ -81,7 +81,7 @@ def build_rule(table=None, chain=None, command=None, position='', full=None,
|
||||
kwargs['jump'] = kwargs['target']
|
||||
del kwargs['target']
|
||||
|
||||
for ignore in '__id__', 'fun', 'table', 'chain':
|
||||
for ignore in '__id__', 'fun', 'table', 'chain','__env__','__sls__','order':
|
||||
if ignore in kwargs:
|
||||
del kwargs[ignore]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user