Created
April 30, 2014 13:17
-
-
Save tboerger/e7133e2a3dcd3a737904 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 77286c33e8767a935af27e0681d1ea02d47c7d4f Mon Sep 17 00:00:00 2001 | |
From: miah <[email protected]> | |
Date: Tue, 14 May 2013 22:34:53 -0700 | |
Subject: [PATCH] Load the libraries directory recursively. | |
--- | |
lib/chef/cookbook/cookbook_version_loader.rb | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/lib/chef/cookbook/cookbook_version_loader.rb b/lib/chef/cookbook/cookbook_version_loader.rb | |
index e98da77..df9357a 100644 | |
--- a/lib/chef/cookbook/cookbook_version_loader.rb | |
+++ b/lib/chef/cookbook/cookbook_version_loader.rb | |
@@ -47,7 +47,7 @@ def load_cookbooks | |
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") | |
-- | |
1.9.rc2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment