Ignore overrides.yml file when configuring override metadata

Change-Id: I39d7317dfa4c3a2a0ad96c5c07162e24c191eea0
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index d7a962a..df2c60b 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -525,9 +525,10 @@
  *
  * @param master         Salt master object
  * @param salt_overrides YAML formatted string containing key: value, one per line
+ * @param reclass_dir    Directory where Reclass git repo is located
  */
 
-def setSaltOverrides(master, salt_overrides, debug=false) {
+def setSaltOverrides(master, salt_overrides, reclass_dir="/srv/salt/reclass") {
     def mcpcommon = new com.mirantis.mcp.Common()
     def common = new com.mirantis.mk.Common()
 
@@ -539,4 +540,5 @@
          common.debugMsg("Set salt override ${key}=${value}")
          runSaltProcessStep(master, 'I@salt:master', 'reclass.cluster_meta_set', ["${key}", "${value}"], false, debug)
     }
+    runSaltProcessStep(master, 'I@salt:master', 'cmd.run', ["git -C ${reclass_dir} update-index --skip-worktree classes/cluster/overrides.yml"])
 }