Skip to content

Commit c66dfd2

Browse files
authored
Merge pull request #2 from dayne/p5_1_16
5.1.16 update turned into a 5.1.18 update that includes a working windows 2016 kitchen test install. The windows verification still does not work. I don't know trick to writing a good package verification that works for linux and windows.
2 parents 68aa4c8 + 6f0e290 commit c66dfd2

File tree

5 files changed

+32
-8
lines changed

5 files changed

+32
-8
lines changed

.kitchen.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ driver:
55
verifier:
66
name: inspec
77

8+
transport:
9+
username: vagrant
10+
password: vagrant
11+
elevated: true
12+
name: winrm
13+
814
provisioner:
915
name: chef_zero
1016

@@ -14,6 +20,10 @@ platforms:
1420
- name: debian-8.6
1521
- name: centos-6.8
1622
- name: centos-7.2
23+
- name: windows-2016
24+
driver:
25+
box: mwrock/Windows2016
26+
gui: false
1727

1828
suites:
1929
- name: default

Berksfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
site :opscode
1+
source 'https://supermarket.chef.io'
2+
23
metadata

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
# changelog
22

3+
## 2.0.3
4+
5+
* VirtualBox 5.1.18 as default
6+
* Working test kitchen for Windows 2016 using publicly available Windows 2016
7+
image from @mwrock's [mrock/packer-templates](https://github.com/mwrock/packer-templates). Others should be able to converge & verify for windows systems.
8+
* Updating contact info in metadata
9+
310
## 2.0.1
411

512
* update to VirtualBox 5.1 and confirm it works for following in test kitchen
613
* ubuntu-16.04, 16.10
714
* centos 6.8, 7.2
815
* debian 8.6
9-
* convert to inspec tests to verify successfull install in above environments
16+
* convert to inspec tests to verify successful install in above environments
1017

1118
## 1.0.3
1219
* update `yum` dependency to 3

attributes/default.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@
2323

2424
case node['platform_family']
2525
when 'mac_os_x'
26-
default['virtualbox']['url'] = 'http://download.virtualbox.org/virtualbox/5.1.14/VirtualBox-5.1.14-112924-OSX.dmg'
26+
default['virtualbox']['url'] = 'http://download.virtualbox.org/virtualbox/5.1.18/VirtualBox-5.1.18-114002-OSX.dmg'
2727
when 'windows'
28-
default['virtualbox']['url'] = 'http://download.virtualbox.org/virtualbox/5.1.14/VirtualBox-5.1.14-112924-Win.exe'
29-
default['virtualbox']['version'] = Vbox::Helpers.vbox_version(node['virtualbox']['url'])
28+
default['virtualbox']['url'] = 'http://download.virtualbox.org/virtualbox/5.1.18/VirtualBox-5.1.18-114002-Win.exe'
29+
default['virtualbox']['version'] = '5.1.18'
30+
# Vbox::Helpers.vbox_version(node['virtualbox']['url'])
3031
when 'debian', 'rhel', 'fedora'
3132
default['virtualbox']['version'] = '5.1'
3233
end

metadata.rb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name "virtualbox"
2-
maintainer "Bradley D Smith"
3-
maintainer_email "[email protected]"
2+
# maintainer "Bradley D Smith"
3+
# maintainer_email "[email protected]"
4+
maintainer "Dayne Broderson"
5+
maintainer_email "[email protected]"
46
license "Apache 2.0"
57
description "Installs virtualbox"
68
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version "2.0.1"
9+
version "2.0.3"
10+
11+
source_url "https://github.com/dayne/virtualbox-cookbook"
12+
issues_url "https://github.com/dayne/virtualbox-cookbook/issues"
813

914
%w{ubuntu debian centos redhat mac_os_x windows fedora}.each do |os|
1015
supports os

0 commit comments

Comments
 (0)