summaryrefslogtreecommitdiffstats
path: root/salt
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-05-02 21:11:57 +0200
committerGeorg Pfuetzenreuter2023-05-02 21:11:57 +0200
commit3789895228afad0bcc28f0d0dd515afd83850ec3 (patch)
tree38e695596e028fe28632ddc0d4f8b0b1aefb9cdb /salt
parentffbd2dc4c3e9b06012880281dee8ecc5b13a3cb7 (diff)
downloadsalt-mta-optional.tar.gz
salt-mta-optional.tar.bz2
salt-mta-optional.zip
Add manage_postfix conditionalmta-optional
Allow local MTA management to be disabled for hosts which need a custom configuration. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'salt')
-rw-r--r--salt/common/suse.sls2
1 files changed, 2 insertions, 0 deletions
diff --git a/salt/common/suse.sls b/salt/common/suse.sls
index 68aadd9..cffdfa3 100644
--- a/salt/common/suse.sls
+++ b/salt/common/suse.sls
@@ -12,7 +12,9 @@ include:
- users
{%- endif %}
- .ssh
+ {%- if salt['pillar.get']('manage_postfix', True) %}
- postfix.config
+ {%- endif %}
{#- to-do: move this to some formula or macro -#}
{%- set osfullname = grains['osfullname'] -%}