From e129d1cf7ac9fba2a2233273e914c46f176479f9 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 19 Oct 2025 19:09:51 +1100 Subject: [PATCH] feat: add mail::gateway role (#413) - add a mail::gateway role, more to add later - enables the build of hosts in this role immedately (config later) Reviewed-on: https://git.unkin.net/unkin/puppet-prod/pulls/413 --- site/roles/manifests/infra/mail/gateway.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 site/roles/manifests/infra/mail/gateway.pp diff --git a/site/roles/manifests/infra/mail/gateway.pp b/site/roles/manifests/infra/mail/gateway.pp new file mode 100644 index 0000000..a2bd0b8 --- /dev/null +++ b/site/roles/manifests/infra/mail/gateway.pp @@ -0,0 +1,10 @@ +# a role to deploy a dmz mx gateway for mail services +class roles::infra::mail::gateway { + if $facts['firstrun'] { + include profiles::defaults + include profiles::firstrun::init + }else{ + include profiles::defaults + include profiles::base + } +}