summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-07-25 11:03:12 +0100
committerThom May <thom@may.lt>2016-07-25 11:03:12 +0100
commitdb4a08533b6658299356a322f9ea11834afb50c5 (patch)
tree31cc01730d6c5bf39e1b05894b247e1b62f05cb0 /lib
parent728b2e956d83df8d887c0cc18f5d1db8b0a0443e (diff)
downloadchef-zero-db4a08533b6658299356a322f9ea11834afb50c5.tar.gz
Load libraries recursivelytm/recurse_libraries
Fixes #161 Signed-off-by: Thom May <thom@may.lt>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef_zero/chef_data/cookbook_data.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/chef_data/cookbook_data.rb b/lib/chef_zero/chef_data/cookbook_data.rb
index 4fd0320..83bdd46 100644
--- a/lib/chef_zero/chef_data/cookbook_data.rb
+++ b/lib/chef_zero/chef_data/cookbook_data.rb
@@ -148,7 +148,7 @@ module ChefZero
:attributes => load_child_files(directory, 'attributes', false),
:definitions => load_child_files(directory, 'definitions', false),
:recipes => load_child_files(directory, 'recipes', false),
- :libraries => load_child_files(directory, 'libraries', false),
+ :libraries => load_child_files(directory, 'libraries', true),
:templates => load_child_files(directory, 'templates', true),
:files => load_child_files(directory, 'files', true),
:resources => load_child_files(directory, 'resources', true),