{ "module": "pacman", "version": "1", "capabilities": [ "package-manager", "service-manager" ], "claims": [ { "name": "node-package-manager", "scope": "node" } ], "tools": [ "pacman_search", "pacman_info", "pacman_installed", "pacman_owns", "pacman_files", "pacman_updates", "pacman_upgrade", "pacman_upgrade_health", "pacman_orphans", "pacman_remove_orphans", "pacman_cache", "pacman_history", "pacman_mirrors", "pacman_foreign", "pacman_news", "pacman_config" ], "resources": [ { "id": "package", "type": "package", "package": "pacman" }, { "id": "config", "type": "file", "path": "/etc/pacman.conf", "mode": "0644", "template": "files/pacman.conf" }, { "id": "contrib", "type": "package", "package": "pacman-contrib" }, { "id": "reflector", "type": "package", "package": "reflector" }, { "id": "mirrors", "type": "file", "path": "/etc/xdg/reflector/reflector.conf", "mode": "0644", "template": "files/reflector.conf" }, { "id": "mirror-refresh", "type": "service", "unit": "reflector.timer", "state": "running", "boot": "enabled", "health": { "kind": "unit" } }, { "id": "cache-cleaning", "type": "service", "unit": "paccache.timer", "state": "running", "boot": "enabled", "health": { "kind": "unit" } }, { "id": "upgrade-service", "type": "file", "path": "/etc/systemd/system/mesh-pacman-weekly-upgrade.service", "mode": "0644", "template": "files/mesh-pacman-weekly-upgrade.service" }, { "id": "upgrade-timer", "type": "file", "path": "/etc/systemd/system/mesh-pacman-weekly-upgrade.timer", "mode": "0644", "template": "files/mesh-pacman-weekly-upgrade.timer" }, { "id": "weekly-upgrade", "type": "service", "unit": "mesh-pacman-weekly-upgrade.timer", "state": "running", "boot": "enabled", "restart-on": [ "upgrade-service", "upgrade-timer" ], "health": { "kind": "tool", "tool": "pacman_upgrade_health", "interval": "60s", "timeout": "20s", "looks": 2, "grace": "60s" } } ], "build": { "artifacts": [ { "name": "tools", "kind": "bundle", "language": "go", "system": "arch", "from": "cmd/pacman-tools", "binary": "pacman-tools", "loads": [ "pacman-tools" ] }, { "name": "files", "kind": "archive", "from": "files" } ] } }