Page MenuHomeDevCentral

D1679.id4277.diff
No OneTemporary

D1679.id4277.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
Tue, Nov 26, 06:53 (12 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264171
Default Alt Text
D1679.id4277.diff (989 B)

Event Timeline