- From: John Alberts <
- Subject: [chef] Re: Re: Re: Re: Re: toggling yum repos to enabled, disabled
- Date: Fri, 6 Apr 2012 10:53:33 -0500
Sure. Working on that now.
On Fri, Apr 6, 2012 at 10:29 AM, Joshua Timberman
> On Fri, Apr 6, 2012 at 8:07 AM, John Alberts
>> Well, I see now why the author of the yum cookbook decided to add that
>> unless statement. If it's not there, the file is update every single
>> time, which of course then notifies the execute statement for running
>> yum makecache. This obviously ends up wasting a lot of time for every
>> chef run. I dont really understand why chef thinks the template has
>> changed therefore it thinks the file should be updated.
>> Is anyone else experiencing this if you have removed the 'unless
>> line from yum/providers/repository.rb?
> This smells like a bug. Can you open a ticket with debug log output
> from multiple runs? The whole log isn't required, just the relevant
> parts of a yum_repo resource getting configured.
> Opscode, Inc
> Joshua Timberman, Technical Program Manager
> IRC, Skype, Twitter, Github: jtimberman
Archive powered by MHonArc 2.6.16.