summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-11 16:12:49 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-11 16:12:49 -0800
commit002ef48ab082fc8f0767fb37c5b94471a8fd0185 (patch)
tree865e2a2758c93967f926110f3e0eebe93d303f81 /lib/chef/cookbook
parent6ca21c9ce206f1ada1c12a02afb46e3f1625a321 (diff)
parent37e02399a6e1dd281808a556f1420f8cf6e846fd (diff)
downloadchef-002ef48ab082fc8f0767fb37c5b94471a8fd0185.tar.gz
Merge pull request #4541 from chef/lcg/chefstyle-batch
fix a batch of cops
Diffstat (limited to 'lib/chef/cookbook')
-rw-r--r--lib/chef/cookbook/metadata.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/metadata.rb b/lib/chef/cookbook/metadata.rb
index 7cc4be9f89..62e17d4f3b 100644
--- a/lib/chef/cookbook/metadata.rb
+++ b/lib/chef/cookbook/metadata.rb
@@ -485,7 +485,7 @@ class Chef
:description => { :kind_of => String },
:choice => { :kind_of => [ Array ], :default => [] },
:calculated => { :equal_to => [ true, false ], :default => false },
- :type => { :equal_to => [ "string", "array", "hash", "symbol", "boolean", "numeric" ], :default => "string" },
+ :type => { :equal_to => %w{string array hash symbol boolean numeric}, :default => "string" },
:required => { :equal_to => [ "required", "recommended", "optional", true, false ], :default => "optional" },
:recipes => { :kind_of => [ Array ], :default => [] },
:default => { :kind_of => [ String, Array, Hash, Symbol, Numeric, TrueClass, FalseClass ] },