Trying to run the grains script from where I stand

This commit is contained in:
Elijah Lazkani 2017-03-03 23:17:01 -05:00
parent 73e9342004
commit d810787e5b

View file

@ -11,15 +11,12 @@ install:
# Copy these states
- sudo mkdir -p /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
# Additional debug help
#- sudo cat /var/log/salt/*
# See what kind of travis box you're on
# to help with making your states compatible with travis
- sudo sh grains.sh
- sudo sh .travis/grains.sh
script:
- sudo salt-call --local --config=./ --state-output=changes --log-level=quiet state.apply