about summary refs log tree commit diff
path: root/bundles/bitfroest/items.py
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2025-09-07 17:32:13 +0200
committerRobert Günzler <r@gnzler.io>2025-09-25 12:56:47 +0200
commit8db9d0cc31582750026c66fa02236c494c2a8e2c (patch)
treec8c89acfed7ad9a0016936e700b69f67db6b269f /bundles/bitfroest/items.py
parent0bb17cd2f34918add1ddaedeb0a66531dea561a3 (diff)
add bitfroest bundle
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/bitfroest/items.py')
-rw-r--r--bundles/bitfroest/items.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/bundles/bitfroest/items.py b/bundles/bitfroest/items.py
new file mode 100644
index 0000000..db880a9
--- /dev/null
+++ b/bundles/bitfroest/items.py
@@ -0,0 +1,26 @@
+if node.os != "alpine":
+    raise BundleError(f"{node.name}: OS {node.os} is not supported.")
+
+
+files = {
+    "/usr/bin/qbapi": {
+        "source": "qbapi",
+        "content_type": "mako",
+        "mode": "0755",
+    },
+    "/usr/bin/bitfroest": {
+        "source": "bitfroest",
+        "mode": "0755",
+        "needs": {
+            "file:/usr/bin/qbapi",
+            "bundle:tgnotify",
+        },
+    },
+    "/etc/periodic/daily/bitfroest": {
+        "source": "cron_job",
+        "mode": "0755",
+        "needs": {
+            "file:/usr/bin/bitfroest",
+        },
+    },
+}