Commit 7cf9d8d4 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Lint fixes

parent abbf4f9d
...@@ -26,7 +26,7 @@ define freeradius::attr ( ...@@ -26,7 +26,7 @@ define freeradius::attr (
# Reference all attribute snippets in one file # Reference all attribute snippets in one file
concat::fragment { "attr-${name}": concat::fragment { "attr-${name}":
target => "${fr_modulepath}/attr_filter", target => "${fr_modulepath}/attr_filter",
content => template("freeradius/attr.erb"), content => template('freeradius/attr.erb'),
order => 20, order => 20,
} }
} }
...@@ -12,7 +12,7 @@ class freeradius ( ...@@ -12,7 +12,7 @@ class freeradius (
$syslog = false, $syslog = false,
) inherits freeradius::params { ) inherits freeradius::params {
if ($fr_version != 3) { if ($::fr_version != 3) {
fail('This module is only compatible with FreeRADIUS 3') fail('This module is only compatible with FreeRADIUS 3')
} }
...@@ -25,7 +25,7 @@ class freeradius ( ...@@ -25,7 +25,7 @@ class freeradius (
mode => '0640', mode => '0640',
owner => 'root', owner => 'root',
group => $freeradius::fr_group, group => $freeradius::fr_group,
content => template("freeradius/radiusd.conf.erb"), content => template('freeradius/radiusd.conf.erb'),
require => [Package[$freeradius::fr_package], Group[$freeradius::fr_group]], require => [Package[$freeradius::fr_package], Group[$freeradius::fr_group]],
notify => Service[$freeradius::fr_service], notify => Service[$freeradius::fr_service],
} }
...@@ -138,9 +138,9 @@ class freeradius ( ...@@ -138,9 +138,9 @@ class freeradius (
} }
# Install default attribute filters # Install default attribute filters
concat::fragment { "attr-default": concat::fragment { 'attr-default':
target => "${freeradius::fr_modulepath}/attr_filter", target => "${freeradius::fr_modulepath}/attr_filter",
content => template("freeradius/attr_default.erb"), content => template('freeradius/attr_default.erb'),
order => 10, order => 10,
} }
......
...@@ -69,7 +69,7 @@ define freeradius::ldap ( ...@@ -69,7 +69,7 @@ define freeradius::ldap (
mode => '0640', mode => '0640',
owner => 'root', owner => 'root',
group => $fr_group, group => $fr_group,
content => template("freeradius/ldap.erb"), content => template('freeradius/ldap.erb'),
require => [Package[$fr_package], Group[$fr_group]], require => [Package[$fr_package], Group[$fr_group]],
notify => Service[$fr_service], notify => Service[$fr_service],
} }
......
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