Page MenuHomeDevCentral

D1680.id4279.diff
No OneTemporary

D1680.id4279.diff

diff --git a/roles/paas-docker/zemke-rhyne/files/zr.sh b/roles/paas-docker/zemke-rhyne/files/zr.sh
new file mode 100755
--- /dev/null
+++ b/roles/paas-docker/zemke-rhyne/files/zr.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# -------------------------------------------------------------
+# PaaS Docker
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-09-08
+# License: Trivial work, not eligible to copyright
+# Source file: roles/paas-docker/zemke-rhyne/files/zr.sh
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+ZR_SERVER="${ZR_SERVER:-ysul.nasqueron.org}"
+
+if [ "$#" -eq 0 ]; then
+ echo "Usage: $0 <command name> [options...]" 1>&2;
+ exit 1
+fi
+
+ssh -4 -i /etc/zr/id_zr "zr@$ZR_SERVER" "$@"
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
@@ -37,3 +37,4 @@
include:
- .directory
- .key
+ - .utilities
diff --git a/roles/paas-docker/zemke-rhyne/utilities.sls b/roles/paas-docker/zemke-rhyne/utilities.sls
new file mode 100644
--- /dev/null
+++ b/roles/paas-docker/zemke-rhyne/utilities.sls
@@ -0,0 +1,14 @@
+# -------------------------------------------------------------
+# Salt — Provision Docker engine
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-09-08
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import dirs with context %}
+
+{{ dirs.bin }}/zr:
+ file.managed:
+ - source: salt://roles/paas-docker/zemke-rhyne/files/zr.sh
+ - mode: 755

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 04:48 (12 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257220
Default Alt Text
D1680.id4279.diff (1 KB)

Event Timeline