added a refresh to ovh dns management
This commit is contained in:
parent
5c5f5208f9
commit
b79efa21ee
@ -48,6 +48,8 @@ def domain_record_present(name,
|
||||
|
||||
cur_zone_state = __salt__['ovhapi.domain_get_zone'](zone=zone)
|
||||
|
||||
cur_zone_refresh = __salt__['ovhapi.domain_refresh_zone'](zone=zone)
|
||||
|
||||
res = __salt__['ovhapi.domain_post_record'](
|
||||
zone=zone,
|
||||
subDomain=recordname,
|
||||
|
Loading…
Reference in New Issue
Block a user