Skip to content

Instantly share code, notes, and snippets.

@englishm
Created September 4, 2012 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save englishm/3624528 to your computer and use it in GitHub Desktop.
Save englishm/3624528 to your computer and use it in GitHub Desktop.
Vagrantfile for base CentOS 6.3 + RVM + Ruby + Puppet
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "centos-6.3"
config.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-centos-6.3.box"
# Execute bootstrap.sh script (from a Gist) to install RVM, Ruby, Puppet, etc.
# Read the Gist: https://gist.github.com/3615875
config.vm.provision :shell, :inline => "curl -s -L https://raw.github.com/gist/3615875/bootstrap.sh > ~/bootstrap.sh"
config.vm.provision :shell, :inline => "bash ~/bootstrap.sh"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment