summaryrefslogtreecommitdiffstats
path: root/theos/riot.sls
diff options
context:
space:
mode:
Diffstat (limited to 'theos/riot.sls')
-rw-r--r--theos/riot.sls14
1 files changed, 14 insertions, 0 deletions
diff --git a/theos/riot.sls b/theos/riot.sls
new file mode 100644
index 0000000..eb13836
--- /dev/null
+++ b/theos/riot.sls
@@ -0,0 +1,14 @@
+include:
+ - nginx
+
+riot-web:
+ pkg.installed: ~
+
+config.json:
+ file.managed:
+ - name: /etc/webapps/riot/config.json
+ - source: salt://theos/files/riot.config.json
+ - require_in:
+ - service: nginx_service
+ - watch_in:
+ - service: nginx_service