Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(googleauth): use semanage instead of salt module
selinux.fcontext_policy_present only works once, if the policy is already present the salt state errors, add an unless statement to check if the policy is already in place. Error: ---------- ID: users_googleauth_selinux_present Function: selinux.fcontext_policy_present Name: /etc/google_authenticator.d(/.*)? Result: False Comment: Error adding new rule: {'pid': 10389, 'retcode': 1, 'stdout': '', 'stderr': 'ValueError: File context for /etc/google_authenticator.d(/.*)? already defined'} Started: 07:14:38.736705 Duration: 609.271 ms Changes:
- Loading branch information