Chef 0.10.10 & link resource error!

So apparently there is a bug in 10.10 that is causing my link resources to
fail.

There is an open ticket: http://tickets.opscode.com/browse/CHEF-3126

Apparently the issue is not fixed yet and the recommendation is to stay on
10.08. Only issue is I can’t figure out how to downgrade. I see I have a chef
gem for 0.10.10 and 0.10.08

Hello,

These commands should work to remove 0.10.10 and install 0.10.8:

gem uninstall chef
gem install chef --version 0.10.8

Hope that helps!

Jessica

On Fri, Jun 1, 2012 at 9:48 AM, bwright@hwahomewarranty.com wrote:

So apparently there is a bug in 10.10 that is causing my link resources to
fail.

There is an open ticket: http://tickets.opscode.com/browse/CHEF-3126

Apparently the issue is not fixed yet and the recommendation is to stay on
10.08. Only issue is I can't figure out how to downgrade. I see I have a
chef
gem for 0.10.10 and 0.10.08

On Friday, June 1, 2012 at 9:48 AM, bwright@hwahomewarranty.com wrote:

So apparently there is a bug in 10.10 that is causing my link resources to
fail.

There is an open ticket: http://tickets.opscode.com/browse/CHEF-3126

Apparently the issue is not fixed yet and the recommendation is to stay on
10.08. Only issue is I can't figure out how to downgrade. I see I have a chef
gem for 0.10.10 and 0.10.08

Can you please try reproducing with the latest RC?

gem install chef --pre

You should get version 10.12.0.rc1

--
Dan DeLeo

Would I just put that in my recipe before using the link resource?

From: Jessica Bourne [mailto:jessica@opscode.com]
Sent: Friday, June 01, 2012 12:06 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Chef 0.10.10 & link resource error!

Hello,

These commands should work to remove 0.10.10 and install 0.10.8:

gem uninstall chef
gem install chef --version 0.10.8

Hope that helps!

Jessica

On Fri, Jun 1, 2012 at 9:48 AM, <bwright@hwahomewarranty.commailto:bwright@hwahomewarranty.com> wrote:
So apparently there is a bug in 10.10 that is causing my link resources to
fail.

There is an open ticket: http://tickets.opscode.com/browse/CHEF-3126

Apparently the issue is not fixed yet and the recommendation is to stay on
10.08. Only issue is I can’t figure out how to downgrade. I see I have a chef
gem for 0.10.10 and 0.10.08

I was able to install the latest RC (10.12.0.rc1) and that did resolve my problem!

Now I have to figure out how to automate this rollout, when I tried to use chef it didn't work b/c when chef-client start to run, it uses the version of the chef gem it has installed (0.10.10), so the chef-client run on my node still fails. It will succeed the next time it runs


More Detail
I tried:

gem_package "chef" do
options "--pre"
end

but that did not work, I was able to get it to install with:

bash "fix chef gem" do
user "root"
code "gem install chef --pre"
end

I just prefer keep it as clean as possible. So if there is a better way let me know.

(I would really like to have a recipe that specifies which version before anything else fires off that way I can use my environments and test before rolling out new versions of the chef gem to production, or easily roll back if needed)... just a thought.

Thanks,
Braden

-----Original Message-----
From: Daniel DeLeo [mailto:ddeleo@kallistec.com] On Behalf Of Daniel DeLeo
Sent: Friday, June 01, 2012 12:07 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Chef 0.10.10 & link resource error!

On Friday, June 1, 2012 at 9:48 AM, bwright@hwahomewarranty.com wrote:

So apparently there is a bug in 10.10 that is causing my link resources to
fail.

There is an open ticket: http://tickets.opscode.com/browse/CHEF-3126

Apparently the issue is not fixed yet and the recommendation is to stay on
10.08. Only issue is I can't figure out how to downgrade. I see I have a chef
gem for 0.10.10 and 0.10.08

Can you please try reproducing with the latest RC?

gem install chef --pre

You should get version 10.12.0.rc1

--
Dan DeLeo