Multinode: Add support for twofactor_enforced(_excluded)_groups

This commit is contained in:
Magnus Andersson 2023-11-30 10:58:04 +01:00
parent c425f90b0f
commit 8aa9c14d35
Signed by untrusted user: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -267,6 +267,12 @@ MACAddressPolicy=none'
$smtpuser = hiera("smtp_user_${environment}")
$trusted_domains = [$site_name, $facts['fqdn'], 'localhost']
$tug_office = hiera_array('tug_office')
if $customer_config['twofactor_enforced_groups'] {
$twofactor_enforced_groups = $customer_config['twofactor_enforced_groups']
}
if $customer_config['twofactor_enforced_excluded_groups'] {
$twofactor_enforced_excluded_groups = $customer_config['twofactor_enforced_excluded_groups']
}
# Secrets from local.eyaml
$admin_password = safe_hiera("${customer}_admin_password")