From d0ae1b28061f7e49358b34135c4c8f2cb81f08b8 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 18 Sep 2026 16:39:53 +0100 Subject: Deploy Podman API units for every machine role --- .chezmoiignore | 2 -- tests/test_canonical.py | 9 +++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.chezmoiignore b/.chezmoiignore index 139587f..8a29045 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -99,8 +99,6 @@ canonical-nvim-lock.sh .config/nix/nix.conf .config/autostart/dotfiles-*.desktop .config/systemd/user/gpg-agent.service.d/canonical.conf -.config/systemd/user/podman.socket -.config/systemd/user/podman.service .local/lib/dotfiles/ .local/share/gnome-shell/extensions/corporate-panel@dotfiles/ .local/bin/canonical-desktop diff --git a/tests/test_canonical.py b/tests/test_canonical.py index 14b7a3c..c68bd48 100644 --- a/tests/test_canonical.py +++ b/tests/test_canonical.py @@ -138,6 +138,15 @@ class RoleTests(unittest.TestCase): *args, ] + def test_podman_units_are_managed_for_all_roles(self): + for role in ["host", "vm", "canonical"]: + with self.subTest(role=role): + files = subprocess.check_output( + self.command(role, "managed", "--include=files"), text=True + ).splitlines() + for unit in ["podman.socket", "podman.service"]: + self.assertIn(f".config/systemd/user/{unit}", files) + def test_canonical_file_boundary(self): files = subprocess.check_output( self.command("canonical", "managed", "--include=files,scripts,symlinks"), -- cgit v1.3.1