From 8a7e29d52882c39d0c903eef83bd3472e4f334af Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 8 Nov 2019 14:06:33 -0800 Subject: Add chef-utils gem with various recipe DSL helpers This is the implementation of [RFC-087](https://github.com/chef-boneyard/chef-rfc/blob/master/rfc087-distro-sugar-helpers.md) although some of the specifics have been iterated on and changed. The documentation will be in the [README.md](https://github.com/chef/chef/tree/master/chef-utils/README.md) once this is merged. While this PR mostly moves chef-sugar utilities into core-chef via this chef-utils gem, the scope of the chef-utils gem should be considered larger than just that. As an example this PR moves the Mash class into this gem for reuse in ohai as well. Signed-off-by: Lamont Granquist --- chef-config/Gemfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chef-config/Gemfile') diff --git a/chef-config/Gemfile b/chef-config/Gemfile index 96ab544690..1652c89ad6 100644 --- a/chef-config/Gemfile +++ b/chef-config/Gemfile @@ -1,4 +1,6 @@ source "https://rubygems.org" +gem "chef-utils", path: File.expand_path("../../chef-utils", __FILE__) if File.exist?(File.expand_path("../../chef-utils", __FILE__)) + # Specify your gem's dependencies in chef-config.gemspec gemspec -- cgit v1.2.1