about summary refs log tree commit diff
path: root/bundles/bitfroest/items.py
blob: 3fb5d28d5c0d05ac808a9a4daeffd43554f5a71f (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
27
28
29
30
31
32
33
if node.os != "alpine":
    raise BundleError(f"{node.name}: OS {node.os} is not supported.")


files = {
    "/home/robert/.ssh/kum4": {
        "source": "kum4.ssh",
        "content_type": "mako",
        "owner": "robert",
        "group": "robert",
        "mode": "0600",
    },
    "/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",
        },
    },
}