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 }