if node.os != "alpine": raise BundleError(f"{node.name}: OS {node.os} is not supported.") svc_openrc = { "fcgiwrap": { "enabled": True, "running": True, "runlevel": "default", "needs": [ "pkg_apk:fcgiwrap", ], }, } directories = { # this is where we store repos "/var/lib/git": { "mode": "0775", "group": "wheel", "owner": "robert", }, # this is the webroot "/var/www/cgit": { "mode": "0775", "group": "www-data", "owner": "webdeploy", }, } files = { "/var/www/cgit/Caddyfile": {}, "/var/www/cgit/custom.css": {}, "/etc/cgitrc": {}, "/etc/s6-rc/cgit.conf": { "content_type": "mako", }, # TODO: run behind go-away and expose? "/etc/traefik/cgit.yaml": { "content_type": "mako", "source": "traefik.yaml", "needs": { "bundle:traefik", }, }, }