Get rid of compat_resource and mariadb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user