This repository was archived by the owner on Dec 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 55# include vagrant
66
77class vagrant (
8- $version = ' 1.7.4 ' ,
8+ $version = ' 1.8.0 ' ,
99 $completion = false
1010) {
1111 validate_bool($completion )
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
Original file line number Diff line number Diff line change 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 } ) }
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
You can’t perform that action at this time.
0 commit comments