From 50e29b9c385eae428dc1a4010a1da2bf62254212 Mon Sep 17 00:00:00 2001 From: Jacob Zaval Date: Tue, 7 May 2024 13:26:57 -0700 Subject: [PATCH] Include `Which` for `HomebrewUserWrapper` (#184) * include Which module for HomebrewUserWrapper * update CL * lint CL --- CHANGELOG.md | 2 ++ libraries/helpers.rb | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e8965b..6487ded 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This file is used to list changes made in each version of the homebrew cookbook. ## 5.4.7 - *2024-05-06* +- Explicitly include `Which` module from `Chef` which fixes runs on 18.x clients. + ## 5.4.6 - *2024-05-06* ## 5.4.5 - *2023-11-01* diff --git a/libraries/helpers.rb b/libraries/helpers.rb index 1699163..79d8dcb 100644 --- a/libraries/helpers.rb +++ b/libraries/helpers.rb @@ -22,6 +22,7 @@ class HomebrewUserWrapper require 'chef/mixin/homebrew_user' include Chef::Mixin::HomebrewUser + include Chef::Mixin::Which end module Homebrew