lib/capistrano/recipes/newrelic.rb in marcosgz-cap-recipe-0.0.5 vs lib/capistrano/recipes/newrelic.rb in marcosgz-cap-recipe-0.0.6
- old
+ new
@@ -192,10 +192,10 @@
# *license_key* 123xyz
# *app_name* Production App
namespace :newrelic do
namespace :setup do
desc "Upload configs"
- task :default, :roles => :db do
+ task :default, :roles => :app do
if exists?(:newrelic_setup_settings)
set(:recipe_settings) { newrelic_template_settings }
put template.render(fetch(:newrelic_template)), fetch(:newrelic_remote_file)
else
puts "[FATAL] - Newrelic template settings were not found"