Skip to content

Instantly share code, notes, and snippets.

@sstults
Created January 6, 2014 16:05
Show Gist options
  • Save sstults/8285013 to your computer and use it in GitHub Desktop.
Save sstults/8285013 to your computer and use it in GitHub Desktop.
Stands up an Ubuntu VM and installs NodeJS, git, Yeoman, and Compass
# -*- 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