lib/capistrano/recipes/gateways.rb in marcosgz-cap-recipe-0.0.5 vs lib/capistrano/recipes/gateways.rb in marcosgz-cap-recipe-0.0.6

- old
+ new

@@ -15,10 +15,10 @@ # =================== # *gateways_name* prod_db namespace :gateways do namespace :setup do desc "Upload configs" - task :default, :roles => :db do + task :default, :roles => :app do if exists?(:gateways_setup_settings) set(:recipe_settings) { fetch(:gateways_setup_settings, {}) } put template.render(fetch(:gateways_template)), fetch(:gateways_remote_file) else puts "[FATAL] - Gateway template settings were not found"