Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Commit ab7d157

Browse files
committed
Merge pull request rails#31 from iamjarvo/upgrade_vagrant
Use Vagrant 1.1 configuration api
2 parents d8b9ab1 + 8e2a841 commit ab7d157

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Diff for: Vagrantfile

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
Vagrant::Config.run do |config|
1+
Vagrant.configure("2") do |config|
22
config.vm.box = 'precise32'
33
config.vm.box_url = 'http://files.vagrantup.com/precise32.box'
4-
config.vm.host_name = 'rails-dev-box'
4+
config.vm.hostname = 'rails-dev-box'
55

6-
config.vm.forward_port 3000, 3000
6+
config.vm.network :forwarded_port, guest: 3000, host: 3000
77

8-
config.vm.provision :puppet,
9-
:manifests_path => 'puppet/manifests',
10-
:module_path => 'puppet/modules'
8+
config.vm.provision :puppet do |puppet|
9+
puppet.manifests_path = 'puppet/manifests'
10+
puppet.module_path = 'puppet/modules'
11+
end
1112
end

0 commit comments

Comments
 (0)