Add http2
directive instead of listen
option
#439
Annotations
10 errors
spec/acceptance/nginx_server_spec.rb#L58
nginx::resource::server define: should run successfully with ssl configures a nginx SSL server
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_071546283.pp.MFOPPR
Last 10 lines of output were:
Nov 06 07:16:06 centos8-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server...
Nov 06 07:16:06 centos8-64-puppet8.example.com nginx[4881]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21
Nov 06 07:16:06 centos8-64-puppet8.example.com nginx[4881]: nginx: configuration file /etc/nginx/nginx.conf test failed
Nov 06 07:16:06 centos8-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1
�[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event
Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service]
Info: Class[Nginx]: Unscheduling all events on Class[Nginx]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 14.65 seconds
|
spec/acceptance/nginx_server_spec.rb#L94
nginx::resource::server define: should run successfully with ssl answers to http://www.puppetlabs.com with "Hello from www"
Failure/Error:
shell('/usr/bin/curl http://www.puppetlabs.com:80') do |r|
expect(r.stdout).to eq("Hello from www\n")
end
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl http://www.puppetlabs.com:80
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L100
nginx::resource::server define: should run successfully with ssl answers to http://www.puppetlabs.com without error
Failure/Error:
shell('/usr/bin/curl --fail http://www.puppetlabs.com:80') do |r|
expect(r.exit_code).to eq(0)
end
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --fail http://www.puppetlabs.com:80
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L106
nginx::resource::server define: should run successfully with ssl answers to https://www.puppetlabs.com with "Hello from www"
Failure/Error:
shell('/usr/bin/curl --insecure https://www.puppetlabs.com:443') do |r|
expect(r.stdout).to eq("Hello from www\n")
end
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --insecure https://www.puppetlabs.com:443
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L113
nginx::resource::server define: should run successfully with ssl answers to https://www.puppetlabs.com without error
Failure/Error:
shell('/usr/bin/curl --fail --insecure https://www.puppetlabs.com:443') do |r|
expect(r.exit_code).to eq(0)
end
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --fail --insecure https://www.puppetlabs.com:443
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L87
nginx::resource::server define: should run successfully with ssl Service "nginx" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "nginx" to be running
|
spec/acceptance/nginx_server_spec.rb#L91
nginx::resource::server define: should run successfully with ssl Port "443" is expected to be listening
Failure/Error: it { is_expected.to be_listening }
expected Port "443" to be listening
|
spec/acceptance/nginx_server_spec.rb#L122
nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_071607421.pp.Ig1t4v
Last 10 lines of output were:
Nov 06 07:16:05 centos8-64-puppet8.example.com systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive.
Nov 06 07:16:06 centos8-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server...
Nov 06 07:16:06 centos8-64-puppet8.example.com nginx[4881]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21
Nov 06 07:16:06 centos8-64-puppet8.example.com nginx[4881]: nginx: configuration file /etc/nginx/nginx.conf test failed
Nov 06 07:16:06 centos8-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1
�[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event
Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 0.46 seconds
|
spec/acceptance/nginx_server_spec.rb#L156
nginx::resource::server define: should run successfully with encrypted ssl key answers to https://www.puppetlabs.com with "Hello from www"
Failure/Error:
shell('/usr/bin/curl --insecure https://www.puppetlabs.com:443') do |r|
expect(r.stdout).to eq("Hello from www\n")
end
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --insecure https://www.puppetlabs.com:443
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L163
nginx::resource::server define: should run successfully with encrypted ssl key answers to https://www.puppetlabs.com without error
Failure/Error:
shell('/usr/bin/curl --fail --insecure https://www.puppetlabs.com:443') do |r|
expect(r.exit_code).to eq(0)
end
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --fail --insecure https://www.puppetlabs.com:443
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused
|
The logs for this run have expired and are no longer available.
Loading