pinch-dotfiles/.travis/grains.sh

4 lines
218 B
Bash
Raw Normal View History

#!/bin/bash
2017-03-19 03:46:50 +00:00
salt-call --local --config=./ --state-output=changes grains.setvals "{ \"user\": \"$(whoami)\", \"group\": \"$(id -g -n $(whoami))\", \"homedir\": \"$HOME\", \"travis\": True, \"pip\": \"$(which pip)\" }"