Commit 3a820dec authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Automatic lint fixes

parent e6cefed4
......@@ -2,9 +2,9 @@
define freeradius::home_server (
$secret,
$type = 'auth',
$ipaddr = '',
$ipv6addr = '',
$virtual_server = '',
$ipaddr = undef,
$ipv6addr = undef,
$virtual_server = undef,
$port = 1812,
$proto = 'udp',
$status_check = undef,
......
......@@ -2,8 +2,8 @@
define freeradius::home_server_pool (
$home_server,
$type = 'fail-over',
$virtual_server = '',
$fallback = '',
$virtual_server = undef,
$fallback = undef,
) {
$fr_basepath = $::freeradius::params::fr_basepath
......
......@@ -270,7 +270,7 @@ class freeradius (
# package to be sure that the group has been created.
group { $freeradius::fr_group:
ensure => present,
require => Package[$freeradius::fr_package]
require => Package[$freeradius::fr_package],
}
# Syslog rules
......
......@@ -8,6 +8,6 @@ define freeradius::module::huntgroup (
concat::fragment {"Huntgroup ${name}":
target => $huntgroup,
order => $order,
content => template('freeradius/huntgroup.erb')
content => template('freeradius/huntgroup.erb'),
}
}
# Set up proxy realms
define freeradius::realm (
$virtual_server = '',
$auth_pool = '',
$acct_pool = '',
$pool = '',
$virtual_server = undef,
$auth_pool = undef,
$acct_pool = undef,
$pool = undef,
$nostrip = false,
) {
$fr_basepath = $::freeradius::params::fr_basepath
......
......@@ -7,7 +7,7 @@ define freeradius::sql (
$radius_db = 'radius',
$num_sql_socks = '${thread[pool].max_servers}',
$query_file = "\${modconfdir}/\${.:name}/main/\${dialect}/queries.conf",
$custom_query_file = '',
$custom_query_file = undef,
$lifetime = '0',
$max_queries = '0',
$ensure = present,
......
Markdown is supported
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