FS#75638 - [molecule-podman] Missing cookiecutter files

Attached to Project: Community Packages
Opened by Gerard Salvatella (gmask) - Thursday, 18 August 2022, 09:40 GMT
Last edited by David Runge (dvzrv) - Friday, 21 October 2022, 09:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The packages is missing the cookiecutter templates that molecule uses to instantiate a new role


Additional info:
* package version: 2.0.1-1
* Cf. pacman -Ql molecule-podman with https://github.com/ansible-community/molecule-podman/tree/v2.0.1/src/molecule_podman

Steps to reproduce:
1. # pacman -S molecule molecule-podman
2. $ molecule init role --driver-name namespace.myrole
CRITICAL The specified template directory (/usr/lib/python3.10/site-packages/molecule/cookiecutter/scenario/driver/podman) does not exist
3. Copy missing folders from https://github.com/ansible-community/molecule-podman to /usr/lib/python3.10/site-packages/molecule_podman/
4. Error disappears
This task depends upon

Closed by  David Runge (dvzrv)
Friday, 21 October 2022, 09:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with molecule-podman 2.0.2-1
Comment by Gerard Salvatella (gmask) - Thursday, 18 August 2022, 09:42 GMT
Edit: $ molecule init role --driver-name podman namespace.myrole
Comment by Toolybird (Toolybird) - Thursday, 18 August 2022, 21:32 GMT
We used to ship the files in 1.x but prolly due to upstream build changes..
Comment by Gerard Salvatella (gmask) - Thursday, 18 August 2022, 21:42 GMT
FYI I'm also getting the following warning when running `molecule converge` with the "corrected" module

```
[WARNING]: The "podman" connection plugin has an improperly configured remote target value, forcing "inventory_hostname" templated value instead of the string
```
Comment by Imre Jonk (imrejonk) - Saturday, 17 September 2022, 18:26 GMT
I can reproduce this issue. Upstream appears to have solved it in 2.0.2: https://github.com/ansible-community/molecule-podman/commit/3f5caafe6da34bc58bdf93a0923fb7122c774221

Updating the package to 2.0.2 has fixed the issue for me. The only PKGBUILD changes necessary were in the pkgver, sha512sums and b2sums variables. I've flagged the package as out-of-date.

Loading...