From 10b0f3015533efe02e6191bcae71ec9849858d5d Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 4 Mar 2024 10:57:42 +0100 Subject: [PATCH] Add support for individual nextcloud versions for multinode --- manifests/multinode.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/multinode.pp b/manifests/multinode.pp index 918729e..0e65575 100644 --- a/manifests/multinode.pp +++ b/manifests/multinode.pp @@ -256,7 +256,11 @@ MACAddressPolicy=none' $mail_from_address = hiera("mail_from_address_${environment}") $mail_smtphost = hiera("mail_smtphost_${environment}") $nextcloud_log_path ="/opt/multinode/${customer}/nextcloud.log" - $nextcloud_version = hiera("nextcloud_version_${environment}") + if $customer_config['nextcloud_version'] { + $nextcloud_version = $customer_config['nextcloud_version'] + } else { + $nextcloud_version = hiera("nextcloud_version_${environment}") + } $nextcloud_version_string = split($nextcloud_version, '[-]')[0] $rclone_conf_path = "/opt/multinode/${customer}/rclone.conf" $redis_conf_dir = "/opt/multinode/${customer}/server"