From ef3921a8db039407e03f3e67443ae57dd31316f1 Mon Sep 17 00:00:00 2001 From: Robby Colvin Date: Mon, 10 Mar 2014 10:34:36 -0700 Subject: [PATCH] Upgrade to Vagrant 1.5.0 --- manifests/init.pp | 6 +++--- spec/classes/vagrant_spec.rb | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 722457b..eb70538 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,13 +1,13 @@ -# Public: Installs Vagrant 1.4.2 +# Public: Installs Vagrant 1.5.0 # # Usage: # # include vagrant -class vagrant($version = '1.4.2') { +class vagrant($version = '1.5.0') { package { "Vagrant_${version}": ensure => installed, - source => "https://dl.bintray.com/mitchellh/vagrant/Vagrant-${version}.dmg", + source => "https://dl.bintray.com/mitchellh/vagrant/vagrant_${version}.dmg", provider => 'pkgdmg' } diff --git a/spec/classes/vagrant_spec.rb b/spec/classes/vagrant_spec.rb index e24a21a..d1ebff9 100755 --- a/spec/classes/vagrant_spec.rb +++ b/spec/classes/vagrant_spec.rb @@ -2,17 +2,17 @@ describe 'vagrant' do describe 'when not specifiying a version' do - it { should contain_package('Vagrant_1.4.2').with({ + it { should contain_package('Vagrant_1.5.0').with({ :ensure => 'installed', :provider => 'pkgdmg' })} end describe 'when specifying a specific version' do - let (:params) {{:version => '1.4.3'}} + let (:params) {{:version => '1.5.0'}} - it { should contain_package('Vagrant_1.4.3')} - it { should contain_package('Vagrant_1.4.3').with_source('https://dl.bintray.com/mitchellh/vagrant/Vagrant-1.4.3.dmg')} + it { should contain_package('Vagrant_1.5.0')} + it { should contain_package('Vagrant_1.5.0').with_source('https://dl.bintray.com/mitchellh/vagrant/vagrant_1.5.0.dmg')} end end