@@ -125,7 +125,7 @@ class { 'apache': }
125125 it { is_expected . to contain 'ProxyPreserveHost On' }
126126 it { is_expected . to contain 'ProxyErrorOverride On' }
127127 it { is_expected . not_to contain 'ProxyAddHeaders' }
128- it { is_expected . not_to contain " <Proxy \* >" }
128+ it { is_expected . not_to contain ' <Proxy *>' }
129129 end
130130 end
131131
@@ -153,7 +153,7 @@ class { 'apache': }
153153 it { is_expected . to contain 'ProxyPreserveHost On' }
154154 it { is_expected . to contain 'ProxyErrorOverride On' }
155155 it { is_expected . not_to contain 'ProxyAddHeaders' }
156- it { is_expected . not_to contain " <Proxy \* >" }
156+ it { is_expected . not_to contain ' <Proxy *>' }
157157 end
158158 end
159159
@@ -276,9 +276,9 @@ class { 'apache':
276276 class { 'apache': }
277277
278278 if versioncmp('#{ apache_hash [ 'version' ] } ', '2.4') >= 0 {
279- $_files_match_directory = { 'path' => '(\ . swp|\ . bak|~)$', 'provider' => 'filesmatch', 'require' => 'all denied', }
279+ $_files_match_directory = { 'path' => '(.swp|.bak|~)$', 'provider' => 'filesmatch', 'require' => 'all denied', }
280280 } else {
281- $_files_match_directory = { 'path' => '(\ . swp|\ . bak|~)$', 'provider' => 'filesmatch', 'deny' => 'from all', }
281+ $_files_match_directory = { 'path' => '(.swp|.bak|~)$', 'provider' => 'filesmatch', 'deny' => 'from all', }
282282 }
283283
284284 $_directories = [
@@ -785,14 +785,14 @@ class { 'apache': }
785785 apache::vhost { 'test.setenv_setenvif':
786786 docroot => '/tmp',
787787 setenv => ['TEST /test'],
788- setenvif => ['Request_URI "\ . gif$" object_is_image=gif']
788+ setenvif => ['Request_URI ".gif$" object_is_image=gif']
789789 }
790790 apache::vhost { 'test.rewrite':
791791 docroot => '/tmp',
792792 rewrites => [
793793 { comment => 'test',
794794 rewrite_cond => '%{HTTP_USER_AGENT} ^Lynx/ [OR]',
795- rewrite_rule => ['^index\ . html$ welcome.html'],
795+ rewrite_rule => ['^index.html$ welcome.html'],
796796 rewrite_map => ['lc int:tolower'],
797797 }
798798 ],
0 commit comments