production:
  adapter: <%= has_variable?("redmine_database_adapter") ? redmine_database_adapter: 'mysql' %>
  database: <%= has_variable?("redmine_database_name") ? redmine_database_name: 'redmine' %>
  host: <%= has_variable?("redmine_database_host") ? redmine_database_host: 'mysql.priv' %>
  username: <%= has_variable?("redmine_database_username") ? redmine_database_username: 'redmine' %>
  password: <%= has_variable?("redmine_database_password") ? redmine_database_password: 'secret' %>

production:
  adapter: <%= has_variable?("redmine_database_adapter") ? redmine_database_adapter: 'mysql' %>
  database: <%= has_variable?("redmine_database_name") ? redmine_database_name: 'redmine' %>
  host: <%= has_variable?("redmine_database_host") ? redmine_database_host: 'mysql.pub' %>
  username: <%= has_variable?("redmine_database_username") ? redmine_database_username: 'redmine' %>
  password: <%= has_variable?("redmine_database_password") ? redmine_database_password: 'secret' %>

Use mysql.pub as hostname for DB
Use mysql.pub as hostname for DB
