summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-02-23 09:52:20 +0000
committerThom May <thom@chef.io>2016-03-03 09:46:30 +0000
commitb62e6ae14ddd9c60035f4ec314f4c6d0ab47777e (patch)
treeacd055045c217f0650e96c02d2744832028c1dcc /lib/chef/cookbook
parenta4d98365c1d68d7a24fba62783538951d2bbd2e0 (diff)
downloadchef-b62e6ae14ddd9c60035f4ec314f4c6d0ab47777e.tar.gz
Ensure that chef-zero loads libraries recursivelytm/zero_deep_libraries
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")