blob: 613352a8e41f57920bfb0a9456d5063cce9725e5 [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
Jiri Broulik3ffb7452018-04-12 10:37:07 +020016salt-call -t 5 --retcode-passthrough --no-color state.sls maas.mirror