Merge pull request #237 from puppetlabs/vagrant-update

Updated Vagrant box and associated docs
This commit is contained in:
Rob Braden 2017-11-07 15:11:25 -08:00 committed by GitHub
commit 1ff78b4ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -104,6 +104,11 @@ cp vmpooler.yaml.dummy-example vmpooler.yaml
sudo yum -y install redis
sudo systemctl start redis
# Optional: Choose your ruby version or use jruby
# ruby 2.4.x is used by default
rvm list
rvm use jruby-9.1.7.0
gem install bundler
bundle install
bundle exec ruby vmpooler

2
Vagrantfile vendored
View file

@ -1,6 +1,6 @@
# vim: autoindent tabstop=2 shiftwidth=2 expandtab softtabstop=2 filetype=ruby
Vagrant.configure("2") do |config|
config.vm.box = "genebean/centos-7-rvm-221"
config.vm.box = "genebean/centos-7-rvm-multi"
config.vm.network "forwarded_port", guest: 4567, host: 4567
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.provision "shell", inline: <<-SCRIPT