Creating salt directory path on OSX
This commit is contained in:
parent
e72921d7f7
commit
79a22426f8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue