浏览代码

Install nginx on frontends and pppoe if required.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 7 年之前
父节点
当前提交
75194b3188
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      top.sls

+ 10 - 0
top.sls

@@ -66,6 +66,16 @@ base:
     - match: pillar
     - dns-server.auth
 
+  # Webfrontend
+  nodes:{{ grains['id'] }}:roles:frontend:
+    - match: pillar
+    - nginx
+
+  # DSL / PPPoE
+  nodes:{{ grains['id'] }}:roles:pppoe:
+    - match: pillar
+    - pppoe
+
   # InfluxDB
   nodes:{{ grains['id'] }}:roles:influxdb:
     - match: pillar