From f949c0aba0bd9863474a35e1613eb23554acc449 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Thu, 26 Jan 2023 19:34:01 +0100 Subject: [PATCH] mta.postfix->global.mta pillar; remove mta profile This is more a MTA configuration for system email on all hosts instead of a dedicated email server role. Signed-off-by: Georg Pfuetzenreuter --- pillar/global/init.sls | 2 +- pillar/{role/mta/postfix.sls => global/mta.sls} | 0 salt/common/suse.sls | 3 ++- salt/role/mta/postfix.sls | 3 --- 4 files changed, 3 insertions(+), 5 deletions(-) rename pillar/{role/mta/postfix.sls => global/mta.sls} (100%) delete mode 100644 salt/role/mta/postfix.sls diff --git a/pillar/global/init.sls b/pillar/global/init.sls index 280886f..98536a3 100644 --- a/pillar/global/init.sls +++ b/pillar/global/init.sls @@ -1,7 +1,7 @@ include: - role.salt.common - role.salt.minion - - role.mta.postfix + - .mta managed_header_pound: | ### This file is managed via https://git.com.de/LibertaCasa/salt diff --git a/pillar/role/mta/postfix.sls b/pillar/global/mta.sls similarity index 100% rename from pillar/role/mta/postfix.sls rename to pillar/global/mta.sls diff --git a/salt/common/suse.sls b/salt/common/suse.sls index a107c3d..b4abd7a 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -3,7 +3,8 @@ include: - profile.zypp - profile.node_exporter - users - - role.mta.postfix + - postfix + - postfix.config {#- to-do: move this to some formula or macro -#} {%- set osfullname = grains['osfullname'] -%} diff --git a/salt/role/mta/postfix.sls b/salt/role/mta/postfix.sls deleted file mode 100644 index d5b51d4..0000000 --- a/salt/role/mta/postfix.sls +++ /dev/null @@ -1,3 +0,0 @@ -include: - - postfix - - postfix.config