[chef] Re: yum install from URL


Chronological Thread 
  • From: Sean OMeara < >
  • To:
  • Subject: [chef] Re: yum install from URL
  • Date: Sun, 6 Jan 2013 17:00:06 -0500

Hi Jordi!

try this:

package "rabbit" do
  source 
"http://www.rabbitmq.com/releases/rabbitmq-server/v3.0.1/rabbitmq-server-3.0.1-1.noarch.rpm";
  action :install
  provider Chef::Provider::Package::Rpm
end

-s

On Sun, Jan 6, 2013 at 4:47 PM, Jordi Llonch 
< >
 wrote:
> Hi,
>
> How can I run the following command using a recipe?
>
> yum install -y
> http://www.rabbitmq.com/releases/rabbitmq-server/v3.0.1/rabbitmq-server-3.0.1-1.noarch.rpm
>
> Thanks,
> Jordi



Archive powered by MHonArc 2.6.16.

§