Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 9f33425

Browse files
committed
Merge pull request #65 from salimane/d_url
Update vagrant dmg package url
2 parents e454f30 + be4c6c6 commit 9f33425

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

manifests/init.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# include vagrant
66

77
class vagrant(
8-
$version = '1.7.4',
8+
$version = '1.8.0',
99
$completion = false
1010
) {
1111
validate_bool($completion)
@@ -17,7 +17,7 @@
1717

1818
package { "Vagrant_${version}":
1919
ensure => installed,
20-
source => "https://dl.bintray.com/mitchellh/vagrant/vagrant_${version}.dmg",
20+
source => "https://releases.hashicorp.com/vagrant/${version}/vagrant_${version}.dmg",
2121
provider => 'pkgdmg'
2222
}
2323

spec/classes/vagrant_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
let (:facts) { default_test_facts }
55

66
describe 'when not specifiying a version' do
7-
it { should contain_package('Vagrant_1.7.4').with({
7+
it { should contain_package('Vagrant_1.8.0').with({
88
:ensure => 'installed',
99
:provider => 'pkgdmg'
1010
})}
@@ -14,14 +14,14 @@
1414
let (:params) {{:version => '1.5.0'}}
1515

1616
it { should contain_package('Vagrant_1.5.0')}
17-
it { should contain_package('Vagrant_1.5.0').with_source('https://dl.bintray.com/mitchellh/vagrant/vagrant_1.5.0.dmg')}
17+
it { should contain_package('Vagrant_1.5.0').with_source('https://releases.hashicorp.com/vagrant/1.5.0/vagrant_1.5.0.dmg')}
1818
end
1919

2020
describe 'when installing bash completion' do
2121
let (:params) {{:completion => true}}
2222

23-
it { should contain_package('Vagrant_1.7.4')}
24-
it { should contain_package('Vagrant_1.7.4').with_source('https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4.dmg')}
23+
it { should contain_package('Vagrant_1.8.0')}
24+
it { should contain_package('Vagrant_1.8.0').with_source('https://releases.hashicorp.com/vagrant/1.8.0/vagrant_1.8.0.dmg')}
2525
it { should contain_package('vagrant-completion').with_provider('homebrew')}
2626
end
2727

0 commit comments

Comments
 (0)