Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Commit

Permalink
Modernize .kitchen.yml add OS X and Windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
schisamo committed Sep 12, 2014
1 parent 7e74542 commit 8f07926
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,6 +4,7 @@ vendor/bundle
pkg/*
.vagrant
.kitchen
.kitchen.local.yml
bin/*
files/chef-server-cookbooks/cache/
files/msi/ChefClient-Config.wxi
Expand Down
6 changes: 6 additions & 0 deletions .kitchen.local.yml.vmware.example
@@ -0,0 +1,6 @@
driver:
name: vagrant
provider: vmware_fusion
customize:
numvcpus: 2
memsize: 2048
28 changes: 27 additions & 1 deletion .kitchen.yml
Expand Up @@ -17,7 +17,7 @@ driver:

provisioner:
name: chef_zero
require_chef_omnibus: 11.14.6
require_chef_omnibus: 11.12.4

platforms:
- name: centos-5.10
Expand All @@ -44,12 +44,38 @@ platforms:
run_list: apt::default
- name: ubuntu-14.04
run_list: apt::default
# The following boxes are shared via VagrantCloud. Until kitchen-vagrant
# is updated you'll need to add the box manually:
#
# vagrant box add chef/windows-8.1-professional
#
# Please note this may require a `vagrant login` if the box is private.
#
# The following boxes are VMware only also. You can enable VMware Fusion
# as the default provider by copying `.kitchen.local.yml.vmware.example`
# over to `.kitchen.local.yml`.
#
- name: macosx-10.8
driver:
box: chef/macosx-10.8 # private
- name: macosx-10.9
driver:
box: chef/macosx-10.9 # private
- name: windows-7-professional
provisioner:
name: windows_chef_zero
driver:
box: chef/windows-7-professional # private
- name: windows-8.1-professional
provisioner:
name: windows_chef_zero
driver:
box: chef/windows-8.1-professional # private
- name: windows-2008r2-standard
provisioner:
name: windows_chef_zero
driver:
box: chef/windows-server-2008r2-standard # private

suites:
- name: chef
Expand Down
14 changes: 14 additions & 0 deletions Gemfile
Expand Up @@ -2,3 +2,17 @@ source 'https://rubygems.org'

gem 'omnibus-software', github: 'opscode/omnibus-software'
gem 'omnibus', github: 'opscode/omnibus'

# This development group is installed by default when you run `bundle install`,
# but if you are using Omnibus in a CI-based infrastructure, you do not need
# the Test Kitchen-based build lab. You can skip these unnecessary dependencies
# by running `bundle install --without development` to speed up build times.
group :development do
# Use Berkshelf for resolving cookbook dependencies
gem 'berkshelf', '~> 3.0'

# Use Test Kitchen with Vagrant for converging the build environment
gem 'test-kitchen', '~> 1.2'
gem 'kitchen-vagrant', '~> 0.15'
gem 'windows_chef_zero', '~> 2.0'
end
109 changes: 103 additions & 6 deletions Gemfile.lock
@@ -1,9 +1,3 @@
GIT
remote: git://github.com/opscode/omnibus-software.git
revision: 1229a2b0aa5eb6aae255ef647a0ad13e3c99c5c5
specs:
omnibus-software (4.0.0)

GIT
remote: git://github.com/opscode/omnibus.git
revision: 1526a357f87c68661e46e069657acafc0d47cbe1
Expand All @@ -16,22 +10,82 @@ GIT
thor (~> 0.18)
uber-s3

GIT
remote: git://github.com/opscode/omnibus-software.git
revision: 1229a2b0aa5eb6aae255ef647a0ad13e3c99c5c5
specs:
omnibus-software (4.0.0)

GEM
remote: https://rubygems.org/
specs:
addressable (2.3.6)
berkshelf (3.1.5)
addressable (~> 2.3.4)
berkshelf-api-client (~> 1.2)
buff-config (~> 1.0)
buff-extensions (~> 1.0)
buff-shell_out (~> 0.1)
celluloid (~> 0.16.0.pre)
celluloid-io (~> 0.16.0.pre)
faraday (~> 0.9.0)
minitar (~> 0.5.4)
octokit (~> 3.0)
retryable (~> 1.3.3)
ridley (~> 4.0)
solve (~> 1.1)
thor (~> 0.18)
berkshelf-api-client (1.2.0)
faraday (~> 0.9.0)
buff-config (1.0.1)
buff-extensions (~> 1.0)
varia_model (~> 0.4)
buff-extensions (1.0.0)
buff-ignore (1.1.1)
buff-ruby_engine (0.1.0)
buff-shell_out (0.2.0)
buff-ruby_engine (~> 0.1.0)
celluloid (0.16.0)
timers (~> 4.0.0)
celluloid-io (0.16.0)
celluloid (>= 0.16.0)
nio4r (>= 1.0.0)
chef-sugar (2.2.0)
cleanroom (1.0.0)
dep-selector-libgecode (1.0.2)
dep_selector (1.0.3)
dep-selector-libgecode (~> 1.0)
ffi (~> 1.9)
erubis (2.7.0)
faraday (0.9.0)
multipart-post (>= 1.2, < 3)
ffi (1.9.3)
ffi-yajl (1.0.2)
ffi (~> 1.5)
libyajl2 (~> 1.0)
hashie (2.1.2)
hitimes (1.2.2)
ipaddress (0.8.0)
json (1.8.1)
kitchen-vagrant (0.15.0)
test-kitchen (~> 1.0)
libyajl2 (1.0.1)
mime-types (1.25.1)
minitar (0.5.4)
mixlib-authentication (1.3.0)
mixlib-log
mixlib-cli (1.5.0)
mixlib-config (2.1.0)
mixlib-log (1.6.0)
mixlib-shellout (1.4.0)
multipart-post (2.0.0)
net-http-persistent (2.9.4)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.1)
nio4r (1.0.1)
octokit (3.3.1)
sawyer (~> 0.5.3)
ohai (7.2.4)
ffi (~> 1.9)
ffi-yajl (~> 1.0)
Expand All @@ -43,15 +97,58 @@ GEM
mixlib-shellout (~> 1.2)
systemu (~> 2.6.4)
wmi-lite (~> 1.0)
retryable (1.3.6)
ridley (4.0.0)
addressable
buff-config (~> 1.0)
buff-extensions (~> 1.0)
buff-ignore (~> 1.1)
buff-shell_out (~> 0.1)
celluloid (~> 0.16.0.pre)
celluloid-io (~> 0.16.0.pre)
erubis
faraday (~> 0.9.0)
hashie (>= 2.0.2, < 3.0.0)
json (>= 1.7.7)
mixlib-authentication (>= 1.3.0)
net-http-persistent (>= 2.8)
retryable
semverse (~> 1.1)
varia_model (~> 0.4)
safe_yaml (1.0.3)
sawyer (0.5.5)
addressable (~> 2.3.5)
faraday (~> 0.8, < 0.10)
semverse (1.2.1)
solve (1.2.1)
dep_selector (~> 1.0)
semverse (~> 1.1)
systemu (2.6.4)
test-kitchen (1.2.1)
mixlib-shellout (~> 1.2)
net-scp (~> 1.1)
net-ssh (~> 2.7)
safe_yaml (~> 1.0)
thor (~> 0.18)
thor (0.19.1)
timers (4.0.0)
hitimes
uber-s3 (0.2.4)
mime-types (~> 1.17)
varia_model (0.4.0)
buff-extensions (~> 1.0)
hashie (>= 2.0.2, < 3.0.0)
windows_chef_zero (2.0.0)
test-kitchen (>= 1.2.1)
wmi-lite (1.0.0)

PLATFORMS
ruby

DEPENDENCIES
berkshelf (~> 3.0)
kitchen-vagrant (~> 0.15)
omnibus!
omnibus-software!
test-kitchen (~> 1.2)
windows_chef_zero (~> 2.0)

0 comments on commit 8f07926

Please sign in to comment.