Skip to content

Commit

Permalink
fix(sudoers/included): fix idempotence with purge_includedir=True
Browse files Browse the repository at this point in the history
  • Loading branch information
stasjok committed Feb 20, 2021
1 parent 73379d6 commit a64bf89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sudoers/included.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit a64bf89

Please sign in to comment.