Skip to content

Instantly share code, notes, and snippets.

@aussielunix
Created August 8, 2012 11:13
Show Gist options
  • Save aussielunix/3294321 to your computer and use it in GitHub Desktop.
Save aussielunix/3294321 to your computer and use it in GitHub Desktop.
shellthings
node default {
rbenv::install { "someuser":
group => 'project'
home => '/project'
}
rbenv::compile { "1.9.3-p370":
user => "someuser",
home => "/project",
}
}
cd ~/vagrantbox
vagrant init
mkdir modules
git clone git://github.com/alup/puppet-rbenv.git modules/
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "lucid32"
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
config.vm.forward_port 8080, 8080
config.vm.provision :puppet, :module_path => "modules" do |puppet|
puppet.manifests_path = "."
puppet.manifest_file = "init.pp"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment