Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ concurrency:
jobs:
puppet:
name: Puppet
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v2
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v3
with:
pidfile_workaround: 'false'
rubocop: false
cache-version: '1'
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ gem 'rake'

gem 'kafo_module_lint', {"groups"=>["test"]}
gem 'puppet-lint-spaceship_operator_without_tag-check', '~> 1.0', {"groups"=>["test"]}
gem 'voxpupuli-test', '~> 7.0', {"groups"=>["test"]}
gem 'voxpupuli-test', '~> 9.0', {"groups"=>["test"]}
gem 'github_changelog_generator', '>= 1.15.0', {"groups"=>["development"]}
gem 'puppet_metadata', '~> 4.0'
gem 'puppet-blacksmith', '>= 6.0.0', {"groups"=>["development"]}
gem 'voxpupuli-acceptance', '~> 3.0', {"groups"=>["system_tests"]}
gem 'voxpupuli-acceptance', '~> 3.4', {"groups"=>["system_tests"]}
gem 'puppetlabs_spec_helper', {"groups"=>["system_tests"]}

# vim:ft=ruby
6 changes: 3 additions & 3 deletions spec/classes/foreman_proxy_content_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
.with(content_service_worker_timeout: 90)
.with(api_service_worker_timeout: 90)
.with(allowed_content_checksums: ['sha1', 'sha224', 'sha256', 'sha384', 'sha512'])
.with(api_client_auth_cn_map: {facts[:fqdn] => 'admin'})
.with(api_client_auth_cn_map: {facts[:networking]['fqdn'] => 'admin'})
.with(allowed_import_path: ['/var/lib/pulp/sync_imports', '/var/lib/pulp/imports'])
.with(allowed_export_path: ['/var/lib/pulp/exports'])
.that_comes_before('Class[foreman_proxy::plugin::pulp]')
end

it do
is_expected.to contain_class('foreman_proxy::plugin::pulp')
.with_rhsm_url("https://#{facts[:fqdn]}:443/rhsm")
.with_rhsm_url("https://#{facts[:networking]['fqdn']}:443/rhsm")
end

context 'with custom import/export paths as arrays' do
Expand Down Expand Up @@ -196,7 +196,7 @@
end
it do
is_expected.to contain_class('foreman_proxy::plugin::pulp')
.with_rhsm_url("https://#{facts[:fqdn]}:443/rhsm")
.with_rhsm_url("https://#{facts[:networking]['fqdn']}:443/rhsm")
end
it do
is_expected.not_to contain_foreman_proxy_content__reverse_proxy('rhsm-pulpcore-https-8443')
Expand Down
6 changes: 3 additions & 3 deletions spec/defines/foreman_proxy_content__reverse_proxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
PUPPET
end

it { is_expected.to compile.with_all_deps }

Check failure on line 17 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with inherited parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 4) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 17 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with inherited parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 4) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
it do

