i have a list of packages that i want to install using the cookbook, including another list of casks
Steps to Reproduce:
this is my recipe calling homebrew -
include_recipe 'homebrew'
include_recipe 'homebrew::cask'
unless node['databag_items']['packages']['darwin']['install'].nil?
node['databag_items']['packages']['darwin']['install'].each do |install|
package install
end
end
unless node['databag_items']['packages']['darwin']['cask'].nil?
node['databag_items']['packages']['darwin']['cask'].each do |install|
homebrew_cask install
end
end
Cookbook version
1.13.0
Chef-client version
12.12.15
Platform Details
osx 10.10.5 - Darwin Kernel Version 14.5.0
Scenario:
i have a list of packages that i want to install using the cookbook, including another list of casks
Steps to Reproduce:
this is my recipe calling homebrew -
Expected Result:
expecting the packages/casks to get installed
Actual Result:
output of
--why-run