summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalim Alam <salam@chef.io>2016-02-10 12:28:40 -0800
committerSalim Alam <salam@chef.io>2016-02-10 14:03:33 -0800
commite83a61cd387f32e11edb7093e8fde3ac49e5c7f9 (patch)
treef915909d4b00386a4e8cee297ab6a95068dd7738
parent4aa3b91c9e7f5c10bfa592816cc98752fd2dea34 (diff)
downloadchef-salam/learn-chef-windows.tar.gz
Add learn-chef for Windows to top-cookbooks testsalam/learn-chef-windows
-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]