caterer 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -279,7 +279,7 @@ module Caterer
|
|
279
279
|
def final_cookbook_paths
|
280
280
|
cookbooks_path.inject([]) do |res, path|
|
281
281
|
# make sure they actually contain recipes, otherwise chef-solo will freak
|
282
|
-
if Dir.entries(path).length > 2
|
282
|
+
if File.exists?(path) and Dir.entries(path).length > 2
|
283
283
|
res << "#{target_cookbooks_path}/#{Digest::MD5.hexdigest(path)}"
|
284
284
|
end
|
285
285
|
res
|
data/lib/caterer/version.rb
CHANGED