Revision 90db4b77
Added by Tom McLaughlin over 10 years ago
templates/database.yml.erb | ||
---|---|---|
username: <%= username %>
|
||
<% end -%>
|
||
<% unless (password = scope.lookupvar("::foreman::db_password")) == 'UNSET' -%>
|
||
password: <%= password %>
|
||
password: "<%= password %>"
|
||
<% end -%>
|
||
<% if type == 'sqlite' -%>
|
||
pool: 5
|
Also available in: Unified diff
Quote password field. Otherwise a pass with non-alphanumeric characters
will fail.