Improved implementation of pretty printing.
Change-Id: Iac4b6629a384bfe55ed2983ec00ab8b1ba9f54e1
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 77e3eaf..4e16b83 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -388,7 +388,7 @@
//vip=$(salt-call pillar.data _param:stacklight_monitor_address --out key|grep _param: |awk '{print $2}')
//vip=${vip:=172.16.10.253}
def pillar = salt.getPillar(master, 'ctl01*', '_param:stacklight_monitor_address')
- print(common.prettyPrint(pillar))
+ common.prettyPrint(pillar)
def stacklight_vip = pillar['return'][0].values()[0]
if (stacklight_vip) {