mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't forget to pass the zone!
This commit is contained in:
parent
fcafe6f355
commit
d37298f973
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ def present(name,
|
|||
new_services.append(service)
|
||||
if not __opts__['test']:
|
||||
try:
|
||||
__salt__['firewalld.add_service'](service)
|
||||
__salt__['firewalld.add_service'](service, zone=name)
|
||||
except CommandExecutionError as err:
|
||||
ret['comment'] = 'Error: {0}'.format(err)
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue