You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#13721 fixed this resource for :untap on Apple Silicon / arm64 after the addition of arm brew support via #13669.
18.3.0 fails on x86 macOS 14 as well, but with a compile-time error that comes from calling Chef::Mixin::HomebrewUser.find_homebrew_username in a cookbook library of ours that is responsible for setting up homebrew in the first place:
Relevant File Content:
----------------------
/Users/Shared/kitchen/cache/cookbooks/foo/libraries/homebrew.rb:
16:
17: def owner
18: begin
19>> Chef::Mixin::HomebrewUser.find_homebrew_username
20: rescue Chef::Exceptions::CannotDetermineHomebrewOwner
21: shell_out(ExecPath.stat, '-f', '%Su', '/dev/console').stdout.chomp
22: end
23: end
24:
System Info:
------------
chef_version=18.3.0
platform=mac_os_x
platform_version=14.4.1
ruby=ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-darwin19]
program_name=/opt/chef/bin/chef-client
executable=/opt/chef/bin/chef-client
Description
When using the
homebrew_tap
resource in a recipe run on a x86 instance of macOS, the resource fails to compile with a TypeErrorChef Version
18.4.2, 18.4.12
Platform Version
x86 macOS 14.4.1
Replication Case
Run a recipe containing any call of
homebrew_tap
in Kitchen CI or on a physical x86 Mac.Client Output
Stacktrace
The text was updated successfully, but these errors were encountered: