Last active
November 1, 2016 22:27
-
-
Save johnduarte/c2bc42c71c47193452eefbef72b377d8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Assumptions: | |
# * Following commands are run as a non-root user on a POSIX OS | |
# * Puppet-agent is installed and has been invoked at least once by the | |
# user in order to create the local puppetlabs directory path. | |
# This can be done with `puppet module install motd` | |
# * Git is installed | |
# * Ruby is installed | |
# * Bundler is installed | |
git clone https://github.com/johnduarte/puppet-beaker_101.git ~/.puppetlabs/etc/code/modules/beaker_101 | |
puppet apply -e 'include beaker_101' | |
ln -s /tmp/beaker_101 ~/beaker_101 | |
cd ~/beaker_101 | |
bundle install | |
cat > export_proxy.rb <<EOS | |
on(master, 'echo "export http_proxy=http://4.31.142.200:8080" >> /etc/profile') | |
EOS | |
bundle exec beaker --hosts vmpooler.cfg --preserve-hosts --pre-suite export_proxy.rb,install_pe.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment