Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Lazily load podman executable #82

Merged

Conversation

tadeboro
Copy link
Contributor

@tadeboro tadeboro commented Sep 5, 2021

When we introduced the ability to specify podman executable, we inadvertently changed the behavior of the loading mechanism (commit e120aa1).

Before that change, it was possible to initialize the podman driver even if the podman executable was not present. In other words, it was OK to install the podman driver without having podman installed on the system.

With the new mechanism in place, Molecule will fail to start when the podman driver is installed and there is no podman executable available on the system.

This commit restores the od lazy-loading behavior.

Fixes #81

@tadeboro tadeboro added the bug This issue/PR relates to a bug. label Sep 5, 2021
@tadeboro tadeboro requested a review from webknjaz as a code owner September 5, 2021 12:13
When we introduced the ability to specify podman executable, we
inadvertently changed the behavior of the loading mechanism (commit
e120aa1).

Before that change, it was possible to initialize the podman driver even
if the podman executable was not present. In other words, it was OK to
install the podman driver without having podman installed on the system.

With the new mechanism in place, Molecule will fail to start when the
podman driver is installed and there is no podman executable available
on the system.

This commit restores the od lazy-loading behavior.
@tadeboro tadeboro force-pushed the lazy-load-podman-executable branch from 94aeef4 to 0009c2a Compare September 5, 2021 12:24
@ssbarnea ssbarnea merged commit e2d78b4 into ansible-community:main Sep 5, 2021
@tadeboro tadeboro deleted the lazy-load-podman-executable branch September 5, 2021 12:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3.4.0 Regression - molecule miss podman binary even with docker or containers driver
3 participants