Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3764256
D1680.id4279.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1680.id4279.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1680: Provide a zr wrapper around the SSH command invocation
Attached
Detach File
Event Timeline
Log In to Comment