provider: Fix idempotence by retrieving full provider bedore editing it
This commit is contained in:
parent
4e11e35ec7
commit
9422b20320
@ -48,6 +48,7 @@ def main():
|
|||||||
|
|
||||||
for s in providers:
|
for s in providers:
|
||||||
if s._srctype == p['type'] and s._comment == p['name']:
|
if s._srctype == p['type'] and s._comment == p['name']:
|
||||||
|
s = a.provider_get(s._id)
|
||||||
found = True
|
found = True
|
||||||
|
|
||||||
if p['state'] == 'absent':
|
if p['state'] == 'absent':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user