Check failure on line 18 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with inherited parameters is expected to contain Apache::Vhost[my-reverse-proxy] with servername => "foo.example.com", serveraliases => [], port => 443 and proxy_pass => [{"path"=>"/", "url"=>"https://foo.example.com/", "reverse_urls"=>["https://foo.example.com/"], "params"=>{"disablereuse"=>"on", "retry"=>"0"}}] Failure/Error: is_expected.to contain_apache__vhost('my-reverse-proxy') .with_servername(facts[:networking]['fqdn']) .with_serveraliases([]) .with_port(443) .with_proxy_pass([{ 'path' => '/', 'url' => "https://#{facts[:networking]['fqdn']}/", 'reverse_urls' => ["https://#{facts[:networking]['fqdn']}/"], 'params' => {'disablereuse' => 'on', 'retry' => '0'}, }]) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 4) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 18 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with inherited parameters is expected to contain Apache::Vhost[my-reverse-proxy] with servername => "foo.example.com", serveraliases => [], port => 443 and proxy_pass => [{"path"=>"/", "url"=>"https://foo.example.com/", "reverse_urls"=>["https://foo.example.com/"], "params"=>{"disablereuse"=>"on", "retry"=>"0"}}] Failure/Error: is_expected.to contain_apache__vhost('my-reverse-proxy') .with_servername(facts[:networking]['fqdn']) .with_serveraliases([]) .with_port(443) .with_proxy_pass([{ 'path' => '/', 'url' => "https://#{facts[:networking]['fqdn']}/", 'reverse_urls' => ["https://#{facts[:networking]['fqdn']}/"], 'params' => {'disablereuse' => 'on', 'retry' => '0'}, }]) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 4) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
is_expected.to contain_apache__vhost('my-reverse-proxy')
.with_servername(facts[:fqdn])
.with_servername(facts[:networking]['fqdn'])
.with_serveraliases([])
.with_port(443)
.with_proxy_pass([{
'path' => '/',
'url' => "https://#{facts[:fqdn]}/",
'reverse_urls' => ["https://#{facts[:fqdn]}/"],
'url' => "https://#{facts[:networking]['fqdn']}/",
'reverse_urls' => ["https://#{facts[:networking]['fqdn']}/"],
'params' => {'disablereuse' => 'on', 'retry' => '0'},
}])
end
Expand All @@ -33,8 +33,8 @@
let(:params) { { path_url_map: {'/' => 'https://foreman.example.com/'}, port: 443 } }
let(:title) { 'katello-reverse-proxy-443' }

it { is_expected.to compile.with_all_deps }

Check failure on line 36 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 36 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
it do

Check failure on line 37 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters is expected to contain Apache::Vhost[katello-reverse-proxy-443] with servername => "foo.example.com", serveraliases => [], port => 443, proxy_pass => [{"path"=>"/", "url"=>"https://foreman.example.com/", "reverse_urls"=>["https://foreman.example.com/"], "params"=>{"disablereuse"=>"on", "retry"=>"0"}}] and keepalive undefined Failure/Error: is_expected.to contain_apache__vhost('katello-reverse-proxy-443') .with_servername('foo.example.com') .with_serveraliases([]) .with_port(443) .without_keepalive # Not part of the vhost but used in the vhost_params .with_proxy_pass([{ 'path' => '/', 'url' => 'https://foreman.example.com/', 'reverse_urls' => ['https://foreman.example.com/'], 'params' => {'disablereuse' => 'on', 'retry' => '0'}, Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 37 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters is expected to contain Apache::Vhost[katello-reverse-proxy-443] with servername => "foo.example.com", serveraliases => [], port => 443, proxy_pass => [{"path"=>"/", "url"=>"https://foreman.example.com/", "reverse_urls"=>["https://foreman.example.com/"], "params"=>{"disablereuse"=>"on", "retry"=>"0"}}] and keepalive undefined Failure/Error: is_expected.to contain_apache__vhost('katello-reverse-proxy-443') .with_servername('foo.example.com') .with_serveraliases([]) .with_port(443) .without_keepalive # Not part of the vhost but used in the vhost_params .with_proxy_pass([{ 'path' => '/', 'url' => 'https://foreman.example.com/', 'reverse_urls' => ['https://foreman.example.com/'], 'params' => {'disablereuse' => 'on', 'retry' => '0'}, Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
is_expected.to contain_apache__vhost('katello-reverse-proxy-443')
.with_servername('foo.example.com')
.with_serveraliases([])
Expand All @@ -61,8 +61,8 @@
end
let(:title) { 'katello-reverse-proxy' }

it { is_expected.to compile.with_all_deps }

Check failure on line 64 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with custom servername and cnames is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 7) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 64 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with custom servername and cnames is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 7) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
it do

