RE: Re: multiple rpm install with yum


#1

Thanks! WORKS GREAT

-------- Original Message --------

Subject: [chef] Re: multiple rpm install with yum

From: Nathen Harvey <nharvey@customink.com>

Date: Mon, October 24, 2011 12:15 pm

To: chef@lists.opscode.com

%w(gcc glibc).each do |p|

yum_package p do

 action :install

end

end

On 10/24/11 3:13 PM, djo@dave-n-georgi.com wrote:

How can I install multiple rpms using yum without having to code so much?For instance how can I make this work?

yum_package “[gcc,glibc]” do

     action :install

end