Created
January 6, 2014 16:05
-
-
Save sstults/8285013 to your computer and use it in GitHub Desktop.
Stands up an Ubuntu VM and installs NodeJS, git, Yeoman, and Compass
This file contains 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 : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64_vmware.box" | |
config.vm.network :forwarded_port, guest: 9000, host: 9000 | |
config.vm.network :forwarded_port, guest: 35729, host: 35729 | |
# config.ssh.forward_agent = true | |
config.vm.provision :shell do |shell| | |
shell.inline = "mkdir -p /etc/puppet/modules; | |
puppet module install willdurand/nodejs" | |
end | |
config.vm.provision :puppet do |puppet| | |
puppet.manifests_path = "puppet" | |
puppet.manifest_file = "site.pp" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment