blob: 9c8a83703a6557f02abb685efa367cd518f8abf1 [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 Felkld59c5652018-02-08 13:14:05 +010013salt-call -t 5 --retcode-passthrough --no-color state.sls linux.network
14salt-call -t 5 --retcode-passthrough --no-color state.sls nginx