Skip to content

Commit

Permalink
Merge branch 'master' of github.com:djjudas21/puppet-freeradius
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Gazeley committed Nov 25, 2015
2 parents df9203b + fa2fc50 commit 0dc3a9a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions manifests/statusclient.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@
$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',
Expand Down
9 changes: 9 additions & 0 deletions templates/radiusd.conf.fr3.erb
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,15 @@ security {
#
status_server = yes

# allow_vulnerable_openssl: Allow the server to start with
# versions of OpenSSL known to have critical vulnerabilities.
#
# This check is based on the version number reported by libssl
# and may not reflect patches applied to libssl by
# distribution maintainers.
#
allow_vulnerable_openssl = yes


}

Expand Down

0 comments on commit 0dc3a9a

Please sign in to comment.