Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
b2714c80
Commit
b2714c80
authored
Nov 12, 2020
by
Nathan Ward
Browse files
Allow anyone to read the dictionary
parent
ca994084
Changes
2
Show whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
b2714c80
...
@@ -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
=>
'064
0
'
,
mode
=>
'064
4
'
,
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'
:
...
...
spec/classes/freeradius_spec.rb
View file @
b2714c80
...
@@ -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'
=>
'064
0
'
,
'mode'
=>
'064
4
'
,
'owner'
=>
'root'
,
'owner'
=>
'root'
,
)
)
.
that_requires
(
'Package[freeradius]'
)
.
that_requires
(
'Package[freeradius]'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment