From 1a41a66355df84d2150d8d79c27b1973446bc023 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 4 Apr 2025 12:31:19 +0200 Subject: [PATCH] Allow calendar servers to talk to db --- manifests/db_type.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/db_type.pp b/manifests/db_type.pp index 0826a56..9a9cbb2 100644 --- a/manifests/db_type.pp +++ b/manifests/db_type.pp @@ -34,8 +34,10 @@ define sunetdrive::db_type( $ports = [3306, 4444, 4567, 4568] if $location =~ /^multinode/ { $from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6 + $config['kube'] + $config['kube_v6'] - } elsif $location == 'sunet-test' or $location == 'sunet-prod' { + } elsif $location == 'sunet-prod' { $from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6 + $config['imap'] + $config['imap_v6'] + $config['smtp'] + $config['smtp_v6'] + $config['webmail'] + $config['webmail_v6'] + } elsif $location == 'sunet-test' { + $from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6 + $config['imap'] + $config['imap_v6'] + $config['smtp'] + $config['smtp_v6'] + $config['webmail'] + $config['webmail_v6'] + $config['calendar'] + $config['calendar_v6'] } else { $from = $db_ip + $nextcloud_ip + $backup_ip + $backup_ipv6 + $db_ipv6 }