Created
August 8, 2012 11:13
-
-
Save aussielunix/3294321 to your computer and use it in GitHub Desktop.
shellthings
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
node default { | |
rbenv::install { "someuser": | |
group => 'project' | |
home => '/project' | |
} | |
rbenv::compile { "1.9.3-p370": | |
user => "someuser", | |
home => "/project", | |
} | |
} |
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
cd ~/vagrantbox | |
vagrant init | |
mkdir modules | |
git clone git://github.com/alup/puppet-rbenv.git modules/ |
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
# -*- 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