Last active
August 29, 2015 13:57
-
-
Save pwyliu/9737709 to your computer and use it in GitHub Desktop.
set up a ubuntu workstation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
PUPPET_URL="https://apt.puppetlabs.com" | |
PUPPET_DEB="puppetlabs-release-trusty.deb" | |
GITHUB_PROJECT="puppet-nachoboss" | |
GITHUB_URL="https://github.com/pwyliu/$GITHUB_PROJECT.git" | |
wget "$PUPPET_URL/$PUPPET_DEB" | |
sudo dpkg -i ${PUPPET_DEB} | |
rm ${PUPPET_DEB} | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install git puppet | |
git clone ${GITHUB_URL} | |
cd ${GITHUB_PROJECT} | |
puppet module install puppetlabs-apt --modulepath=modules/ | |
./go.sh | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment