summaryrefslogtreecommitdiff
path: root/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb
blob: dec292567c332828a4fb284349008f57e0bc9aeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
class TopCookbooks < Chef::Resource
  resource_name :top_cookbooks

  property :command, String, name_property: true

  # Disabling all windows tests until winrm issue is properly settled.
  #
  action :run do
  
    # FIXME: waiting for https://github.com/learn-chef/learn-chef-acceptance/pull/23
    # cookbook_kitchen "#{command} learn-the-basics-ubuntu" do
    #   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

    cookbook_kitchen "#{command} powershell" do
    end

    cookbook_kitchen "#{command} iis" do
    end

    cookbook_kitchen "#{command} sql_server" do
    end

    cookbook_kitchen "#{command} winbox" do
      repository "adamedx/winbox"
    end

    # cookbook_kitchen "#{command} windows" do
    # end

    # cookbook_kitchen "#{command} chocolatey" do
    #   repository "chocolatey/chocolatey-cookbook"
    # end
  end
end