qusal/salt/mail/configure-reader.sls
2024-01-29 16:49:54 +01:00

25 lines
502 B
Plaintext

{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' %}
include:
- dotfiles.copy-x11
- dotfiles.copy-sh
- dotfiles.copy-net
- dotfiles.copy-mutt
"{{ slsdotpath }}-reader-mailcap":
file.managed:
- name: /home/user/.mailcap
- source: salt://{{ slsdotpath }}/files/reader/mailcap
- mode: "0644"
- user: user
- group: user
- makedirs: True
{% endif -%}