From 3ee570a47a5bb2a5741ea6702a3514dddbf50ba0 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 31 Oct 2020 10:31:10 +0100 Subject: [PATCH] nodes/htz-cloud.luther: add postgresql config --- nodes/htz-cloud/luther.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/nodes/htz-cloud/luther.py b/nodes/htz-cloud/luther.py index 38e2712..5229872 100644 --- a/nodes/htz-cloud/luther.py +++ b/nodes/htz-cloud/luther.py @@ -21,11 +21,25 @@ nodes['htz-cloud.luther'] = { }, 'nginx': { 'vhosts': { - 'luther-ps.kunsmann.eu': { + 'luther-ps': { + 'domain': 'luther-ps.kunsmann.eu', 'php': True, }, }, }, + 'postgresql': { + 'users': { + 'luther-ps': { + # can't use password_for() here, application is unmanaged + 'password': vault.decrypt('encrypt$gAAAAABfnSxJtRTeWRTO_ubSqpBbH8L-khPamKtSiUYbuMIoyJnoF_oSfUlMpTpQsmdDh61F3JQEH0xfYOkzkiCGZONRHyYdqkTjWV4Ku1Avdb0SL74VG6NihUJOpZlhOKnuniopCwuW'), + }, + }, + 'databases': { + 'luther-ps': { + 'owner': 'luther-ps', + }, + }, + }, 'zfs': { 'pools': { 'tank': {