Page MenuHomeDevCentral

D1221.id3139.diff
No OneTemporary

D1221.id3139.diff

diff --git a/roles/devserver/dns/init.sls b/roles/devserver/dns/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/devserver/dns/init.sls
@@ -0,0 +1,24 @@
+# -------------------------------------------------------------
+# Salt — Provision dev software
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-11-16
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import dirs with context %}
+
+# -------------------------------------------------------------
+# Unbound
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+unbound:
+ pkg.installed
+
+unbound_DNSSEC_trust_anchor:
+ cmd.run:
+ - name: {{ dirs.sbin }}/unbound-anchor ; true
+ - runas: unbound
+ - creates: {{ dirs.etc }}/unbound/root.key
+ - require:
+ - pkg: unbound
diff --git a/roles/devserver/init.sls b/roles/devserver/init.sls
--- a/roles/devserver/init.sls
+++ b/roles/devserver/init.sls
@@ -7,4 +7,5 @@
# -------------------------------------------------------------
include:
+ - .dns
- .userland-software

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 09:48 (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2268683
Default Alt Text
D1221.id3139.diff (1 KB)

Event Timeline