From 8db9d0cc31582750026c66fa02236c494c2a8e2c Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 7 Sep 2025 17:32:13 +0200 Subject: add bitfroest bundle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/bitfroest/items.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 bundles/bitfroest/items.py (limited to 'bundles/bitfroest/items.py') 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", + }, + }, +} -- cgit 1.4.1