Permalink
Browse files

add homebrew::taps

  • Loading branch information...
bleything committed Mar 27, 2012
1 parent 85a5f30 commit 31d3629b1c87d0aab68546c5fb21c772b729b20d
Showing with 32 additions and 1 deletion.
  1. +5 −0 config/example.json
  2. +3 −1 cookbooks/homebrew/recipes/packages.rb
  3. +24 −0 cookbooks/homebrew/recipes/taps.rb
View
@@ -18,10 +18,15 @@
"recipe[config::screensaver]",
"recipe[homebrew]",
+ "recipe[homebrew::taps]",
"recipe[homebrew::packages]"
],
"homebrew": {
+ "taps": [
+ "homebrew/dupes"
+ ],
+
"packages": [
"ack",
"autoconf",
@@ -2,7 +2,7 @@
# Cookbook Name:: homebrew
# Recipe:: packages
#
-# Copyright 2011, Ben Bleything <ben@bleything.net>
+# Copyright 2011-2012, Ben Bleything <ben@bleything.net>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -18,4 +18,6 @@
#
include_recipe 'homebrew'
+include_recipe 'homebrew::taps'
+
node.homebrew.packages.each {|p| package p }
@@ -0,0 +1,24 @@
+#
+# Cookbook Name:: homebrew
+# Recipe:: taps
+#
+# Copyright 2012, Ben Bleything <ben@bleything.net>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+include_recipe 'homebrew'
+
+node.homebrew.taps.each do |tap|
+ homebrew_tap tap
+end

0 comments on commit 31d3629

Please sign in to comment.