Adoptable Cookbooks List

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

License & Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

ohai Cookbook CHANGELOG

This file is used to list changes made in each version of the ohai cookbook.

5.0.0 (2017-02-23)

Require Chef 12.5+ and remove compat_resource dependency

4.2.3 (2016-12-02)

Prevent chef_version metadata from failing runs in Opsworks

Better explain how to resolve the plugin_path issue

Add suse as a supported platform

Require at least compat_resource 12.14.7

4.2.2 (2016-09-19)

Ignore case in plugin path check on Windows

4.2.1 (2016-09-08)

Fix typo in compile warning text

Depend on the latest compat_resource (12.14)

Remove Chef 11 compat in the metadata

Require Chef 12.1 not 12.0

Define ohai_plugin matcher for Chefspec

v4.2.0 (2016-07-19)

Added the ability to specify the source cookbook for the cookbook_file or template used in the ohai_plugin resource.

Added chef_version to the metadata

Added testing on openSUSE and switched from Rubocop to Cookstyle

v4.1.1 (2016-06-16)

Fixed error in notifies reload for the delete action

Bump the compat_resource requirement from 12.9+ to 12.10+ to prevent random failures

v4.1.0 (2016-05-26)

Added the ability to use templates and pass in variables with the plugin custom resource

v4.0.2 (2016-05-23)

Resolve failures on Windows nodes

v4.0.1 (2016-05-19)

Added .rb to the name of the plugins so they actually load

Added testing to ensure the plugins are being loaded in the chef run

v4.0.0 (2016-05-18)

BREAKING CHANGE:

The 4.0 release of the Ohai cookbook removes the previous cookbook_file behavior that required forking the cookbook and adding your own plugins. Instead the cookbook ships with a new ohai_plugin custom resource for installing plugins. In addition to this new custom resource the cookbook now requires Chef 12+. See the readme and test recipe for examples. If you require Chef 11 support you'll need to pin to version 3.0 in your environment.

v3.0.1 (2016-03-14)

Fixed the Chefspec matchers

v3.0.0 (2016-03-14)

Change the default value for node['ohai']['hints_path'] to use the Ohai config value. This should be the same value in most use cases, but if a custom path is specified in the chef client config this value will get used automatically by the cookbook.

v1.1.2

v1.1.0

v1.0.2

[COOK-463] ohai cookbook default recipe should only reload plugins if there were updates

Collaborator Number Metric

5.0.0 passed this metric

Foodcritic Metric

5.0.0 failed this metric

FC009: Resource attribute not recognised: ohai/resources/hint.rb:39FC016: LWRP does not declare a default action: ohai/resources/hint.rb:1FC016: LWRP does not declare a default action: ohai/resources/plugin.rb:1Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any