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"