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

Allow anyone to read the dictionary

parent ca994084
...@@ -240,7 +240,7 @@ class freeradius ( ...@@ -240,7 +240,7 @@ class freeradius (
concat { "${freeradius::fr_basepath}/dictionary": concat { "${freeradius::fr_basepath}/dictionary":
owner => 'root', owner => 'root',
group => $freeradius::fr_group, group => $freeradius::fr_group,
mode => '0640', mode => '0644',
require => [Package[$freeradius::fr_package], Group[$freeradius::fr_group]], require => [Package[$freeradius::fr_package], Group[$freeradius::fr_group]],
} }
concat::fragment { 'dictionary_header': concat::fragment { 'dictionary_header':
......
...@@ -151,7 +151,7 @@ describe 'freeradius' do ...@@ -151,7 +151,7 @@ describe 'freeradius' do
is_expected.to contain_concat('/etc/raddb/dictionary') is_expected.to contain_concat('/etc/raddb/dictionary')
.with( .with(
'group' => 'radiusd', 'group' => 'radiusd',
'mode' => '0640', 'mode' => '0644',
'owner' => 'root', 'owner' => 'root',
) )
.that_requires('Package[freeradius]') .that_requires('Package[freeradius]')
......
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