[chef] Re: Re: Re: updated chef-client cookbook failing on value_for_platform_family


Chronological Thread 
  • From: Tim Smith < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: updated chef-client cookbook failing on value_for_platform_family
  • Date: Thu, 20 Dec 2012 19:58:23 +0000
  • Accept-language: en-US

That should have been called out in the cookbook.  I fixed it and filed a bug.


Tim Smith

Operations Engineer, SaaS Operations

M: +1 707.738.8132

TW: @tas50

webtrends

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


From: Jesse Campbell < "> >
Reply-To: " "> " < "> >
Date: Thursday, December 20, 2012 10:59 AM
To: chef < "> >
Subject: [chef] Re: Re: updated chef-client cookbook failing on value_for_platform_family

Huh... the checkin for value_for_platform_family appears to be dated 12/16/2011, whereas 0.10.8 was released on 12/15/2011 according to github. oh well, would've been nice if the readme was up to date.

thanks for the help, i guess i'll get omnibus_updater running first before updating the chef-client cookbook


On Thu, Dec 20, 2012 at 1:54 PM, Tim Smith < " target="_blank"> > wrote:
That version of the chef-client cookbook requires Chef 0.10.8 or higher and Ohai 0.6.14.  Those versions added a platform_family value, which made it easier to add support for similar platform (rhel is red hat, centos,scientific,amazon,oracle).  Most cookbooks are using this value now.

Tim Smith

Operations Engineer, SaaS Operations

M: +1 707.738.8132

TW: @tas50

webtrends

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo




We are running chef 0.10.6 on the majority of our infrastructure.

in the chef-client cookbook readme it states:

Chef 0.9.12 or higher is required.
Chef 0.10.10 or higher is required for init_style "launchd".

we are getting this error:
FATAL: NoMethodError: undefined method `value_for_platform_family' for #<Chef::Recipe:0x7f8eb3ada400>

Was this added in a more recent version of chef? If so, why is it not mentioned in the readme?

I guess I'm approaching force-update time...




Archive powered by MHonArc 2.6.16.

§