diff options
author | Georg Pfuetzenreuter | 2023-05-02 21:11:57 +0200 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-05-02 21:11:57 +0200 |
commit | 3789895228afad0bcc28f0d0dd515afd83850ec3 (patch) | |
tree | 38e695596e028fe28632ddc0d4f8b0b1aefb9cdb | |
parent | ffbd2dc4c3e9b06012880281dee8ecc5b13a3cb7 (diff) | |
download | salt-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>
-rw-r--r-- | salt/common/suse.sls | 2 |
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'] -%} |