From 2d06de94ca2d634a8810f1d2c8c649539a80604a Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Wed, 8 Feb 2023 20:30:52 +0100 Subject: [PATCH 1/2] Enable keepalived-formula Signed-off-by: Georg Pfuetzenreuter --- pillar/formulas.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/pillar/formulas.yaml b/pillar/formulas.yaml index 43c7a32..359b2ca 100644 --- a/pillar/formulas.yaml +++ b/pillar/formulas.yaml @@ -1,4 +1,5 @@ - firewalld +- keepalived - nginx - openssh - postfix -- 2.35.3 From a8bbe056f147a34e88b27e4d2920fb8bd52e5220 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Wed, 8 Feb 2023 20:31:27 +0100 Subject: [PATCH 2/2] Add ha-node role Add ha-node role for machines in a HA pair using keepalived. Signed-off-by: Georg Pfuetzenreuter --- salt/role/ha-node.sls | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 salt/role/ha-node.sls diff --git a/salt/role/ha-node.sls b/salt/role/ha-node.sls new file mode 100644 index 0000000..8e195d5 --- /dev/null +++ b/salt/role/ha-node.sls @@ -0,0 +1,2 @@ +include: + - keepalived -- 2.35.3