Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/mastodon/init.sls b/roles/mastodon/init.sls
new file mode 100644
index 0000000..3d9b6a3
--- /dev/null
+++ b/roles/mastodon/init.sls
@@ -0,0 +1,9 @@
+# -------------------------------------------------------------
+# Salt — Mastodon
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+include:
+ - ./public
diff --git a/roles/mastodon/public/init.sls b/roles/mastodon/public/init.sls
new file mode 100644
index 0000000..cd0c688
--- /dev/null
+++ b/roles/mastodon/public/init.sls
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------
+# Salt — Provision social.nasqueron.org public directories
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-10-13
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+/data/mastodon/public/support:
+ file.recurse:
+ - source: salt://wwwroot/nasqueron.org/mastodon/support
+ - exclude_pat: E@.git
+ - include_empty: True
+ - clean: True
+ - dir_mode: 711
+ - file_mode: 644
+
diff --git a/top.sls b/top.sls
index c9348d6..9ce07b8 100644
--- a/top.sls
+++ b/top.sls
@@ -1,34 +1,35 @@
# -------------------------------------------------------------
# Salt configuration for Nasqueron servers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2016-04-10
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
base:
'*':
- roles/core/rc
- roles/core/hostname
- roles/core/network
- roles/core/motd
- roles/core/rsyslog
- roles/core/salt
- roles/core/sshd
- roles/core/letsencrypt
'local':
- roles/saltmaster/sudo
- roles/saltmaster/salt-wrapper
'ysul.nasqueron.org':
- roles/webserver-legacy
- roles/webserver-varnish
'dwellers.nasqueron.org':
- roles/paas-docker/docker
- roles/paas-lxc/lxc
+ - roles/mastodon
'eglide':
- roles/shellserver/users
- roles/shellserver/userland-software
- roles/shellserver/eglide-website
- roles/shellserver/vhosts
- roles/shellserver/web-hosting
- roles/shellserver/odderon

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 17:49 (10 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259419
Default Alt Text
(2 KB)

Event Timeline