fix: respect dotfiles pillar on mutt config sample

Fixes: https://github.com/ben-grande/qusal/issues/127
This commit is contained in:
Ben Grande 2025-04-16 09:35:04 +02:00
parent 715fbccedc
commit 24628df466
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56

View File

@ -21,6 +21,9 @@ include:
- group: user
- makedirs: True
{%- set qusal_dot = salt["pillar.get"]("qusal:dotfiles:all", default=True) -%}
{%- if salt["pillar.get"]("qusal:dotfiles:mutt", default=qusal_dot) -%}
"{{ slsdotpath }}-reader-mutt-offline":
file.symlink:
- require:
@ -32,3 +35,5 @@ include:
- force: True
{% endif -%}
{% endif -%}