Trying to run the grains script from where I stand
This commit is contained in:
parent
73e9342004
commit
d810787e5b
1 changed files with 2 additions and 5 deletions
|
@ -11,15 +11,12 @@ install:
|
||||||
# Copy these states
|
# Copy these states
|
||||||
- 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
|
||||||
- sudo cp -r .travis/* /etc/salt/
|
- sudo cp -r .travis/minion /etc/salt/minion
|
||||||
- sudo service salt-minion restart
|
- sudo service salt-minion restart
|
||||||
|
|
||||||
# Additional debug help
|
|
||||||
#- sudo cat /var/log/salt/*
|
|
||||||
|
|
||||||
# See what kind of travis box you're on
|
# See what kind of travis box you're on
|
||||||
# to help with making your states compatible with travis
|
# to help with making your states compatible with travis
|
||||||
- sudo sh grains.sh
|
- sudo sh .travis/grains.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- sudo salt-call --local --config=./ --state-output=changes --log-level=quiet state.apply
|
- sudo salt-call --local --config=./ --state-output=changes --log-level=quiet state.apply
|
||||||
|
|
Loading…
Reference in a new issue