From 9172198511716b116c0fe9435b6a9561f5d208c6 Mon Sep 17 00:00:00 2001 From: Jérémy Lecour Date: Thu, 12 Feb 2015 16:03:08 +0100 Subject: [PATCH] don't link and copy old config files --- config/deploy.example.rb | 4 ---- 1 file changed, 0 insertions(+), 4 deletions(-) diff --git a/config/deploy.example.rb b/config/deploy.example.rb index 05e786c..c8a23bf 100644 --- a/config/deploy.example.rb +++ b/config/deploy.example.rb @@ -20,8 +20,6 @@ set :ssh_options, forward_agent: true set :linked_files, fetch(:linked_files, []) + %w( .env - config/config.yml - config/mongoid.yml config/newrelic.yml ) @@ -42,8 +40,6 @@ namespace :errbit do on roles(:app) do execute "mkdir -p #{shared_path}/config" { - 'config/config.example.yml' => 'config/config.yml', - 'config/mongoid.example.yml' => 'config/mongoid.yml', 'config/newrelic.example.yml' => 'config/newrelic.yml' }.each do |src, target| execute "if [ ! -f #{shared_path}/#{target} ]; then cp #{current_path}/#{src} #{shared_path}/#{target}; fi" -- libgit2 0.21.2