diff options
Diffstat (limited to 'lib/chef/run_context')
-rw-r--r-- | lib/chef/run_context/cookbook_compiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/run_context/cookbook_compiler.rb b/lib/chef/run_context/cookbook_compiler.rb index 8e8c8c6e25..4dda6aeb2e 100644 --- a/lib/chef/run_context/cookbook_compiler.rb +++ b/lib/chef/run_context/cookbook_compiler.rb @@ -229,7 +229,7 @@ class Chef raise end - def load_libraries_from_cookbook(cookbook_name, globs = "*/*.rb") + def load_libraries_from_cookbook(cookbook_name, globs = "**/*.rb") each_file_in_cookbook_by_segment(cookbook_name, :libraries, globs) do |filename| begin logger.trace("Loading cookbook #{cookbook_name}'s library file: #{filename}") |