Commit 9172198511716b116c0fe9435b6a9561f5d208c6

Authored by Jérémy Lecour
1 parent ee62fe94
Exists in master and in 1 other branch production

don't link and copy old config files

Those files aren't needed anymore
Showing 1 changed file with 0 additions and 4 deletions   Show diff stats
config/deploy.example.rb
@@ -20,8 +20,6 @@ set :ssh_options, forward_agent: true @@ -20,8 +20,6 @@ set :ssh_options, forward_agent: true
20 20
21 set :linked_files, fetch(:linked_files, []) + %w( 21 set :linked_files, fetch(:linked_files, []) + %w(
22 .env 22 .env
23 - config/config.yml  
24 - config/mongoid.yml  
25 config/newrelic.yml 23 config/newrelic.yml
26 ) 24 )
27 25
@@ -42,8 +40,6 @@ namespace :errbit do @@ -42,8 +40,6 @@ namespace :errbit do
42 on roles(:app) do 40 on roles(:app) do
43 execute "mkdir -p #{shared_path}/config" 41 execute "mkdir -p #{shared_path}/config"
44 { 42 {
45 - 'config/config.example.yml' => 'config/config.yml',  
46 - 'config/mongoid.example.yml' => 'config/mongoid.yml',  
47 'config/newrelic.example.yml' => 'config/newrelic.yml' 43 'config/newrelic.example.yml' => 'config/newrelic.yml'
48 }.each do |src, target| 44 }.each do |src, target|
49 execute "if [ ! -f #{shared_path}/#{target} ]; then cp #{current_path}/#{src} #{shared_path}/#{target}; fi" 45 execute "if [ ! -f #{shared_path}/#{target} ]; then cp #{current_path}/#{src} #{shared_path}/#{target}; fi"