Permalink
Browse files

fixes for test kitchen 1.0 alpha support

* Use yum recipe directly on each suite to ensure providers are loaded
under chef-solo (related to
http://tickets.opscode.com/browse/CHEF-3376)
* Constrain berkshelf to 1.2.1 until vagrant 1.1 support is added
* corrected test cookbook name in its metadata
  • Loading branch information...
1 parent c5b4495 commit 241cd0a1d07f2a225990d9ef21dbedbcf4dd2e00 @jtimberman jtimberman committed Mar 21, 2013
Showing with 9 additions and 3 deletions.
  1. +6 −0 .kitchen.yml
  2. +1 −1 Berksfile
  3. +1 −1 Gemfile
  4. +1 −1 test/cookbooks/yum_test/metadata.rb
View
@@ -16,26 +16,32 @@ platforms:
suites:
- name: epel
run_list:
+ - recipe[yum]
- recipe[yum_test::epel]
attributes: {}
- name: ius
run_list:
+ - recipe[yum]
- recipe[yum_test::ius]
attributes: {}
- name: repoforge
run_list:
+ - recipe[yum]
- recipe[yum_test::repoforge]
attributes: {}
- name: yum
run_list:
+ - recipe[yum]
- recipe[yum_test::yum]
attributes: {}
- name: remi
run_list:
+ - recipe[yum]
- recipe[yum_test::remi]
attributes: {}
- name: cook-2121
run_list:
- recipe[minitest-handler]
+ - recipe[yum]
- recipe[yum_test::cook-2121]
attributes: {}
View
@@ -4,5 +4,5 @@ metadata
group :integration do
cookbook "minitest-handler"
- cookbook "yum_test", :path => "test/cookbooks/yum_test"
+ cookbook "yum_test", :path => "./test/cookbooks/yum_test"
end
View
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
gem 'foodcritic'
-gem 'berkshelf'
+gem 'berkshelf', '= 1.2.1'
gem 'thor-foodcritic'
gem 'vagrant', '~> 1.0.6'
@@ -1,4 +1,4 @@
-name "yum"
+name "yum_test"
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"

0 comments on commit 241cd0a

Please sign in to comment.