Skip to content

Instantly share code, notes, and snippets.

@philihp
Forked from spikebrehm/converge.bash
Last active August 29, 2015 14:07
Show Gist options
  • Save philihp/2bfb342ca33c424f05f1 to your computer and use it in GitHub Desktop.
Save philihp/2bfb342ca33c424f05f1 to your computer and use it in GitHub Desktop.
function converge() {
id=$1
reason=$2
echo "Converging $id..."
cd ~/code/chef
fab -P -u $USER -R $id converge_service:"$2"
cd -
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment