summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2016-02-10 18:41:04 -0500
committerBryan McLellan <btm@loftninjas.org>2016-02-10 18:41:04 -0500
commitd22efaa11063e1a4dc54b71db2cf917b6b7fa140 (patch)
tree3c7a223ebc72ea240def6c09d0f5d1daf87867f6
parent23659a90063153d89b173f899a733002fce7d3bd (diff)
parente83a61cd387f32e11edb7093e8fde3ac49e5c7f9 (diff)
downloadchef-d22efaa11063e1a4dc54b71db2cf917b6b7fa140.tar.gz
Merge pull request #4556 from chef/salam/learn-chef-windows
Add learn-chef for Windows to top-cookbooks test
-rw-r--r--acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb5
-rw-r--r--acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml4
2 files changed, 9 insertions, 0 deletions
diff --git a/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb b/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb
index d9086366da..aed81f073b 100644
--- a/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb
+++ b/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb
@@ -11,5 +11,10 @@ class TopCookbooks < Chef::Resource
repository "learn-chef/learn-chef-acceptance"
cookbook_relative_dir "cookbooks/learn-the-basics-ubuntu"
end
+
+ cookbook_kitchen "#{command} learn-the-basics-windows" do
+ repository "learn-chef/learn-chef-acceptance"
+ cookbook_relative_dir "cookbooks/learn-the-basics-windows"
+ end
end
end
diff --git a/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml b/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml
new file mode 100644
index 0000000000..4e229877ed
--- /dev/null
+++ b/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml
@@ -0,0 +1,4 @@
+suites:
+ - name: learn-the-basics-windows-default
+ run_list: ["recipe[learn-the-basics-windows::default]"]
+ includes: [windows-2012r2]