Skip to content

Commit 48b2651

Browse files
committed
simplify vm.box location for Vagrantfile
1 parent a6d651d commit 48b2651

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Vagrantfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Vagrant.configure("2") do |config|
77
config.vm.synced_folder ".", "/tmp/puppet-modules/influxdb", type: "rsync", rsync__exclude: ".git/"
88

99
config.vm.define "centos", primary: true do |centos|
10-
centos.vm.box = 'centos64'
11-
centos.vm.box_url = 'https://vagrantcloud.com/puppetlabs/boxes/centos-6.5-64-puppet/versions/3/providers/virtualbox.box'
10+
centos.vm.box = "puppetlabs/centos-6.5-64-puppet"
1211
centos.vm.provision :puppet do |puppet|
1312
puppet.manifests_path = "tests"
1413
puppet.manifest_file = "vagrant.pp"
@@ -17,8 +16,7 @@ Vagrant.configure("2") do |config|
1716
end
1817

1918
config.vm.define "ubuntu", autostart: false do |ubuntu|
20-
ubuntu.vm.box = 'ubuntu64'
21-
ubuntu.vm.box_url = 'https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-puppet/versions/3/providers/virtualbox.box'
19+
ubuntu.vm.box = "puppetlabs/ubuntu-14.04-64-puppet"
2220
ubuntu.vm.provision :puppet do |puppet|
2321
puppet.manifests_path = "tests"
2422
puppet.manifest_file = "vagrant.pp"

0 commit comments

Comments
 (0)