mode "600"
variables :database_name => database_name,
:database_user => database_user,
- :database_password => database_password
+ :database_password => database_password,
+ :database_cluster => database_cluster
end
# Ensure the OTRS package in backports has a priority preference.
# dbc_dbport: remote database port
# leave unset to use the default. only applicable if you are
# using a remote database.
-dbc_dbport=''
+# <%= @database_cluster %>
+dbc_dbport='<%= node[:postgresql][:clusters][@database_cluster][:port] %>'
# dbc_dbname: name of database
# this is the name of your application's database.