diff options
Diffstat (limited to 'mcp/reclass/scripts/salt.sh')
-rwxr-xr-x | mcp/reclass/scripts/salt.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mcp/reclass/scripts/salt.sh b/mcp/reclass/scripts/salt.sh index b6f844e83..cf118e682 100755 --- a/mcp/reclass/scripts/salt.sh +++ b/mcp/reclass/scripts/salt.sh @@ -20,4 +20,9 @@ ssh $SSH_OPTS ubuntu@$SALT_MASTER bash -s << SALT_INSTALL_END cd /srv/salt/scripts MASTER_HOSTNAME=cfg01.${CLUSTER_DOMAIN} ./salt-master-init.sh salt-key -Ay + + salt-call state.apply salt + apt dist-upgrade -y + salt '*' saltutil.refresh_pillar + salt '*' saltutil.sync_all SALT_INSTALL_END |