Page MenuHomeDevCentral

D1679.id4276.diff
No OneTemporary

D1679.id4276.diff

diff --git a/roles/paas-docker/zemke-rhyne/init.sls b/roles/paas-docker/zemke-rhyne/init.sls
--- a/roles/paas-docker/zemke-rhyne/init.sls
+++ b/roles/paas-docker/zemke-rhyne/init.sls
@@ -36,3 +36,4 @@
include:
- .directory
+ - .key
diff --git a/roles/paas-docker/zemke-rhyne/key.sls b/roles/paas-docker/zemke-rhyne/key.sls
new file mode 100644
--- /dev/null
+++ b/roles/paas-docker/zemke-rhyne/key.sls
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Salt — Provision Docker engine
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-09-08
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import dirs with context %}
+
+{% set key = dirs['etc'] + "/zr/id_zr" %}
+
+zr_key:
+ cmd.run:
+ - name: ssh-keygen -N '' -t ed25519 -f {{ key }}
+ - creates: {{ key }}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 11:44 (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257206
Default Alt Text
D1679.id4276.diff (989 B)

Event Timeline