Commit ae98fd1a7f497b583a450dc9cdd9ccd37672e5d2

Authored by Arthur Nogueira Neves
2 parents ee62fe94 91721985
Exists in master and in 1 other branch production

Merge pull request #832 from jlecour/patch-2

Don't link and copy old config files
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 20  
21 21 set :linked_files, fetch(:linked_files, []) + %w(
22 22 .env
23   - config/config.yml
24   - config/mongoid.yml
25 23 config/newrelic.yml
26 24 )
27 25  
... ... @@ -42,8 +40,6 @@ namespace :errbit do
42 40 on roles(:app) do
43 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 43 'config/newrelic.example.yml' => 'config/newrelic.yml'
48 44 }.each do |src, target|
49 45 execute "if [ ! -f #{shared_path}/#{target} ]; then cp #{current_path}/#{src} #{shared_path}/#{target}; fi"
... ...