Finish conversion to EPP templates #574
ci.yml
on: pull_request
Spec
/
Setup Test Matrix
28s
Matrix: Spec / spec
Matrix: Acceptance / acceptance
Waiting for pending jobs
Annotations
20 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L38
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass creates a concat fragment
Failure/Error: expect(subject).to compile.with_all_deps
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 63 <%- } %>
> 64 <
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L62
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_dest URL is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%= $proxy['keywo
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L63
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_dest URL is expected to contain Class[apache::mod::proxy_http2]
Failure/Error: it { is_expected.to contain_class('apache::mod::proxy_http2') }
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%= $pro
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L71
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_dest_match URL is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%= $proxy[
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L72
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_dest_match URL is expected to contain Class[apache::mod::proxy_http2]
Failure/Error: it { is_expected.to contain_class('apache::mod::proxy_http2') }
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L87
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_pass URL is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%= $proxy['keywo
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L88
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_pass URL is expected to contain Class[apache::mod::proxy_http2]
Failure/Error: it { is_expected.to contain_class('apache::mod::proxy_http2') }
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%= $pro
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L103
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_pass_match URL is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%= $proxy[
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L104
apache::vhost::proxy on almalinux-8-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_pass_match URL is expected to contain Class[apache::mod::proxy_http2]
Failure/Error: it { is_expected.to contain_class('apache::mod::proxy_http2') }
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/vhost_proxy_spec.rb#L38
apache::vhost::proxy on centos-7-x86_64 adding to the default vhost with proxy_pass creates a concat fragment
Failure/Error: expect(subject).to compile.with_all_deps
SyntaxError:
--> /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp
Unmatched `{', missing `}' ?
> 1 <% if $proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_add_headers != undef { -%>
> 4 ProxyRequests <%= apache::bool2httpd($proxy_requests) %>
> 5 <%- } -%>
> 6 ProxyPreserveHost <%= apache::bool2httpd($proxy_preserve_host) %>
> 7 <%- if $proxy_add_headers != undef { -%>
> 8 ProxyAddHeaders <%= apache::bool2httpd($proxy_add_headers) %>
> 9 <%- } -%>
> 10 <% if $proxy_error_override { -%>
> 11 ProxyErrorOverride On
> 12 <%- } -%>
> 13 <%- [$proxy_pass].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { -%>
> 14 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 15 ProxyPass <%= $uri %> !
> 16 <%- } -%>
> 17 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 18 ProxyPassMatch <%= $uri %> !
> 19 <%- } -%>
> 20 ProxyPass <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 21 <%- if $proxy['params'] { -%>
> 22 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 23 <%- } -%>
> 24 <%- } -%>
> 25 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 26 <%- } %>
> 27 <%- if $proxy['reverse_cookies'] { -%>
> 28 <%- [$proxy['reverse_cookies']].flatten.each |$reverse_cookies| { -%>
> 29 <%- if $reverse_cookies['path'] { -%>
> 30 ProxyPassReverseCookiePath <%= $reverse_cookies['path'] %> <%= $reverse_cookies['url'] %>
> 31 <%- } -%>
> 32 <%- if $reverse_cookies['domain'] { -%>
> 33 ProxyPassReverseCookieDomain <%= $reverse_cookies['domain'] %> <%= $reverse_cookies['url'] %>
> 34 <%- } -%>
> 35 <%- } -%>
> 36 <%- } -%>
> 37 <%- if $proxy['reverse_urls'] { -%>
> 38 <%- [$proxy['reverse_urls']].flatten.each |$reverse_url| { -%>
> 39 ProxyPassReverse <%= $proxy['path'] %> <%= reverse_url %>
> 40 <%- } -%>
> 41 <%- } else { -%>
> 42 ProxyPassReverse <%= $proxy['path'] %> <%= $proxy['url'] %>
> 43 <%- } -%>
> 44 <%- if $proxy['setenv'] { -%>
> 45 <%- [$proxy['setenv']].flatten.each |$setenv_var| { -%>
> 46 SetEnv <%= setenv_var %>
> 47 <%- } -%>
> 48 <%- } -%>
> 49 <% } -%>
> 50 <% [$proxy_pass_match].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$proxy| { %>
> 51 <%- [$proxy['no_proxy_uris']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 52 ProxyPass <%= $uri %> !
> 53 <%- } -%>
> 54 <%- [$proxy['no_proxy_uris_match']].flatten.filter |$m| { $m }.filter |$m| { $m }.each |$uri| { -%>
> 55 ProxyPassMatch <%= $uri %> !
> 56 <%- } -%>
> 57 ProxyPassMatch <%= $proxy['path'] %> <%= $proxy['url'] -%>
> 58 <%- if $proxy['params'] { -%>
> 59 <%- $proxy['params'].stdlib::sort_by |$m| { $m[0] }.each |$key, $value| { %> <%= $key %>=<%= $value -%>
> 60 <%- } -%>
> 61 <%- } -%>
> 62 <%- if $proxy['keywords'] { %> <%= $proxy['keywords'].join(' ') -%>
> 63 <%- } %>
> 64 <%-
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L38
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass creates a concat fragment
Failure/Error: expect(subject).to compile.with_all_deps
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L62
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_dest URL is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L63
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_dest URL is expected to contain Class[apache::mod::proxy_http2]
Failure/Error: it { is_expected.to contain_class('apache::mod::proxy_http2') }
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L71
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_dest_match URL is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L72
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_dest_match URL is expected to contain Class[apache::mod::proxy_http2]
Failure/Error: it { is_expected.to contain_class('apache::mod::proxy_http2') }
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L87
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_pass URL is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L88
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_pass URL is expected to contain Class[apache::mod::proxy_http2]
Failure/Error: it { is_expected.to contain_class('apache::mod::proxy_http2') }
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L103
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_pass_match URL is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L104
apache::vhost::proxy on debian-11-x86_64 adding to the default vhost with proxy_pass with HTTP/2 proxy_pass_match URL is expected to contain Class[apache::mod::proxy_http2]
Failure/Error: it { is_expected.to contain_class('apache::mod::proxy_http2') }
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/vhost_proxy_spec.rb#L38
apache::vhost::proxy on redhat-8-x86_64 adding to the default vhost with proxy_pass creates a concat fragment
Failure/Error: expect(subject).to compile.with_all_deps
SyntaxError:
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:1: syntax error, unexpected `undef'
... or $proxy_add_headers != undef {
... ^~~~~
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:2: syntax error, unexpected string literal, expecting =>
_erbout.<< "\n ## Proxy rules\n ProxyRe...
^
/home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/vhost/_proxy.epp:5: syntax error, unexpected '}', expecting end-of-input
; }
^
|