about summary refs log tree commit diff
path: root/bundles/bitfroest/items.py
blob: db880a9d349806b16408f8e2b06337e368494139 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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",
        },
    },
}