add version defaults for Debian, Ubuntu and RedHat (clones) #567
Annotations
10 errors and 10 warnings
Run tests:
spec/defines/resource_server_spec.rb#L693
nginx::resource::server on debian-11-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items server_ssl_header template content with ssl with fact nginx_version=1.14.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ / ssl on;/
Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{ ssl on;}) }
expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header] with content set to / ssl on;/ but it is set to "# MANAGED BY PUPPET\nserver {\n listen *:443 ssl;\n listen [::]:443 ssl default ipv6only=on;\n\n\n server_name www.rspec.example.com;\n\n ssl_certificate /tmp/dummy.crt;\n ssl_certificate_key /tmp/dummy.key;\n\n index index.html index.htm index.php;\n access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;\n error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;\n \n"
Diff:
@@ -1,15 +1,29 @@
-(?-mix: ssl on;)
+# MANAGED BY PUPPET
+server {
+ listen *:443 ssl;
+ listen [::]:443 ssl default ipv6only=on;
+
+
+ server_name www.rspec.example.com;
+
+ ssl_certificate /tmp/dummy.crt;
+ ssl_certificate_key /tmp/dummy.key;
+
+ index index.html index.htm index.php;
+ access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;
+ error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;
+
|
Run tests:
spec/defines/resource_server_spec.rb#L713
nginx::resource::server on debian-11-x86_64 with Facter 4.8.0 and Puppet 8.9.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] with content set to /^\s+http2\s+on;/ but it is set to "# MANAGED BY PUPPET\nserver {\n listen *:443 ssl http2;\n listen [::]:443 ssl http2 default ipv6only=on;\n\n\n server_name www.rspec.example.com;\n\n ssl_certificate /tmp/dummy.crt;\n ssl_certificate_key /tmp/dummy.key;\n\n index index.html index.htm index.php;\n access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;\n error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;\n \n"
Diff:
@@ -1,15 +1,29 @@
-(?-mix:^\s+http2\s+on;)
+# MANAGED BY PUPPET
+server {
+ listen *:443 ssl http2;
+ listen [::]:443 ssl http2 default ipv6only=on;
+
+
+ server_name www.rspec.example.com;
+
+ ssl_certificate /tmp/dummy.crt;
+ ssl_certificate_key /tmp/dummy.key;
+
+ index index.html index.htm index.php;
+ access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;
+ error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;
+
|
Run tests:
spec/defines/resource_server_spec.rb#L719
nginx::resource::server on debian-11-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items server_ssl_header template content with ssl with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+off;/
Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+off;}) }
expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header] with content set to /^\s+http2\s+off;/ but it is set to "# MANAGED BY PUPPET\nserver {\n listen *:443 ssl;\n listen [::]:443 ssl default ipv6only=on;\n\n\n server_name www.rspec.example.com;\n\n ssl_certificate /tmp/dummy.crt;\n ssl_certificate_key /tmp/dummy.key;\n\n index index.html index.htm index.php;\n access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;\n error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;\n \n"
Diff:
@@ -1,15 +1,29 @@
-(?-mix:^\s+http2\s+off;)
+# MANAGED BY PUPPET
+server {
+ listen *:443 ssl;
+ listen [::]:443 ssl default ipv6only=on;
+
+
+ server_name www.rspec.example.com;
+
+ ssl_certificate /tmp/dummy.crt;
+ ssl_certificate_key /tmp/dummy.key;
+
+ index index.html index.htm index.php;
+ access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;
+ error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;
+
|
Run tests:
spec/defines/resource_mailhost_spec.rb#L660
nginx::resource::mailhost on redhat-8-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items mailhost_ssl template content when ssl_port is 45 should set the IPv4 SSL listen port
Failure/Error: expect(lines & Array(param[:match])).to eq(Array(param[:match]))
expected: [" listen *:45 ssl;"]
got: []
(compared using ==)
|
Run tests:
spec/defines/resource_mailhost_spec.rb#L694
nginx::resource::mailhost on redhat-8-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items mailhost_ssl template content on nginx 1.16 when version comes from fact has `ssl` at end of listen directive
Failure/Error: expect(content).to include('listen *:587 ssl;')
expected "# MANAGED BY PUPPET\nserver {\n listen *:587;\n listen [::]:587 defa...iphers on;\n ssl_protocols default-protocols;\n ssl_session_timeout 5m;\n}\n" to include "listen *:587 ssl;"
Diff:
@@ -1,22 +1,43 @@
-listen *:587 ssl;
+# MANAGED BY PUPPET
+server {
+ listen *:587;
+ listen [::]:587 default ipv6only=on;
+ server_name www.rspec.example.com;
+ xclient on;
+
+ proxy_pass_error_message off;
+
+
+ ssl on;
+
+ starttls off;
+
+
+ ssl_certificate dummy.crt;
+ ssl_certificate_key dummy.key;
+ ssl_ciphers default-ciphers;
+ ssl_prefer_server_ciphers on;
+ ssl_protocols default-protocols;
+ ssl_session_timeout 5m;
+}
|
Run tests:
spec/defines/resource_server_spec.rb#L693
nginx::resource::server on debian-12-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items server_ssl_header template content with ssl with fact nginx_version=1.14.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ / ssl on;/
Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{ ssl on;}) }
expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header] with content set to / ssl on;/ but it is set to "# MANAGED BY PUPPET\nserver {\n listen *:443 ssl;\n listen [::]:443 ssl default ipv6only=on;\n\n\n server_name www.rspec.example.com;\n\n ssl_certificate /tmp/dummy.crt;\n ssl_certificate_key /tmp/dummy.key;\n\n index index.html index.htm index.php;\n access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;\n error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;\n \n"
Diff:
@@ -1,15 +1,29 @@
-(?-mix: ssl on;)
+# MANAGED BY PUPPET
+server {
+ listen *:443 ssl;
+ listen [::]:443 ssl default ipv6only=on;
+
+
+ server_name www.rspec.example.com;
+
+ ssl_certificate /tmp/dummy.crt;
+ ssl_certificate_key /tmp/dummy.key;
+
+ index index.html index.htm index.php;
+ access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;
+ error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;
+
|
Run tests:
spec/defines/resource_server_spec.rb#L713
nginx::resource::server on debian-12-x86_64 with Facter 4.8.0 and Puppet 8.9.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] with content set to /^\s+http2\s+on;/ but it is set to "# MANAGED BY PUPPET\nserver {\n listen *:443 ssl http2;\n listen [::]:443 ssl http2 default ipv6only=on;\n\n\n server_name www.rspec.example.com;\n\n ssl_certificate /tmp/dummy.crt;\n ssl_certificate_key /tmp/dummy.key;\n\n index index.html index.htm index.php;\n access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;\n error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;\n \n"
Diff:
@@ -1,15 +1,29 @@
-(?-mix:^\s+http2\s+on;)
+# MANAGED BY PUPPET
+server {
+ listen *:443 ssl http2;
+ listen [::]:443 ssl http2 default ipv6only=on;
+
+
+ server_name www.rspec.example.com;
+
+ ssl_certificate /tmp/dummy.crt;
+ ssl_certificate_key /tmp/dummy.key;
+
+ index index.html index.htm index.php;
+ access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;
+ error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;
+
|
Run tests:
spec/defines/resource_server_spec.rb#L719
nginx::resource::server on debian-12-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items server_ssl_header template content with ssl with fact nginx_version=1.25.1 is expected to contain Concat::Fragment[www.rspec.example.com-ssl-header] with content =~ /^\s+http2\s+off;/
Failure/Error: it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{^\s+http2\s+off;}) }
expected that the catalogue would contain Concat::Fragment[www.rspec.example.com-ssl-header] with content set to /^\s+http2\s+off;/ but it is set to "# MANAGED BY PUPPET\nserver {\n listen *:443 ssl;\n listen [::]:443 ssl default ipv6only=on;\n\n\n server_name www.rspec.example.com;\n\n ssl_certificate /tmp/dummy.crt;\n ssl_certificate_key /tmp/dummy.key;\n\n index index.html index.htm index.php;\n access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;\n error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;\n \n"
Diff:
@@ -1,15 +1,29 @@
-(?-mix:^\s+http2\s+off;)
+# MANAGED BY PUPPET
+server {
+ listen *:443 ssl;
+ listen [::]:443 ssl default ipv6only=on;
+
+
+ server_name www.rspec.example.com;
+
+ ssl_certificate /tmp/dummy.crt;
+ ssl_certificate_key /tmp/dummy.key;
+
+ index index.html index.htm index.php;
+ access_log /var/log/nginx/ssl-www.rspec.example.com.access.log;
+ error_log /var/log/nginx/ssl-www.rspec.example.com.error.log;
+
|
Run tests:
spec/defines/resource_mailhost_spec.rb#L660
nginx::resource::mailhost on rocky-8-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items mailhost_ssl template content when ssl_port is 45 should set the IPv4 SSL listen port
Failure/Error: expect(lines & Array(param[:match])).to eq(Array(param[:match]))
expected: [" listen *:45 ssl;"]
got: []
(compared using ==)
|
Run tests:
spec/defines/resource_mailhost_spec.rb#L694
nginx::resource::mailhost on rocky-8-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items mailhost_ssl template content on nginx 1.16 when version comes from fact has `ssl` at end of listen directive
Failure/Error: expect(content).to include('listen *:587 ssl;')
expected "# MANAGED BY PUPPET\nserver {\n listen *:587;\n listen [::]:587 defa...iphers on;\n ssl_protocols default-protocols;\n ssl_session_timeout 5m;\n}\n" to include "listen *:587 ssl;"
Diff:
@@ -1,22 +1,43 @@
-listen *:587 ssl;
+# MANAGED BY PUPPET
+server {
+ listen *:587;
+ listen [::]:587 default ipv6only=on;
+ server_name www.rspec.example.com;
+ xclient on;
+
+ proxy_pass_error_message off;
+
+
+ ssl on;
+
+ starttls off;
+
+
+ ssl_certificate dummy.crt;
+ ssl_certificate_key dummy.key;
+ ssl_ciphers default-ciphers;
+ ssl_prefer_server_ciphers on;
+ ssl_protocols default-protocols;
+ ssl_session_timeout 5m;
+}
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on debian-11-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on debian-12-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on redhat-8-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on redhat-9-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on rocky-8-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on rocky-9-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on almalinux-8-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on almalinux-9-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on oraclelinux-8-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Run tests:
spec/defines/resource_server_spec.rb#L1475
nginx::resource::server on oraclelinux-9-x86_64 with Facter 4.8.0 and Puppet 8.9.0 os-independent items attribute resources when listen_port == ssl_port but ssl = false Testing for warnings not yet implemented in classes
Skipped: Not yet implemented
|
Loading