Don't forget to pass the zone!

This commit is contained in:
rallytime 2015-10-26 14:32:05 -04:00
parent fcafe6f355
commit d37298f973

View file

@ -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