Skip to content

Instantly share code, notes, and snippets.

@spikebrehm
Last active December 16, 2015 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save spikebrehm/64802de6e785fad90d75 to your computer and use it in GitHub Desktop.
Save spikebrehm/64802de6e785fad90d75 to your computer and use it in GitHub Desktop.
Converge helper
function converge() {
id=$1
reason=$2
echo "Converging $id..."
cd ~/code/chef
fab -P -u spike -R $id converge:"$2"
cd -
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment