Skip to content

Fixes #37761 - Allow rewrites needed for cockpit integration #1645

Fixes #37761 - Allow rewrites needed for cockpit integration

Fixes #37761 - Allow rewrites needed for cockpit integration #1645

Triggered via pull request August 22, 2024 10:57
Status Failure
Total duration 28m 56s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
19s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
3s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 1 warning
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on almalinux-9-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on centos-8-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on centos-9-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on debian-11-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on redhat-8-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on redhat-9-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on ubuntu-20.04-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on ubuntu-22.04-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on centos-8-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on ubuntu-22.04-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on ubuntu-20.04-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on redhat-9-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on debian-11-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on redhat-8-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on almalinux-9-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on centos-9-x86_64 with default args configures apache Failure/Error: is_expected.to contain_foreman__config__apache__fragment('cockpit') .without_content .with_ssl_content(%r{^<Location /webcon>$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) ws://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) .with_ssl_content(%r{^ RewriteRule /webcon/\(\.\*\) http://127\.0\.0\.1:19090/webcon/\$1 \[P\]$}) expected that the catalogue would contain Foreman::Config::Apache::Fragment[cockpit] with ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n", and parameter ssl_content set to /^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$/ but it is set to "### File managed with puppet ###\n\n<Location /webcon>\n ProxyPreserveHost On\n\n RewriteEngine On\n RewriteCond %{HTTP:Upgrade} =websocket [NC]\n RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n RewriteCond %{HTTP:Upgrade} !=websocket [NC]\n RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F]\n</Location>\n" Diff: @@ -1,4 +1,25 @@ -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) ws:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +### File managed with puppet ### -(?-mix:^ RewriteRule \/webcon\/\(\.\*\) http:\/\/127\.0\.0\.1:19090\/webcon\/\$1 \[P\]$) +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location> + + +### File managed with puppet ### + +<Location /webcon> + ProxyPreserveHost On + + RewriteEngine On + RewriteCond %{HTTP:Upgrade} =websocket [NC] + RewriteRule /webcon/(.*) ws://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] + RewriteCond %{HTTP:Upgrade} !=websocket [NC] + RewriteRule /webcon/(.*) http://127.0.0.1:19090/webcon/$1 [P,UnsafeAllow3F] +</Location>
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8