Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear the APT package index files in default test images #2748

Merged
merged 1 commit into from Jul 14, 2020

Conversation

brianhelba
Copy link
Contributor

On fresh production systems, APT typically is missing its package index files, which requires an apt-get update or use of Ansible's apt.update_cache to populate.

Molecule's default test image should reflect production deployment environments to the extent possible. By providing a test image with an empty package cache, it ensures that roles under test must consider this case.

On fresh production systems, APT typically is missing its package index files,
which requires an "apt-get update" or use of Ansible's "apt.update_cache" to
populate.

Molecule's default test image should reflect production deployment
environments to the extent possible. By providing a test image with an empty
package cache, it ensures that roles under test must consider this case.
@ssbarnea
Copy link
Member

@brianhelba Thanks. Really good point. I hope to see more patches from you. Maybe you also want to become a core?

@ssbarnea ssbarnea merged commit fddd1f1 into ansible:master Jul 14, 2020
@brianhelba brianhelba deleted the apt-cache branch July 16, 2020 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants