Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments
diff options
context:
space:
mode:
authorLord Anton Hvornum <anton.feeds@gmail.com>2018-04-12 22:53:21 +0200
committerLord Anton Hvornum <anton.feeds@gmail.com>2018-04-12 22:53:21 +0200
commit81df161ffc7923e3dda6860a2a91581b2a62d58d (patch)
tree4db490d768137187e7bc6d550c038f3e26e2786e /deployments
parentc277b96345b02289f13cf94fcbef24c57ca0ee6b (diff)
Forgot to create the pdns user
Diffstat (limited to 'deployments')
-rw-r--r--deployments/08:00:27:6f:0c:25.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/deployments/08:00:27:6f:0c:25.json b/deployments/08:00:27:6f:0c:25.json
index 72bd9fd9..5c29575b 100644
--- a/deployments/08:00:27:6f:0c:25.json
+++ b/deployments/08:00:27:6f:0c:25.json
@@ -8,9 +8,10 @@
"pacman -Syy --noconfirm powerdns postgresql" : null
},
"Setup Database": {
- "sh -c \"echo 'postgres:{pin}' | chpasswd\"" : {"debug" : true},
- "su - postgres -c \"initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data'\"" : {"debug" : true},
- "systemctl start postgresql" : null
+ "sh -c \"echo 'postgres:{pin}' | chpasswd\"" : null,
+ "su - postgres -c \"initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data'\"" : null,
+ "systemctl start postgresql" : null,
+ "su - postgres -c \"psql -c 'CREATE USER pdns WITH PASSWORD \\'SomePassword\\';'\"" : {"debug" : true}
},
"Setup DNS": {
"sh -c \"echo -e 'launch=gpgsql\ngpgsql-host=127.0.0.1\ngpgsql-user=pdns\ngpgsql-dbname=pdns\ngpgsql-password={PIN}' >> /etc/powerdns/pdns.conf\"" : null,