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

Fix order specific mount.mounted options for persist #62557

Merged
merged 9 commits into from
Sep 14, 2022

Conversation

nicholasmhughes
Copy link
Collaborator

What does this PR do?

This PR implements similar functionality to what was proposed by @thusoy in #57506, and does not restrict mount option comparisons to the same order.

What issues does this PR fix or reference?

Fixes: #62556

Previous Behavior

See issue for details.

New Behavior

Mount options are compared irrespective of order in the file and state block. This allows for comparison of functionality instead of literal string matching.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@nicholasmhughes nicholasmhughes requested a review from a team as a code owner August 29, 2022 16:36
@nicholasmhughes nicholasmhughes requested review from waynew and removed request for a team August 29, 2022 16:36
@nicholasmhughes nicholasmhughes added the Sulfur v3006.0 release code name and version label Aug 29, 2022
@nicholasmhughes
Copy link
Collaborator Author

re-run pr-amazon-2-x86_64-py3-pytest

2 similar comments
@nicholasmhughes
Copy link
Collaborator Author

re-run pr-amazon-2-x86_64-py3-pytest

@nicholasmhughes
Copy link
Collaborator Author

re-run pr-amazon-2-x86_64-py3-pytest

@nicholasmhughes
Copy link
Collaborator Author

re-run pr-amazon-2-x86_64-py3-pytest

salt/modules/mount.py Outdated Show resolved Hide resolved
@Ch3LL Ch3LL merged commit 1a57b8e into saltstack:master Sep 14, 2022
@nicholasmhughes nicholasmhughes deleted the fix-fstab-opts-order branch September 14, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sulfur v3006.0 release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] mount.mounted options are order specific for persist
2 participants