Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments/dns_server.json
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-06 22:23:29 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-06 22:23:29 +0200
commitd723dcf0d7c64f686fc6234a7da9649346d1f56f (patch)
tree36dceb8cd0dcb2d71294cf0d2bec8d76bee86756 /deployments/dns_server.json
parent4167946d815f2ab9c6ebf0c597f3b5f5f9723b1e (diff)
Renaming deployments to profiles
Diffstat (limited to 'deployments/dns_server.json')
-rw-r--r--deployments/dns_server.json29
1 files changed, 0 insertions, 29 deletions
diff --git a/deployments/dns_server.json b/deployments/dns_server.json
deleted file mode 100644
index 423fe872..00000000
--- a/deployments/dns_server.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "args" : {
- "password" : "0000",
- "post" : "stay"
- },
- "post" : {
- "Installing DNS + Database": {
- "pacman -Syy --noconfirm powerdns postgresql" : null
- },
- "Setup Database": {
- "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,
- "psql -U pdns -d pdns -a -f /usr/share/doc/powerdns/schema.pgsql.sql" : null
- },
- "Install DNS Entries": {
-
- },
- "Setup autostarts": {
- "systemctl enable dhcpcd" : null,
- "systemctl enable postgresql" : null,
- "systemctl enable powerdns" : null
- }
- }
-}