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

Molecule doesn't honor safe_files #4338

Open
2 of 7 tasks
J-PC opened this issue Dec 7, 2024 · 0 comments
Open
2 of 7 tasks

Molecule doesn't honor safe_files #4338

J-PC opened this issue Dec 7, 2024 · 0 comments
Labels

Comments

@J-PC
Copy link

J-PC commented Dec 7, 2024

Prerequisites

  • This was not already reported in the past (duplicate check)
  • It does reproduce it with code from main branch (latest unreleased version)
  • I include a minimal example for reproducing the bug
  • The bug is not trivial, as for those a direct pull-request is preferred
  • Running pip check does not report any conflicts
  • I was able to reproduce the issue on a different machine
  • The issue is not specific to any driver other than 'default' one

Environment

The environement is molecule 24.12.0 on Fedora 40.

What happened

Molecule doesn't honor the protected files/folders defined in the safe_files config parameter:
I tested the following configuration :

driver:
  name: default
  safe_files:
    - foo
    - test/bar
    - baz/

I tested writing the configuration in the molecule.yml file inside the scenario directory and in the .config/molecule/config.yml file at the root of the project.

Neither allowed to preserve the files and directories.

Reproducing example

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants