- Remove partial_search cookbook dependency (Effectively removes support for clients before Chef 12.0)
- Remove deprecated code. Removed
libraries/attribute_blender.rb
andlibraries/attribute_checker.rb
and the methodRealityForge::AttributeTools.set_attribute_on_node
. - Remove
libraries/notifying_action.rb
as it can be replaced with Chef 11'suse_inline_resources
method. - Add simplified mechanism for loading data bag item with some reasonable error handling.
- Fix service lookup so multiple services can have the same prefix by matching service name exactly.
- Support an array of expected types in method RealityForge::AttributeTools.get_attribute
- Workaround for versions of chef with a bug in the data bag search. Submitted by James Walker.
- Improve attribute handling so that the value can be false.
- Add utility method RealityForge::SearchTools.search_and_deep_merge to merge a search result into a hash and return it.
- Support a get_attribute helper method on RealityForge::AttributeTools
- Add support for passing Mash instances into deep_merge and ensure_attribute methods of RealityForge::AttributeTools
- Add support for setting values into Mash values via
RealityForge::AttributeTools.set_attribute
and deprecateRealityForge::AttributeTools.set_attribute_on_node
.
- Extract attribute related helpers into the class RealityForge::AttributeTools and deprecate the old versions.
- Add a utility method to ensure attributes are present. i.e.
Chef::AttributeChecker.ensure_attribute(node, 'iris.version')
- Add a utility class for accessing configuration for "services". Useful for storing configuration in a node or data bags as a poor mans service registry.
- Update
Chef::SearchBlender.blend_search_results_into_node
to use partial search where available.
- Add utility method to blend attribute value into path via
Chef::AttributeBlender.blend_attribute_into_node
- Chef 11 compatibility fixes.
- Declare the notifying_action as part of a provider as the method should only be used in LWRPs. This avoid polluting the Object class with unnecessary methods.
- Initial release.