From e83a61cd387f32e11edb7093e8fde3ac49e5c7f9 Mon Sep 17 00:00:00 2001 From: Salim Alam Date: Wed, 10 Feb 2016 12:28:40 -0800 Subject: Add learn-chef for Windows to top-cookbooks test --- .../.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb | 5 +++++ acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml 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] -- cgit v1.2.1