twofactor_enforced: Change manifest to work with fullnode

This commit is contained in:
Magnus Andersson 2024-10-01 10:34:37 +02:00
parent cd1a4ba19c
commit b66e072cf7
Signed by untrusted user: mandersson
GPG key ID: 1F7C896B34B28164

View file

@ -44,8 +44,8 @@ define sunetdrive::app_type (
$s3_secret = safe_hiera('s3_secret') $s3_secret = safe_hiera('s3_secret')
$secret = safe_hiera('secret') $secret = safe_hiera('secret')
} }
$twofactor_enforced_groups = hiera_array('twofactor_enforced_groups') $twofactor_enforced_groups = $config['twofactor_enforced_groups']
$twofactor_enforced_excluded_groups = hiera_array('twofactor_enforced_excluded_groups') $twofactor_enforced_excluded_groups = $config['twofactor_enforced_excluded_groups']
$nextcloud_version = hiera("nextcloud_version_${environment}") $nextcloud_version = hiera("nextcloud_version_${environment}")
$nextcloud_version_string = split($nextcloud_version, '[-]')[0] $nextcloud_version_string = split($nextcloud_version, '[-]')[0]
# Common settings for multinode and full nodes # Common settings for multinode and full nodes