mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Remove database.yml from vagrant chef cookbook. Don't need to copy database.yml anymore.
This commit is contained in:
parent
3328973f04
commit
1dc0f34c46
2 changed files with 0 additions and 34 deletions
|
@ -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
|
# Install the configuration files we need
|
||||||
cookbook_file "/vagrant/config/database.yml" do
|
|
||||||
source "database.yml"
|
|
||||||
end
|
|
||||||
|
|
||||||
cookbook_file "/vagrant/config/redis.yml" do
|
cookbook_file "/vagrant/config/redis.yml" do
|
||||||
source "redis.yml"
|
source "redis.yml"
|
||||||
end
|
end
|
Loading…
Add table
Add a link
Reference in a new issue