summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-03-15 21:05:08 +0000
committerThom May <thom@may.lt>2016-03-15 21:05:08 +0000
commit47cd0cb9f2c14ced5a17ea0d1da34b9aeaaf36d8 (patch)
tree05cfad5447fbce497e545f4d059e6b9f3e0ba5ed /lib/chef/cookbook
parente8b39b0aafd903bcca077d8e83b958ea4422d96a (diff)
parentb62e6ae14ddd9c60035f4ec314f4c6d0ab47777e (diff)
downloadchef-47cd0cb9f2c14ced5a17ea0d1da34b9aeaaf36d8.tar.gz
Merge pull request #4640 from chef/tm/zero_deep_libraries
Support libraries with sub directories
Diffstat (limited to 'lib/chef/cookbook')
-rw-r--r--lib/chef/cookbook/cookbook_version_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/cookbook_version_loader.rb b/lib/chef/cookbook/cookbook_version_loader.rb
index 48fa6a03a1..d9b027f322 100644
--- a/lib/chef/cookbook/cookbook_version_loader.rb
+++ b/lib/chef/cookbook/cookbook_version_loader.rb
@@ -86,7 +86,7 @@ class Chef
load_as(:attribute_filenames, "attributes", "*.rb")
load_as(:definition_filenames, "definitions", "*.rb")
load_as(:recipe_filenames, "recipes", "*.rb")
- load_recursively_as(:library_filenames, "libraries", "*.rb")
+ load_recursively_as(:library_filenames, "libraries", "*")
load_recursively_as(:template_filenames, "templates", "*")
load_recursively_as(:file_filenames, "files", "*")
load_recursively_as(:resource_filenames, "resources", "*.rb")