summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook/cookbook_version_loader.rb
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-10-10 12:40:45 -0700
committerSerdar Sutay <serdar@opscode.com>2014-10-10 12:40:45 -0700
commit18b555fb4dbf848ebfd274a5ceeda1b6a2427efd (patch)
tree58a3a3375214752472ad00d1ba4349dd086d2fe0 /lib/chef/cookbook/cookbook_version_loader.rb
parentfa6e449b9e01cb4c2c145c1dac6ff054910dc12d (diff)
parent56246eef11d1c578f2bc9dbc92259565964f03f3 (diff)
downloadchef-18b555fb4dbf848ebfd274a5ceeda1b6a2427efd.tar.gz
Merge pull request #2129 from JeanMertz/library_subfolders
[CHEF-672] load library folder recursively
Diffstat (limited to 'lib/chef/cookbook/cookbook_version_loader.rb')
-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 5481ba7ddc..bcbfcbeec8 100644
--- a/lib/chef/cookbook/cookbook_version_loader.rb
+++ b/lib/chef/cookbook/cookbook_version_loader.rb
@@ -81,7 +81,7 @@ class Chef
load_as(:attribute_filenames, 'attributes', '*.rb')
load_as(:definition_filenames, 'definitions', '*.rb')
load_as(:recipe_filenames, 'recipes', '*.rb')
- load_as(:library_filenames, 'libraries', '*.rb')
+ load_recursively_as(:library_filenames, 'libraries', '*.rb')
load_recursively_as(:template_filenames, "templates", "*")
load_recursively_as(:file_filenames, "files", "*")
load_recursively_as(:resource_filenames, "resources", "*.rb")