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

- old
+ new

@@ -12,10 +12,10 @@ # =================== # *url* http://localhost:9200 namespace :tire do namespace :setup do desc "Upload configs" - task :default, :roles => :db do + task :default, :roles => :app do if exists?(:tire_setup_settings) set :recipe_settings, fetch(:tire_setup_settings, {}) put template.render(fetch(:tire_template)), fetch(:tire_remote_file) else puts "[FATAL] - Tire template settings were not found"