Fix the postgresql credentials for the backup attributes
This commit is contained in:
parent
7271065c5b
commit
90815bb274
@ -212,7 +212,7 @@ unless node.chef_environment == "development"
|
||||
node.override["backup"]["postgresql"]["host"] = "localhost"
|
||||
unless platform?('ubuntu') && node[:platform_version].to_f < 18.04
|
||||
node.override["backup"]["postgresql"]["username"] = "mastodon"
|
||||
node.override["backup"]["postgresql"]["password"] = postgres_password
|
||||
node.override["backup"]["postgresql"]["password"] = postgresql_data_bag_item['mastodon_user_password']
|
||||
else
|
||||
node.override["backup"]["postgresql"]["username"] = "postgres"
|
||||
node.override["backup"]["postgresql"]["password"] = node['postgresql']['password']['postgres']
|
||||
|
Loading…
x
Reference in New Issue
Block a user