From 15fcdceea6cc72bc0d4a85c66be800ec4747ccc0 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 16 Jun 2026 15:06:28 +0100 Subject: [PATCH] Add basic podman test --- .kitchen.yml | 3 +++ test/integration/podman/inspec/podman_spec.rb | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 test/integration/podman/inspec/podman_spec.rb diff --git a/.kitchen.yml b/.kitchen.yml index 4bbc57105..afe6028fa 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -355,6 +355,9 @@ suites: attributes: web: readonly_database_host: readonly + - name: podman + run_list: + - recipe[podman::default] - name: postgresql run_list: - recipe[postgresql::default] diff --git a/test/integration/podman/inspec/podman_spec.rb b/test/integration/podman/inspec/podman_spec.rb new file mode 100644 index 000000000..1e2b72c81 --- /dev/null +++ b/test/integration/podman/inspec/podman_spec.rb @@ -0,0 +1,16 @@ +describe package("podman") do + it { should be_installed } +end + +describe service("podman-auto-update.timer") do + it { should be_enabled } + it { should be_running } +end + +describe service("podman-system-prune.timer") do + it { should be_enabled } + it { should be_running } +end + +# Note - In limited testing podman does not run reliably inside a dokken container. +# Be careful if you add a podman run test here. -- 2.47.3