Check failure on line 65 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with custom servername and cnames is expected to contain Apache::Vhost[katello-reverse-proxy] with servername => "proxy.example.com" and serveraliases => ["proxy-01.example.com"] Failure/Error: is_expected.to contain_apache__vhost('katello-reverse-proxy') .with_servername('proxy.example.com') .with_serveraliases(['proxy-01.example.com']) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 7) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 65 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with custom servername and cnames is expected to contain Apache::Vhost[katello-reverse-proxy] with servername => "proxy.example.com" and serveraliases => ["proxy-01.example.com"] Failure/Error: is_expected.to contain_apache__vhost('katello-reverse-proxy') .with_servername('proxy.example.com') .with_serveraliases(['proxy-01.example.com']) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 7) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
is_expected.to contain_apache__vhost('katello-reverse-proxy')
.with_servername('proxy.example.com')
.with_serveraliases(['proxy-01.example.com'])
Expand All @@ -73,16 +73,16 @@
let(:params) { super().merge(vhost_params: {keepalive: 'on'}) }
let(:title) { 'katello-reverse-proxy' }

it { is_expected.to compile.with_all_deps }

Check failure on line 76 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with vhost_params is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 76 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with vhost_params is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
it { is_expected.to contain_apache__vhost('katello-reverse-proxy').with_keepalive('on') }

Check failure on line 77 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with vhost_params is expected to contain Apache::Vhost[katello-reverse-proxy] with keepalive => "on" Failure/Error: it { is_expected.to contain_apache__vhost('katello-reverse-proxy').with_keepalive('on') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 77 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with vhost_params is expected to contain Apache::Vhost[katello-reverse-proxy] with keepalive => "on" Failure/Error: it { is_expected.to contain_apache__vhost('katello-reverse-proxy').with_keepalive('on') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
end

context 'with proxy_pass_params' do
let(:params) { super().merge(proxy_pass_params: {disablereuse: 'off'}) }
let(:title) { 'katello-reverse-proxy' }

it { is_expected.to compile.with_all_deps }

Check failure on line 84 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with proxy_pass_params is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 84 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with proxy_pass_params is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
it do

Check failure on line 85 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with proxy_pass_params is expected to contain Apache::Vhost[katello-reverse-proxy] with proxy_pass => [{"path"=>"/", "url"=>"https://foreman.example.com/", "reverse_urls"=>["https://foreman.example.com/"], "params"=>{"disablereuse"=>"off"}}] Failure/Error: is_expected.to contain_apache__vhost('katello-reverse-proxy') .with_proxy_pass([{ 'path' => '/', 'url' => 'https://foreman.example.com/', 'reverse_urls' => ['https://foreman.example.com/'], 'params' => {'disablereuse' => 'off'}, }]) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1921-127.4cv3ebvwz22urekldlhrokkwfe.phxx.internal.cloudapp.net

Check failure on line 85 in spec/defines/foreman_proxy_content__reverse_proxy_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

foreman_proxy_content::reverse_proxy on redhat-9-x86_64 with explicit parameters with proxy_pass_params is expected to contain Apache::Vhost[katello-reverse-proxy] with proxy_pass => [{"path"=>"/", "url"=>"https://foreman.example.com/", "reverse_urls"=>["https://foreman.example.com/"], "params"=>{"disablereuse"=>"off"}}] Failure/Error: is_expected.to contain_apache__vhost('katello-reverse-proxy') .with_proxy_pass([{ 'path' => '/', 'url' => 'https://foreman.example.com/', 'reverse_urls' => ['https://foreman.example.com/'], 'params' => {'disablereuse' => 'off'}, }]) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::ca_cert'. (file: /home/runner/work/puppet-foreman_proxy_content/puppet-foreman_proxy_content/spec/fixtures/modules/foreman_proxy_content/manifests/reverse_proxy.pp, line: 57, column: 31) (line: 2) on node fv-az1074-108.lpdkgp2kpfkuzcolroqj3wefwa.cx.internal.cloudapp.net
is_expected.to contain_apache__vhost('katello-reverse-proxy')
.with_proxy_pass([{
'path' => '/',
Expand Down
Loading