From 79a22426f8e5eec4b02d5df09edccb1e5f5362a2 Mon Sep 17 00:00:00 2001 From: Elijah Lazkani Date: Sat, 18 Mar 2017 02:28:52 -0400 Subject: [PATCH] Creating salt directory path on OSX --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 2031207..5ba9a93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ before_install: install: - sudo mkdir -p /srv/salt/states - sudo cp -r salty/base/* /srv/salt/states + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo mkdir -p /etc/salt; fi - sudo cp -r .travis/minion /etc/salt/minion - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo service salt-minion restart; fi - sudo sh .travis/grains.sh