blob: 879c250b7c95041ea5f8d338c73ee11b8536b508 [file] [log] [blame]
Richard Felkld59c5652018-02-08 13:14:05 +01001#!/bin/bash -xe
azvyagintsev6d453852018-02-26 16:56:37 +02002
3echo "deb [arch=amd64] ${APT_MIRANTIS_SALT_REPO}" > /etc/apt/sources.list.d/mcp_salt.list
Richard Felkld59c5652018-02-08 13:14:05 +01004apt-get update
Richard Felkld59c5652018-02-08 13:14:05 +01005apt-get install salt-formula* -y
6salt-call saltutil.refresh_pillar
7salt-call saltutil.sync_all
8salt-call -t 5 --retcode-passthrough --no-color state.sls salt
azvyagintsev6d453852018-02-26 16:56:37 +02009salt-call -t 5 --retcode-passthrough --no-color state.sls linux.system.repo,linux.system.directory,linux.system.package
10salt-call -t 5 --retcode-passthrough --no-color state.sls linux.system.file
11salt-call -t 5 --retcode-passthrough --no-color state.sls docker.host
12salt-call -t 5 --retcode-passthrough --no-color state.sls docker exclude=docker.client.registry
Richard Felkl47757902018-03-02 22:44:43 +010013sleep 120
Richard Felkld59c5652018-02-08 13:14:05 +010014salt-call -t 5 --retcode-passthrough --no-color state.sls linux.network
15salt-call -t 5 --retcode-passthrough --no-color state.sls nginx