Add http2
directive instead of listen
option
#401
Annotations
3 errors
spec/acceptance/nginx_server_spec.rb#L7
nginx::resource::server define: new server on port 80 configures a nginx server
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091157496.pp.NEMPcJ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Error: Could not parse for environment production: Syntax error at '}' (file: /tmp/apply_manifest_091157496.pp.NEMPcJ, line: 15, column: 38) on node centos9-64-puppet7.example.com
|
spec/acceptance/nginx_server_spec.rb#L45
nginx::resource::server define: new server on port 80 answers to www.puppetlabs.com and responds with "Hello from www"
Failure/Error: expect(r.stdout).to eq("Hello from www\n")
expected: "Hello from www\n"
got: "<html>\n<head><title>301 Moved Permanently</title></head>\n<body>\n<center><h1>301 Moved Permanently</h1></center>\n<hr><center>nginx/1.22.1</center>\n</body>\n</html>\n"
(compared using ==)
Diff:
@@ -1,7 +1,13 @@
-Hello from www
+<html>
+<head><title>301 Moved Permanently</title></head>
+<body>
+<center><h1>301 Moved Permanently</h1></center>
+<hr><center>nginx/1.22.1</center>
+</body>
+</html>
|
|
The logs for this run have expired and are no longer available.
Loading