From b7e94c225970604f848170a67f9dae4d7d97aa82 Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Tue, 1 Oct 2024 10:34:37 +0200 Subject: [PATCH] twofactor_enforced: Change manifest to work with fullnode --- manifests/app_type.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/app_type.pp b/manifests/app_type.pp index 493929d..ef15b0e 100644 --- a/manifests/app_type.pp +++ b/manifests/app_type.pp @@ -44,8 +44,8 @@ define sunetdrive::app_type ( $s3_secret = safe_hiera('s3_secret') $secret = safe_hiera('secret') } - $twofactor_enforced_groups = hiera_array('twofactor_enforced_groups') - $twofactor_enforced_excluded_groups = hiera_array('twofactor_enforced_excluded_groups') + $twofactor_enforced_groups = $config['twofactor_enforced_groups'] + $twofactor_enforced_excluded_groups = $config['twofactor_enforced_excluded_groups'] $nextcloud_version = hiera("nextcloud_version_${environment}") $nextcloud_version_string = split($nextcloud_version, '[-]')[0] # Common settings for multinode and full nodes