day01 add openssh salt state
Change-Id: I5cd391a52149d6be10ef5c843cd2ee7e501e3e5a
diff --git a/day01-image/scripts/salt.sh b/day01-image/scripts/salt.sh
index 45e9549..c7bc7f1 100644
--- a/day01-image/scripts/salt.sh
+++ b/day01-image/scripts/salt.sh
@@ -3,14 +3,17 @@
FORMULA_VERSION=${FORMULA_VERSION:-2018.3.1}
APT_MIRANTIS_SALT_REPO=${APT_MIRANTIS_SALT_REPO:-"http://apt.mirantis.com/xenial/ $FORMULA_VERSION salt"}
+salt-call -t 5 --retcode-passthrough reclass.validate_pillar
+
echo "deb [arch=amd64] ${APT_MIRANTIS_SALT_REPO}" > /etc/apt/sources.list.d/mcp_salt.list
apt-get update
apt-get install salt-formula* -y
salt-call saltutil.refresh_pillar
salt-call saltutil.sync_all
salt-call -t 5 --retcode-passthrough --no-color state.sls salt
-salt-call -t 5 --retcode-passthrough --no-color state.sls linux.system.repo,linux.system.package,linux.system.directory,linux.system.config
+salt-call -t 5 --retcode-passthrough --no-color state.sls linux.system.repo,linux.system.package,linux.system.user,linux.system.directory,linux.system.config
salt-call -t 5 --retcode-passthrough --no-color state.sls linux.network
+salt-call -t 5 --retcode-passthrough --no-color state.sls openssh
salt-call -t 5 --retcode-passthrough --no-color state.sls git.server
salt-call -t 5 --retcode-passthrough --no-color state.sls postgresql
salt-call -t 5 --no-color state.sls maas