summaryrefslogtreecommitdiffstats
path: root/mcp/config/states
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-22 18:28:58 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-22 18:39:06 +0400
commit87310fb8edfe49b9621fe4410ae52d989072e3c5 (patch)
tree471f7c5765017e844c4e50f4d9f22b1f21389da9 /mcp/config/states
parent80024618fbda8422ba758d667073ad07c6f69542 (diff)
Adjust memory allocation size
* [baremetal] add memory to contollers & salt master * tune up sysctl vm.dirty* for compute nodes * upgrade packages to get the latest versions (https://bugs.launchpad.net/cinder/+bug/1641312) Change-Id: I9ad22206f2f3f11e1da3f93c7a0931c592adf1cf Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-xmcp/config/states/maas3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/maas b/mcp/config/states/maas
index 0d733bafa..11c89c99b 100755
--- a/mcp/config/states/maas
+++ b/mcp/config/states/maas
@@ -111,3 +111,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
+salt '*' pkg.upgrade refresh=False