blob: 033b059a11d593c8f5988d777831a9a0a83782ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
client icinga {
ipaddr = ${icinga_radius_cidr}
secret = ${icinga_radius_secret}
}
$(for client_name in $radius_clients; do
eval "client_address=\$radius_${client_name}_address"
eval "client_secret=\$radius_${client_name}_secret"
cat <<EOF
client ${client_name} {
ipaddr = ${client_address}
secret = ${client_secret}
}
EOF
done)
|