Add http2
directive instead of listen
option
#390
Annotations
10 errors
Run tests:
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_133433589.pp.MlQzDB
Last 10 lines of output were:
Oct 17 13:34:50 centos8-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server...
Oct 17 13:34:50 centos8-64-puppet8.example.com nginx[4567]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21
Oct 17 13:34:50 centos8-64-puppet8.example.com nginx[4567]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 17 13:34:50 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 11.43 seconds
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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_133451441.pp.8AWXQ4
Last 10 lines of output were:
Oct 17 13:34:49 centos8-64-puppet8.example.com systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive.
Oct 17 13:34:50 centos8-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server...
Oct 17 13:34:50 centos8-64-puppet8.example.com nginx[4567]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21
Oct 17 13:34:50 centos8-64-puppet8.example.com nginx[4567]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 17 13:34:50 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.54 seconds
|
Run tests:
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
|
Run tests:
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