Page MenuHomeDevCentral

D1583.id4046.diff
No OneTemporary

D1583.id4046.diff

diff --git a/pillar/webserver/sites.sls b/pillar/webserver/sites.sls
--- a/pillar/webserver/sites.sls
+++ b/pillar/webserver/sites.sls
@@ -126,6 +126,9 @@
# Nasqueron members
- .be/dereckson
+ # Projects hosted
+ - .space/hypership
+
# Directly managed by Nasqueron
- .org/nasqueron/api
- .org/nasqueron/docs
diff --git a/roles/webserver-content/init.sls b/roles/webserver-content/init.sls
--- a/roles/webserver-content/init.sls
+++ b/roles/webserver-content/init.sls
@@ -16,3 +16,4 @@
- .org/nasqueron/social
- .org/wolfplex/api
- .org/wolfplex/www
+ - .space/hypership
diff --git a/roles/webserver-content/space/hypership/init.sls b/roles/webserver-content/space/hypership/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/webserver-content/space/hypership/init.sls
@@ -0,0 +1,9 @@
+# -------------------------------------------------------------
+# Salt — Hypership
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Zed
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+include:
+ - .www
diff --git a/roles/webserver-content/space/hypership/www.sls b/roles/webserver-content/space/hypership/www.sls
new file mode 100644
--- /dev/null
+++ b/roles/webserver-content/space/hypership/www.sls
@@ -0,0 +1,22 @@
+# -------------------------------------------------------------
+# Salt — Hypership
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Zed
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% if salt['node.has_web_content'](".space/hypership") %}
+
+/srv/zed:
+ file.directory
+
+# -------------------------------------------------------------
+# Content
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+zed_content:
+ git.latest:
+ - name: https://github.com/hypership/content.git
+ - target: /srv/zed/content
+
+{% endif %}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 29, 13:41 (22 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2271148
Default Alt Text
D1583.id4046.diff (2 KB)

Event Timeline