Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

fix username and password for postgresql db on backup_diy conf #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/default/backup-diy-vars.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ STASH_BACKUP_EXCLUDE_REPOS=(<%= @backup_diy['exclude_repos'].join(" ") %>)
<% when "postgresql" %>
# PostgreSQL options
POSTGRES_HOST=<%= @database['host'] %>
POSTGRES_USERNAME=postgres
POSTGRES_PASSWORD=<%= node['postgresql']['password']['postgres'] %>
POSTGRES_USERNAME=<%= @database['user'] %>
POSTGRES_PASSWORD=<%= @database['password'] %>
POSTGRES_PORT=<%= @database['port'] %>
<% when "mysql" %>
# MySQL options
Expand Down