Permalink
Browse files

Add the last bit to the sample Vagrantfile

  • Loading branch information...
1 parent acf1dbe commit f1464aab820de00d6c773634da057b0beef5cf14 @mikecanz committed Mar 21, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 Vagrantfile
View
@@ -29,17 +29,19 @@ Vagrant::Config.run do |config|
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.
- config.vm.forward_port 80, 8080
+ config.vm.forward_port 80, 8080
# Share an additional folder to the guest VM. The first argument is
# an identifier, the second is the path on the guest to mount the
# folder, and the third is the path on the host to the actual folder.
- #config.vm.share_folder "v-data", "/home/vagrant", "vagrant-data"
+ config.vm.share_folder "v-data", "/home/ec2-user/<YOUR_REPO>", "<YOUR_REPO>"
- config.vm.provision :puppet do |puppet|
+ config.vm.provision :puppet, :facter => { "ec2_security_groups" => "webserver-nginxdb-mongo" } do |puppet|
puppet.manifests_path = "aws-ec2-puppet/manifests"
puppet.manifest_file = "nodes.pp"
puppet.module_path = "aws-ec2-puppet/modules"
end
+
end
+

0 comments on commit f1464aa

Please sign in to comment.