summaryrefslogtreecommitdiffstats
path: root/mcp/config
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-26 16:00:39 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-26 16:00:39 +0000
commit533b81df35acd7c2f16cd347cf3167583e870d38 (patch)
tree883b180588281871dfb87437fb695ce9e1175aaf /mcp/config
parent79af1346fdd99e2186c45b2fd696d4ed6feb91cf (diff)
parentaae9a45de9a266e5341e0a76165fb909ffe45d21 (diff)
Merge "Run packages upgrade on openstack nodes only" into stable/euphrates
Diffstat (limited to 'mcp/config')
-rwxr-xr-xmcp/config/states/maas4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcp/config/states/maas b/mcp/config/states/maas
index 2a0f94809..aa17e9d4d 100755
--- a/mcp/config/states/maas
+++ b/mcp/config/states/maas
@@ -118,6 +118,6 @@ wait_for 10 "! salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' state.apply linux,ntp |
wait_for 10 "salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' ssh.set_auth_key ${SUDO_USER} \
$(awk 'NR==1{print $2}' "$(eval echo "~${SUDO_USER}/.ssh/authorized_keys")")"
-# Get the latest packages
-wait_for 10 "! salt '*' pkg.upgrade refresh=False | " \
+# Get the latest packages for openstack nodes
+wait_for 10 "! salt -C 'E@^(?!cfg01|mas01|kvm).*' pkg.upgrade refresh=False | " \
"tee /dev/stderr | fgrep -q 'Not connected'"