Unverified Commit a4f645af authored by Jonathan's avatar Jonathan Committed by GitHub
Browse files

Merge pull request #153 from SearchLightNZ/set_logpath_ownership

Set ownership for radacct and radius log dir
parents 016a80aa bb951327
......@@ -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
......
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