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
Real-Time Relevance. Remarkable ROI.™
London | Portland | San Francisco | Melbourne | Tokyo
From: Jesse Campbell < " target="_blank"> >
Reply-To: " " target="_blank"> " < " target="_blank"> >
Date: Thursday, December 20, 2012 10:19 AM
To: chef < " target="_blank"> >
Subject: [chef] updated chef-client cookbook failing on value_for_platform_family
I guess I'm approaching force-update time...Was this added in a more recent version of chef? If so, why is it not mentioned in the readme?We are running chef 0.10.6 on the majority of our infrastructure.we are getting this error:
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".
FATAL: NoMethodError: undefined method `value_for_platform_family' for #<Chef::Recipe:0x7f8eb3ada400>
Archive powered by MHonArc 2.6.16.