Remove database.yml from vagrant chef cookbook. Don't need to copy database.yml anymore.
This commit is contained in:
parent
3328973f04
commit
1dc0f34c46
|
@ -1,30 +0,0 @@
|
|||
development:
|
||||
adapter: postgresql
|
||||
database: discourse_development
|
||||
host: localhost
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
host_names:
|
||||
- "localhost"
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
adapter: postgresql
|
||||
database: discourse_test
|
||||
host: localhost
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
host_names:
|
||||
- test.localhost
|
||||
|
||||
# using the test db, so jenkins can run this config
|
||||
# we need it to be in production so it minifies assets
|
||||
production:
|
||||
adapter: postgresql
|
||||
database: discourse_development
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
host_names:
|
||||
- production.localhost
|
|
@ -1,8 +1,4 @@
|
|||
# Install the configuration files we need
|
||||
cookbook_file "/vagrant/config/database.yml" do
|
||||
source "database.yml"
|
||||
end
|
||||
|
||||
cookbook_file "/vagrant/config/redis.yml" do
|
||||
source "redis.yml"
|
||||
end
|
Loading…
Reference in New Issue