Page MenuHomeDevCentral

D1264.id3250.diff
No OneTemporary

D1264.id3250.diff

diff --git a/pillar/webserver/sites.sls b/pillar/webserver/sites.sls
--- a/pillar/webserver/sites.sls
+++ b/pillar/webserver/sites.sls
@@ -64,6 +64,8 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
web_content_sls:
+ mastodon:
+ - .org/nasqueron/social
shellserver:
- .com/paysannerebelle
- .org/eglide
diff --git a/roles/mastodon/init.sls b/roles/mastodon/init.sls
deleted file mode 100644
--- a/roles/mastodon/init.sls
+++ /dev/null
@@ -1,9 +0,0 @@
-# -------------------------------------------------------------
-# Salt — Mastodon
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-# Project: Nasqueron
-# License: Trivial work, not eligible to copyright
-# -------------------------------------------------------------
-
-include:
- - ./public
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
@@ -11,3 +11,4 @@
- .com/paysannerebelle
- .org/eglide
- .org/nasqueron/docs
+ - .org/nasqueron/social
diff --git a/roles/mastodon/public/init.sls b/roles/webserver-content/org/nasqueron/social.sls
rename from roles/mastodon/public/init.sls
rename to roles/webserver-content/org/nasqueron/social.sls
--- a/roles/mastodon/public/init.sls
+++ b/roles/webserver-content/org/nasqueron/social.sls
@@ -6,6 +6,8 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
+{% if salt['node.has_web_content'](".org/nasqueron/social") %}
+
/srv/data/mastodon/public/support:
file.recurse:
- source: salt://wwwroot/nasqueron.org/mastodon/support
@@ -15,3 +17,4 @@
- dir_mode: 711
- file_mode: 644
+{% endif %}

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 08:30 (3 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2341331
Default Alt Text
D1264.id3250.diff (1 KB)

Event Timeline