Skip to content

Instantly share code, notes, and snippets.

@iakshay
Forked from openjck/kuma-vagrant-reset.sh
Last active August 29, 2015 14:03
Show Gist options
  • Save iakshay/a4d7a10fcd9d723e8345 to your computer and use it in GitHub Desktop.
Save iakshay/a4d7a10fcd9d723e8345 to your computer and use it in GitHub Desktop.
#!/bin/bash
KUMA_ROOT=/path/to/kuma
pushd .
# https://www.youtube.com/watch?v=ckIMuvumYrg
vagrant halt
find . -name "*.pyc" -exec rm -rf {} \; &&\
rm -rf puppet/cache &&\
mkdir puppet/cache &&\
touch puppet/cache/.exists &&\
git submodule sync --recursive &&\
git submodule update --init --recursive &&\
vagrant up && (vagrant provision; vagrant provision)
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment