0
0
mirror of https://github.com/saltstack-formulas/sudoers-formula.git synced 2024-11-27 22:38:22 +01:00

Merge pull request #74 from stasjok/fix-idempotence

fix(sudoers/included): fix idempotence with purge_includedir=True
This commit is contained in:
Éric Veiras Galisson 2021-04-30 17:50:03 +02:00 committed by GitHub
commit 4e8f515ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,5 +38,7 @@ sudoers include {{ included_file }}:
{% if sudoers.manage_main_config %}
- require:
- file: {{ sudoers.configpath }}/sudoers
- require_in:
- file: {{ sudoers.includedir }}
{% endif %}
{% endfor %}