blob: d9086366da9d2d939ca3b365e3f0c14391d6cb22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class TopCookbooks < Chef::Resource
resource_name :top_cookbooks
property :command, String, name_property: true
action :run do
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
end
end
|