Skip to content

Instantly share code, notes, and snippets.

@mostlygeek
Last active August 29, 2015 14:02
Show Gist options
  • Save mostlygeek/b2910993589f91eba5e9 to your computer and use it in GitHub Desktop.
Save mostlygeek/b2910993589f91eba5e9 to your computer and use it in GitHub Desktop.
setup-moz-puppet-env
#!/bin/sh
cd ~
DIST=$(/usr/lib/rpm/redhat/dist.sh --el)
if [ "$DIST" -eq "6" ]; then
sudo yum install -y vim-svcops
echo "alias vi=/opt/vim/bin/vim" >> ~/.bash_profile
echo "alias vim=/opt/vim/bin/vim" >> ~/.bash_profile
source ~/.bash_profile
fi
curl -L http://bitly.com/mg-env | sh
git clone [email protected]:mozilla-services/puppet-config.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment