Get rid of compat_resource and mariadb

This commit is contained in:
Greg Karékinian
2023-06-29 16:49:06 +02:00
parent 462bdabf01
commit 1f29d8a01a
122 changed files with 654 additions and 10347 deletions

View File

@@ -2,7 +2,7 @@
# Cookbook:: homebrew
# Recipes:: install_taps
#
# Copyright:: 2015-2016, Chef Software, Inc <legal@chef.io>
# Copyright:: 2015-2019, Chef Software, Inc <legal@chef.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -20,5 +20,14 @@
include_recipe 'homebrew'
node['homebrew']['taps'].each do |tap|
homebrew_tap tap
if tap.is_a?(String)
homebrew_tap tap
elsif tap.is_a?(Hash)
raise unless tap.key?('tap')
homebrew_tap tap['tap'] do
url tap['url'] if tap.key?('url')
end
else
raise
end
end