Updated absent and role_unassign states behavior.
Added ResourceNotFound exception handling.
Added force_delete flag to domain_absent.
It provide disable domain before deleting.
Updated _deleted method for return correct changes data.
Change-Id: Ifa6f6a1ab9c6dd0f1f0db114928200f1038bbf4f
(cherry picked from commit c0a50e4349f6d0bfc0a97848b0bfd2e0969b1cd7)
diff --git a/_states/keystoneng.py b/_states/keystoneng.py
index dcefbd9..82ce494 100644
--- a/_states/keystoneng.py
+++ b/_states/keystoneng.py
@@ -802,7 +802,7 @@
profile=profile,
interface=interface,
**connection_args)
- if not endpoint:
+ if endpoint and 'Error' in endpoint:
return ret
else:
if __opts__.get('test'):