debug checkResult
Change-Id: Iff17bb2852e323876060dfb2d6c8f7d23b75160d
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index 52b70dc..9480d96 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -185,6 +185,8 @@
}
for (node in entry) {
for (resource in node.value) {
+ print(resource.getClass().getName())
+ print(resource)
if (resource instanceof String || resource.value.result.toString().toBoolean() != true) {
throw new Exception("Salt state on node ${node.key} failed: ${node.value}")
}