fix on external dns management
This commit is contained in:
parent
347b52b5da
commit
cfbc74fff0
@ -52,7 +52,8 @@ def domain_record_present(name,
|
|||||||
if cur_record is not None:
|
if cur_record is not None:
|
||||||
res = __salt__['ovhapi.domain_put_record'](zone=zone,
|
res = __salt__['ovhapi.domain_put_record'](zone=zone,
|
||||||
fieldType=recordtype,
|
fieldType=recordtype,
|
||||||
subDomain=recordname)
|
subDomain=recordname,
|
||||||
|
target=target)
|
||||||
new_zone_state = __salt__['ovhapi.domain_get_zone'](zone=zone)
|
new_zone_state = __salt__['ovhapi.domain_get_zone'](zone=zone)
|
||||||
|
|
||||||
ret['changes'] = {
|
ret['changes'] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user