Keep original variable types in overrides
For example in cases when value is boolean false
it is translated to string 'false' in overrides.yml
This commit removes unneeded variables interpolation.
Change-Id: I5ce043016e4805e6e92b91b4e38098b3892e3947
Related-Prod: https://mirantis.jira.com/browse/PROD-16078
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index dc9bd6f..00d90ec 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -647,7 +647,7 @@
def value = entry[1]
common.debugMsg("Set salt override ${key}=${value}")
- runSaltProcessStep(saltId, 'I@salt:master', 'reclass.cluster_meta_set', ["${key}", "${value}"], false)
+ runSaltProcessStep(saltId, 'I@salt:master', 'reclass.cluster_meta_set', [key, value], false)
}
runSaltProcessStep(saltId, 'I@salt:master', 'cmd.run', ["git -C ${reclass_dir} update-index --skip-worktree classes/cluster/overrides.yml"])
}