Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
6c7c2112
Commit
6c7c2112
authored
Feb 02, 2021
by
Paul
Browse files
Fix interpolation - '' -> ""
parent
501941dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
6c7c2112
...
...
@@ -179,7 +179,7 @@ class freeradius (
}
concat::fragment
{
'proxy_header'
:
target
=>
"
${freeradius::fr_basepath}
/proxy.conf"
,
content
=>
'
# Proxy config\n
'
,
content
=>
"
# Proxy config
\n
"
,
order
=>
'05'
,
}
...
...
@@ -436,7 +436,7 @@ class freeradius (
"
${freeradius::fr_basepath}
/clients.conf"
,
"
${freeradius::fr_basepath}
/sql.conf"
,
]:
content
=>
'
# FILE INTENTIONALLY BLANK\n
'
,
content
=>
"
# FILE INTENTIONALLY BLANK
\n
"
,
mode
=>
'0644'
,
owner
=>
'root'
,
group
=>
$freeradius::fr_group
,
...
...
spec/classes/freeradius_spec.rb
View file @
6c7c2112
...
...
@@ -121,7 +121,7 @@ describe 'freeradius' do
it
do
is_expected
.
to
contain_concat__fragment
(
'proxy_header'
)
.
with
(
'content'
=>
'
# Proxy config\n
'
,
'content'
=>
"
# Proxy config
\n
"
,
'order'
=>
'05'
,
'target'
=>
'/etc/raddb/proxy.conf'
)
...
...
@@ -364,7 +364,7 @@ describe 'freeradius' do
].
each
do
|
file
|
is_expected
.
to
contain_file
(
file
)
.
with
(
'content'
=>
'
# FILE INTENTIONALLY BLANK\n
'
,
'content'
=>
"
# FILE INTENTIONALLY BLANK
\n
"
,
'group'
=>
'radiusd'
,
'mode'
=>
'0644'
,
'notify'
=>
'Service[radiusd]'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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