Sha256: 229123585df8ea91ae551968f2fcba1deaf81f8e488f5458cf15cdf0fa43832d

Contents?: true

Size: 655 Bytes

Versions: 2

Compression:

Stored size: 655 Bytes

Contents

class TopCookbooks < Chef::Resource
  resource_name :top_cookbooks

  property :command, String, name_property: true

  action :run do
    cookbook_kitchen "#{command} git" do
    end

    # https://github.com/learn-chef/learn-chef-acceptance/pull/10
    # 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
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chef-12.7.2 acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb
chef-12.7.2-universal-mingw32 acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb