diff options
author | Bryan McLellan <btm@loftninjas.org> | 2016-02-10 18:41:04 -0500 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2016-02-10 18:41:04 -0500 |
commit | d22efaa11063e1a4dc54b71db2cf917b6b7fa140 (patch) | |
tree | 3c7a223ebc72ea240def6c09d0f5d1daf87867f6 | |
parent | 23659a90063153d89b173f899a733002fce7d3bd (diff) | |
parent | e83a61cd387f32e11edb7093e8fde3ac49e5c7f9 (diff) | |
download | chef-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.rb | 5 | ||||
-rw-r--r-- | acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml | 4 |
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] |