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

Merge pull request #148 from steadramon/interpolationfix

Fix interpolation - '' -> ""
parents 501941dc 6c7c2112
...@@ -179,7 +179,7 @@ class freeradius ( ...@@ -179,7 +179,7 @@ class freeradius (
} }
concat::fragment { 'proxy_header': concat::fragment { 'proxy_header':
target => "${freeradius::fr_basepath}/proxy.conf", target => "${freeradius::fr_basepath}/proxy.conf",
content => '# Proxy config\n', content => "# Proxy config\n",
order => '05', order => '05',
} }
...@@ -436,7 +436,7 @@ class freeradius ( ...@@ -436,7 +436,7 @@ class freeradius (
"${freeradius::fr_basepath}/clients.conf", "${freeradius::fr_basepath}/clients.conf",
"${freeradius::fr_basepath}/sql.conf", "${freeradius::fr_basepath}/sql.conf",
]: ]:
content => '# FILE INTENTIONALLY BLANK\n', content => "# FILE INTENTIONALLY BLANK\n",
mode => '0644', mode => '0644',
owner => 'root', owner => 'root',
group => $freeradius::fr_group, group => $freeradius::fr_group,
......
...@@ -121,7 +121,7 @@ describe 'freeradius' do ...@@ -121,7 +121,7 @@ describe 'freeradius' do
it do it do
is_expected.to contain_concat__fragment('proxy_header') is_expected.to contain_concat__fragment('proxy_header')
.with( .with(
'content' => '# Proxy config\n', 'content' => "# Proxy config\n",
'order' => '05', 'order' => '05',
'target' => '/etc/raddb/proxy.conf' 'target' => '/etc/raddb/proxy.conf'
) )
...@@ -364,7 +364,7 @@ describe 'freeradius' do ...@@ -364,7 +364,7 @@ describe 'freeradius' do
].each do |file| ].each do |file|
is_expected.to contain_file(file) is_expected.to contain_file(file)
.with( .with(
'content' => '# FILE INTENTIONALLY BLANK\n', 'content' => "# FILE INTENTIONALLY BLANK\n",
'group' => 'radiusd', 'group' => 'radiusd',
'mode' => '0644', 'mode' => '0644',
'notify' => 'Service[radiusd]', 'notify' => 'Service[radiusd]',
......
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