features/config.feature in berkshelf-3.0.0.beta8 vs features/config.feature in berkshelf-3.0.0.beta9

- old
+ new

@@ -18,14 +18,10 @@ "vm": { "box": "my_box", "box_url": "http://files.vagrantup.com/lucid64.box", "forward_port": { "12345": "54321" - }, - "network": { - "bridged": true, - "hostonly": "12.34.56.78" } } } } """ @@ -33,12 +29,11 @@ Then the resulting "sparkle_motion" Vagrantfile should contain: | #config.omnibus.chef_version = :latest | | config.vm.box = "my_box" | | config.vm.box_url = "http://files.vagrantup.com/lucid64.box" | | config.vm.network :forwarded_port, guest: 12345, host: 54321 | - | config.vm.network :private_network, ip: "12.34.56.78" | - | config.vm.network :public_network | + | config.vm.network :private_network, type: "dhcp" | And the exit status should be 0 Scenario: Using a Berkshelf configuration file that sets the vagrant-omnibus plugin chef version Given I have a Berkshelf config file containing: """ @@ -51,14 +46,10 @@ "vm": { "box": "my_box", "box_url": "http://files.vagrantup.com/lucid64.box", "forward_port": { "12345": "54321" - }, - "network": { - "bridged": true, - "hostonly": "12.34.56.78" } } } } """ @@ -66,12 +57,11 @@ Then the resulting "sparkle_motion" Vagrantfile should contain: | config.omnibus.chef_version = "11.4.4" | | config.vm.box = "my_box" | | config.vm.box_url = "http://files.vagrantup.com/lucid64.box" | | config.vm.network :forwarded_port, guest: 12345, host: 54321 | - | config.vm.network :private_network, ip: "12.34.56.78" | - | config.vm.network :public_network | + | config.vm.network :private_network, type: "dhcp" | And the exit status should be 0 Scenario: Using a Berkshelf configuration file that sets the vagrant-omnibus plugin chef version to latest Given I have a Berkshelf config file containing: """ @@ -84,14 +74,10 @@ "vm": { "box": "my_box", "box_url": "http://files.vagrantup.com/lucid64.box", "forward_port": { "12345": "54321" - }, - "network": { - "bridged": true, - "hostonly": "12.34.56.78" } } } } """ @@ -99,11 +85,10 @@ Then the resulting "sparkle_motion" Vagrantfile should contain: | config.omnibus.chef_version = :latest | | config.vm.box = "my_box" | | config.vm.box_url = "http://files.vagrantup.com/lucid64.box" | | config.vm.network :forwarded_port, guest: 12345, host: 54321 | - | config.vm.network :private_network, ip: "12.34.56.78" | - | config.vm.network :public_network | + | config.vm.network :private_network, type: "dhcp" | Scenario: Using a partial Berkshelf configuration file Given I have a Berkshelf config file containing: """ {