Skip to content

Commit

Permalink
http2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
C24-AK committed Nov 1, 2023
1 parent 3629842 commit 541f766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/defines/resource_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -695,13 +695,13 @@
)
end

it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{\s*http2\s+on;}) }
it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) }

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on virtuozzolinux-7-x86_64 with Facter 3.14.5 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on almalinux-8-x86_64 with Facter 4.2.5 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on almalinux-9-x86_64 with Facter 4.2.10 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on archlinux-rolling-x86_64 with Facter 4.2.9 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on centos-7-x86_64 with Facter 4.2.2 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on centos-8-x86_64 with Facter 4.2.2 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on centos-9-x86_64 with Facter 4.2.2 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on debian-10-x86_64 with Facter 4.2.2 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on debian-11-x86_64 with Facter 4.2.5 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

nginx::resource::server on redhat-7-x86_64 with Facter 4.2.13 and Puppet 8.2.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on virtuozzolinux-7-x86_64 with Facter 3.14.5 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on almalinux-8-x86_64 with Facter 4.2.5 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on almalinux-9-x86_64 with Facter 4.2.10 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on archlinux-rolling-x86_64 with Facter 4.2.9 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on centos-7-x86_64 with Facter 4.2.2 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on centos-8-x86_64 with Facter 4.2.2 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on centos-9-x86_64 with Facter 4.2.2 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on debian-10-x86_64 with Facter 4.2.2 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on debian-11-x86_64 with Facter 4.2.5 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]

Check failure on line 698 in spec/defines/resource_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

nginx::resource::server on redhat-7-x86_64 with Facter 4.2.13 and Puppet 7.26.0 os-independent items server_ssl_header template content with ssl http2 on with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+on;/ Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+on;}) } expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header]
end

context 'with fact nginx_version=1.25.1' do
let(:facts) { facts.merge(nginx_version: '1.25.1') }

it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{\s*http2\s+off;}) }
it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+off;}) }
end

context 'with ssl cert and key definitions' do
Expand Down

0 comments on commit 541f766

Please sign in to comment.