lib/cap-rightscale/recipes.rb in cap-rightscale-0.0.4 vs lib/cap-rightscale/recipes.rb in cap-rightscale-0.0.5
- old
+ new
@@ -1,5 +1,5 @@
# Load recipes
-recipes = Dir['cap-rightscale/recipes/*.rb'].map {|recipe| File.expand_path(recipe)}
+recipes = Dir[File.dirname(__FILE__) + "recipes/**/*.rb"].map {|recipe| File.expand_path(recipe)}
recipes.each do |recipe|
Capistrano::Configuration.instance.load recipe
end