Update cookbooks and add wordpress cookbook

This commit is contained in:
Greg Karékinian
2016-02-19 18:09:49 +01:00
parent 9ba973e3ac
commit 820b0ab3f8
606 changed files with 22421 additions and 14084 deletions

View File

@@ -2,7 +2,7 @@
# Cookbook Name:: homebrew
# Recipes:: install_casks
#
# Copyright 2014, Chef Software, Inc <legal@getchef.com>
# Copyright 2014-2015, 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,12 @@
include_recipe 'homebrew'
node['homebrew']['formulas'].each do |formula|
package formula
if formula.class == Chef::Node::ImmutableMash
package formula.fetch(:name) do
options '--HEAD' if formula.fetch(:head, false)
version formula['version'] if formula.fetch(:version, false)
end
else
package formula
end
end