Commit fa2fc500 authored by Jonathan's avatar Jonathan
Browse files

Merge pull request #26 from djjudas21/allow_vulnerable_openssl

Fix cidr addresses for statusclients
parents 7ac7bc17 ed592ab6
......@@ -14,6 +14,19 @@ define freeradius::statusclient (
$fr_group = $::freeradius::params::fr_group
$fr_version = $::freeradius::params::fr_version
$cidr = $netmask ? {
undef => $ip,
default => "${ip}/${netmask}",
}
$cidr6 = $netmask ? {
undef => $ip6,
default => "${ip6}/${netmask}",
}
if ($netmask and $fr_version == 3) {
warning("netmask field found in client ${shortname} is deprecated, use CIDR notation instead. Please fix your configuration.")
}
file { "${fr_basepath}/statusclients.d/${name}.conf":
ensure => $ensure,
mode => '0640',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment