From 4bf9ac9413b0ab5668abd9a77c9be745b5bee136 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Tue, 24 Jan 2023 23:04:57 +0100 Subject: Include Postfix pillar via role Signed-off-by: Georg Pfuetzenreuter --- salt/common/postfix.sls | 3 --- salt/common/suse.sls | 2 +- salt/role/mta/postfix.sls | 3 +++ 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 salt/common/postfix.sls create mode 100644 salt/role/mta/postfix.sls (limited to 'salt') diff --git a/salt/common/postfix.sls b/salt/common/postfix.sls deleted file mode 100644 index d5b51d4..0000000 --- a/salt/common/postfix.sls +++ /dev/null @@ -1,3 +0,0 @@ -include: - - postfix - - postfix.config diff --git a/salt/common/suse.sls b/salt/common/suse.sls index d76da87..d4cd6a1 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -3,7 +3,7 @@ include: - profile.zypp - profile.node_exporter - users - - .postfix + - role.mta.postfix {#- 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 new file mode 100644 index 0000000..d5b51d4 --- /dev/null +++ b/salt/role/mta/postfix.sls @@ -0,0 +1,3 @@ +include: + - postfix + - postfix.config -- cgit v1.2.3