Code Monkey home page Code Monkey logo

Comments (3)

tpowell-progress avatar tpowell-progress commented on July 4, 2024

@Stromweld Feels like we fixed this? Maybe it was after 18.4.2?

from chef.

jazaval avatar jazaval commented on July 4, 2024

#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

from chef.

jazaval avatar jazaval commented on July 4, 2024

Possible you're remembering #13937?

from chef.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.