aboutsummaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2019-05-03 15:55:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-05-03 15:55:49 +0000
commitaf426fff2ac486312b447d4eba2aeb47ee1aef24 (patch)
tree33b386866ce3180d12221c0b62affef04e96e844 /mcp
parent0a68db99b8f1173fe9b8844be598b4a63f0b24e8 (diff)
parentfb8821295183bb3767df4e62b798ccb3c2d222c1 (diff)
Merge "[iec] Copy full contents of IEC git repo" into stable/hunter
Diffstat (limited to 'mcp')
-rwxr-xr-xmcp/config/states/akraino_iec4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcp/config/states/akraino_iec b/mcp/config/states/akraino_iec
index 6cc010b05..4e30ca582 100755
--- a/mcp/config/states/akraino_iec
+++ b/mcp/config/states/akraino_iec
@@ -23,8 +23,8 @@ POD_NETWORK_CIDR='100.100.0.0/16' # Avoid overlapping Fuel's PXE/admin net
[ -e "${IEC_REPO_PATH}" ] || su - "${IEC_USER}" -c \
"git clone '${IEC_REPO_URI}' '${IEC_REPO_PATH}'"
# shellcheck disable=SC2086
-wait_for 3.0 "! salt-cp 'iec*' -C '${IEC_SCRIPTS_PATH}/' \
- '$(dirname ${IEC_SCRIPTS_PATH})' | grep -e False"
+wait_for 3.0 "! salt-cp 'iec*' -C '${IEC_REPO_PATH}/' \
+ '$(dirname ${IEC_REPO_PATH})' | grep -e False"
salt -C 'iec*' cmd.run "chown -R ${IEC_USER}:${IEC_USER} ${IEC_REPO_PATH}"
salt -C 'iec*' cmd.run runas="${IEC_USER}" "${IEC_SCRIPTS_PATH}/k8s_common.sh"