-lifecycle:
- pre_create: |
- if command -v podman >/dev/null 2>&1; then
- podman create --name chef-latest --replace docker.io/chef/chef:latest sh
- podman start chef-latest
- fi
- post_destroy: |
- if command -v podman >/dev/null 2>&1; then
- podman container rm -v chef-latest
- fi
-