I have a chef recipe that installs packages in a loop:
pkgs.each do |pkg|
yum_package "tools" do
package_name pkg
action :install
end
end
This recipe is however throwing the following error:
[2014-05-22T08:26:13-04:00] WARN: Cloning resource attributes for yum_package[tools] from prior resource (CHEF-3694)
[2014-05-22T08:26:13-04:00] WARN: Previous yum_package[tools]: /var/chef/cache/cookbooks/tools/recipes/default.rb:9:in `block in from_file'
Eventually, this feature is going to be removed. So, I need to find a way to properly loop in a chef recipe without throwing this warning; I've had no luck thus far trying to figure this out; I'm wondering if anyone else has a solution?