Add http2
directive instead of listen
option
#412
Annotations
10 errors
spec/acceptance/nginx_server_spec.rb#L62
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-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084422018.pp.2eSYwU
Last 10 lines of output were:
Oct 23 08:44:33 centos8-64-puppet7.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server...
Oct 23 08:44:33 centos8-64-puppet7.example.com nginx[4561]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21
Oct 23 08:44:33 centos8-64-puppet7.example.com nginx[4561]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 23 08:44:33 centos8-64-puppet7.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 9.71 seconds
|
spec/acceptance/nginx_server_spec.rb#L102
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-puppet7.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#L108
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-puppet7.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#L114
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-puppet7.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#L121
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-puppet7.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#L95
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#L99
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#L130
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-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084434883.pp.p6fiMS
Last 10 lines of output were:
Oct 23 08:44:33 centos8-64-puppet7.example.com systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive.
Oct 23 08:44:33 centos8-64-puppet7.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server...
Oct 23 08:44:33 centos8-64-puppet7.example.com nginx[4561]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21
Oct 23 08:44:33 centos8-64-puppet7.example.com nginx[4561]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 23 08:44:33 centos8-64-puppet7.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 2.49 seconds
|
spec/acceptance/nginx_server_spec.rb#L168
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-puppet7.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 --:--:-- --:--:-- --:--:-- 0
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#L175
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-puppet7.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