about summary refs log tree commit diff
path: root/bundles/lhost/items.py
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/lhost/items.py')
-rw-r--r--bundles/lhost/items.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/bundles/lhost/items.py b/bundles/lhost/items.py
new file mode 100644
index 0000000..ac2e428
--- /dev/null
+++ b/bundles/lhost/items.py
@@ -0,0 +1,24 @@
+directories = {
+    "/var/www/lhost": {
+        "mode": "0775",
+        "group": "www-data",
+        "owner": "webdeploy",
+    },
+}
+
+files = {
+    "/var/www/lhost/Caddyfile": {},
+    "/etc/traefik/lhost.yaml": {
+        "content_type": "mako",
+        "source": "traefik.yaml",
+        "needs": {
+            "bundle:traefik",
+        },
+    },
+    "/etc/s6-rc/lhost.conf": {
+        "content_type": "mako",
+    },
+    "/etc/periodic/weekly/lhost-prune": {
+        "mode": "0755",
+    },
+}