sous-chefs / homebrew

Development repository for the homebrew cookbook
https://supermarket.chef.io/cookbooks/homebrew
Apache License 2.0
152 stars 136 forks source link

Ruby Homebrew installer is now deprecated and should be migrated to Bash #135

Closed ehanlon closed 4 years ago

ehanlon commented 4 years ago

Cookbook version

5.0.8

Chef-client version

15.8.23

Platform Details

mac_os_x

Scenario:

Error executing actionrunon resource 'execute[install homebrew]'

STDERR: Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
           Bash. Please migrate to the following command:
             /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
bcg62 commented 4 years ago

also hitting this issue which is a blocker for users.

bbros-dev commented 4 years ago

@ehanlon and @bcg62 you can workaround as follows:

url_sh = 'https://raw.githubusercontent.com/Homebrew/install/master/install.sh'
node.default['homebrew']['installer']['url'] = url_sh
include_recipe 'homebrew'

HTH?

ehanlon commented 4 years ago

Fixed by #140