mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-07 13:42:29 -04:00
fix: respect dotfiles pillar on mutt config sample
Fixes: https://github.com/ben-grande/qusal/issues/127
This commit is contained in:
parent
715fbccedc
commit
24628df466
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,9 @@ include:
|
||||||
- group: user
|
- group: user
|
||||||
- makedirs: True
|
- 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":
|
"{{ slsdotpath }}-reader-mutt-offline":
|
||||||
file.symlink:
|
file.symlink:
|
||||||
- require:
|
- require:
|
||||||
|
@ -32,3 +35,5 @@ include:
|
||||||
- force: True
|
- force: True
|
||||||
|
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
|
{% endif -%}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue