Commit bb951327 authored by Nathan Ward's avatar Nathan Ward
Browse files

Set ownership for radacct and radius log dir

parent e08f212c
......@@ -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
......
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