Creating salt directory path on OSX

This commit is contained in:
Elijah Lazkani 2017-03-18 02:28:52 -04:00
parent e72921d7f7
commit 79a22426f8

View file

@ -19,6 +19,7 @@ before_install:
install: install:
- sudo mkdir -p /srv/salt/states - sudo mkdir -p /srv/salt/states
- sudo cp -r salty/base/* /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 - sudo cp -r .travis/minion /etc/salt/minion
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo service salt-minion restart; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo service salt-minion restart; fi
- sudo sh .travis/grains.sh - sudo sh .travis/grains.sh