Sha256: 692a91e3e2574e2ecc7171df7418fb8f7f1ba806859f093c3216c11e0abc87d8

Contents?: true

Size: 644 Bytes

Versions: 2

Compression:

Stored size: 644 Bytes

Contents

class TopCookbooks < Chef::Resource
  resource_name :top_cookbooks

  property :command, String, name_property: true

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

    cookbook_kitchen "#{command} git" do
    end

    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.8.1 acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb
chef-12.8.1-universal-mingw32 acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb