Skip to content
Snippets Groups Projects
Commit bb951327 authored by Nathan Ward's avatar Nathan Ward
Browse files

Set ownership for radacct and radius log dir

parent e08f212c
No related branches found
Tags 1.0.11
No related merge requests found
......@@ -354,7 +354,9 @@ class freeradius (
$freeradius::fr_logpath,
"${freeradius::fr_logpath}/radacct",
]:
group => $freeradius::fr_group,
mode => '0750',
owner => $freeradius::fr_user,
require => Package[$freeradius::fr_package],
}
......
......@@ -254,6 +254,8 @@ describe 'freeradius' do
is_expected.to contain_file(file)
.with(
'mode' => '0750',
'owner' => 'radiusd',
'group' => 'radiusd',
)
.that_requires('Package[freeradius]')
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment