[chef] Re: Re: Re: Re: RE: RE: possible to pass options to yum on package install


Chronological Thread 
  • From: Ketan Padegaonkar < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: RE: RE: possible to pass options to yum on package install
  • Date: Thu, 28 Mar 2013 17:12:54 +0530


On Thu, Mar 28, 2013 at 12:11 PM, Jeremy Koerber < " target="_blank"> > wrote:
I tried adding flush_cache :before to the yum_package call, and I get a Fatal error early on in the chef run:
[2013-03-27T23:37:12-07:00] FATAL: NoMethodError: undefined method `any?' for :before:Symbol

Here's the recipe:


 yum_package "tomcat7" do
  options "--enablerepo=amzn-main"
  flush_cache :before
  action :install
  end

Try `flush_cache [:before]`

- Ketan




Archive powered by MHonArc 2.6.16.

§