Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/discourse/templates/database.yml.erb

Issue 9432192: Make database password configurable (Closed)
Patch Set: Created Feb. 28, 2013, 12:40 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/discourse/manifests/init.pp ('k') | modules/private-stub/manifests/discourse.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/discourse/templates/database.yml.erb
===================================================================
rename from modules/discourse/files/database.yml
rename to modules/discourse/templates/database.yml.erb
--- a/modules/discourse/files/database.yml
+++ b/modules/discourse/templates/database.yml.erb
@@ -1,10 +1,10 @@
production:
adapter: postgresql
database: discourse
pool: 5
timeout: 5000
host: localhost
username: discourse
- password: vagrant
+ password: <%= database_password %>
host_names:
- "intraforum.adblockplus.org"
« no previous file with comments | « modules/discourse/manifests/init.pp ('k') | modules/private-stub/manifests/discourse.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld