Commit 6c7c2112 authored by Paul's avatar Paul
Browse files

Fix interpolation - '' -> ""

parent 501941dc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,
+2 −2
Original line number Diff line number Diff line
@@ -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]',