From 3789895228afad0bcc28f0d0dd515afd83850ec3 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Tue, 2 May 2023 21:11:57 +0200 Subject: Add manage_postfix conditional Allow local MTA management to be disabled for hosts which need a custom configuration. Signed-off-by: Georg Pfuetzenreuter --- salt/common/suse.sls | 2 ++ 1 file changed, 2 insertions(+) (limited to 'salt/common') 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'] -%} -- cgit v1.2.3