Compared to just executing yum command it is very slow. Here is an example:
doing this in the cookbook:
['lvm2', 'wget', 'nano', 'mc', 'iptraf', 'tcpdump', 'curl', 'sysstat', 'vim', 'ntp', 'nfs-utils'].each do |x| yum_package x do action :install end end
results in execution time of 31 seconds. But doing this:
execute 'yum' do command 'yum install lvm2 wget nano mc iptraf tcpdump curl sysstat vim ntp nfs-utils -y' action :run end
results in execution time of 12 seconds! Is it still this bug?
Playing with flush_cache property didn't help. Is there any fix besides using "execute" instead of "yum package"? BTW it was tested on CentOS 7.