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


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

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



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

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.

§