Project

General

Profile

« Previous | Next » 

Revision 90db4b77

Added by Tom McLaughlin over 10 years ago

Quote password field. Otherwise a pass with non-alphanumeric characters
will fail.

View differences:

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