Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#
|
||||
# Author:: Joshua Timberman (<jtimberman@opscode.com>)
|
||||
# Author:: Joshua Timberman (<jtimberman@chef.io>)
|
||||
# Author:: Graeme Mathieson (<mathie@woss.name>)
|
||||
# Cookbook Name:: homebrew
|
||||
# Resources:: tap
|
||||
#
|
||||
# Copyright 2011-2013, Opscode, Inc.
|
||||
# Copyright 2011-2013, Chef Software, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -20,16 +20,12 @@
|
||||
#
|
||||
|
||||
actions :tap, :untap
|
||||
default_action :tap
|
||||
|
||||
attribute :name,
|
||||
:name_attribute => true,
|
||||
:kind_of => String,
|
||||
:regex => /^[\w-]+(?:\/[\w-]+)+$/
|
||||
name_attribute: true,
|
||||
kind_of: String,
|
||||
regex: %r{^[\w-]+(?:\/[\w-]+)+$}
|
||||
|
||||
attribute :tapped,
|
||||
:kind_of => [TrueClass, FalseClass]
|
||||
|
||||
### hax for default action
|
||||
def initialize(*args)
|
||||
super
|
||||
@action = :tap
|
||||
end
|
||||
kind_of: [TrueClass, FalseClass]
|
||||
|
||||
Reference in New Issue
Block a user