Skip to content

Commit 4e8f515

Browse files
authored
Merge pull request #74 from stasjok/fix-idempotence
fix(sudoers/included): fix idempotence with purge_includedir=True
2 parents 285cdaa + a64bf89 commit 4e8f515

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sudoers/included.sls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@ sudoers include {{ included_file }}:
3838
{% if sudoers.manage_main_config %}
3939
- require:
4040
- file: {{ sudoers.configpath }}/sudoers
41+
- require_in:
42+
- file: {{ sudoers.includedir }}
4143
{% endif %}
4244
{% endfor %}

0 commit comments

Comments
 (0)