Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Debian 10 #1595

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3080,7 +3080,7 @@ Create a new mapping entry for NGINX
nginx::resource::map { 'backend_pool':
ensure => present,
hostnames => true,
default => 'ny-pool-1,
default => 'ny-pool-1',
string => '$http_host',
mappings => {
'*.nyc.example.com' => 'ny-pool-1',
Expand Down
1 change: 0 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
]
},
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
pkg_cmd = 'dpkg -s nginx | grep ^Maintainer'
pkg_remove_cmd = 'apt-get -y purge nginx nginx-common'
pkg_match = case fact('operatingsystemmajrelease')
when '10', '11'
when '11'
%r{Debian Nginx Maintainers}
when '18.04', '20.04', '22.04'
%r{Ubuntu Developers}
Expand Down
20 changes: 16 additions & 4 deletions spec/acceptance/nginx_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
ensure => present,
www_root => '/var/www/www.puppetlabs.com',
}
host { 'www.puppetlabs.com': ip => '127.0.0.1', }
file_line {'mock hosts':
path => '/etc/hosts',
line => '127.0.0.1 www.puppetlabs.com'
}
TheMeier marked this conversation as resolved.
Show resolved Hide resolved
file { ['/var/www','/var/www/www.puppetlabs.com']: ensure => directory }
file { '/var/www/www.puppetlabs.com/index.html': ensure => file, content => 'Hello from www\n', }
"
Expand Down Expand Up @@ -55,7 +58,7 @@
shell('yum -y remove nginx nginx-filesystem passenger')
end

it 'configures a nginx SSL server' do

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

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 'almalinux8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145237257.tcm70I.pp Last 10 lines of output were: May 28 14:52:41 almalinux8-64-puppet8.example.com nginx[4132]: nginx: [emerg] unknown directive "ssl" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:25 May 28 14:52:41 almalinux8-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 May 28 14:52:41 almalinux8-64-puppet8.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. May 28 14:52:41 almalinux8-64-puppet8.example.com systemd[1]: Failed to start nginx - high performance web server. �[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 2.18 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

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 'almalinux9-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145237481.hXw6wc.pp Last 10 lines of output were: May 28 14:52:27 almalinux9-64-puppet8.example.com nginx[3882]: nginx: configuration file /etc/nginx/nginx.conf test is successful May 28 14:52:27 almalinux9-64-puppet8.example.com systemd[1]: Started The nginx HTTP and reverse proxy server. May 28 14:52:29 almalinux9-64-puppet8.example.com systemd[1]: Stopping The nginx HTTP and reverse proxy server... May 28 14:52:29 almalinux9-64-puppet8.example.com systemd[1]: nginx.service: Deactivated successfully. �[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 2.88 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

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 'almalinux9-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145238204.SHnZ5H.pp Last 10 lines of output were: May 28 14:52:28 almalinux9-64-puppet7.example.com nginx[3894]: nginx: configuration file /etc/nginx/nginx.conf test is successful May 28 14:52:28 almalinux9-64-puppet7.example.com systemd[1]: Started The nginx HTTP and reverse proxy server. May 28 14:52:30 almalinux9-64-puppet7.example.com systemd[1]: Stopping The nginx HTTP and reverse proxy server... May 28 14:52:31 almalinux9-64-puppet7.example.com systemd[1]: nginx.service: Deactivated successfully. �[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 3.47 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

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 'centos9-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145246238.p6623Y.pp Last 10 lines of output were: May 28 14:52:36 centos9-64-puppet7.example.com nginx[3332]: nginx: configuration file /etc/nginx/nginx.conf test is successful May 28 14:52:36 centos9-64-puppet7.example.com systemd[1]: Started The nginx HTTP and reverse proxy server. May 28 14:52:38 centos9-64-puppet7.example.com systemd[1]: Stopping The nginx HTTP and reverse proxy server... May 28 14:52:38 centos9-64-puppet7.example.com systemd[1]: nginx.service: Deactivated successfully. �[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 2.61 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

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 'centos9-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145247469.m7jzPJ.pp Last 10 lines of output were: May 28 14:52:37 centos9-64-puppet8.example.com nginx[3320]: nginx: configuration file /etc/nginx/nginx.conf test is successful May 28 14:52:37 centos9-64-puppet8.example.com systemd[1]: Started The nginx HTTP and reverse proxy server. May 28 14:52:39 centos9-64-puppet8.example.com systemd[1]: Stopping The nginx HTTP and reverse proxy server... May 28 14:52:39 centos9-64-puppet8.example.com systemd[1]: nginx.service: Deactivated successfully. �[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 2.58 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

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 'rocky8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145247418.Ta6pOn.pp Last 10 lines of output were: May 28 14:52:51 rocky8-64-puppet7.example.com nginx[3839]: nginx: [emerg] unknown directive "ssl" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:25 May 28 14:52:51 rocky8-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 May 28 14:52:51 rocky8-64-puppet7.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. May 28 14:52:51 rocky8-64-puppet7.example.com systemd[1]: Failed to start nginx - high performance web server. �[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 2.64 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

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 'almalinux8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145248401.cpDXnL.pp Last 10 lines of output were: May 28 14:52:52 almalinux8-64-puppet7.example.com nginx[4147]: nginx: [emerg] unknown directive "ssl" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:25 May 28 14:52:52 almalinux8-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 May 28 14:52:52 almalinux8-64-puppet7.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. May 28 14:52:52 almalinux8-64-puppet7.example.com systemd[1]: Failed to start nginx - high performance web server. �[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 2.73 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

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 'rocky9-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145249433.uoI7Ht.pp Last 10 lines of output were: May 28 14:52:39 rocky9-64-puppet7.example.com nginx[3653]: nginx: configuration file /etc/nginx/nginx.conf test is successful May 28 14:52:39 rocky9-64-puppet7.example.com systemd[1]: Started The nginx HTTP and reverse proxy server. May 28 14:52:41 rocky9-64-puppet7.example.com systemd[1]: Stopping The nginx HTTP and reverse proxy server... May 28 14:52:41 rocky9-64-puppet7.example.com systemd[1]: nginx.service: Deactivated successfully. �[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 2.75 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

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 'rocky8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145250011.VsEUTv.pp Last 10 lines of output were: May 28 14:52:54 rocky8-64-puppet8.example.com nginx[3824]: nginx: [emerg] unknown directive "ssl" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:25 May 28 14:52:54 rocky8-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 May 28 14:52:54 rocky8-64-puppet8.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. May 28 14:52:54 rocky8-64-puppet8.example.com systemd[1]: Failed to start nginx - high performance web server. �[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 2.39 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

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 'rocky9-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145252665.xvuL0h.pp Last 10 lines of output were: May 28 14:52:41 rocky9-64-puppet8.example.com nginx[3641]: nginx: configuration file /etc/nginx/nginx.conf test is successful May 28 14:52:41 rocky9-64-puppet8.example.com systemd[1]: Started The nginx HTTP and reverse proxy server. May 28 14:52:44 rocky9-64-puppet8.example.com systemd[1]: Stopping The nginx HTTP and reverse proxy server... May 28 14:52:44 rocky9-64-puppet8.example.com systemd[1]: nginx.service: Deactivated successfully. �[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 2.87 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

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 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145315000.mDprvq.pp Last 10 lines of output were: May 28 14:53:07 centos7-64-puppet7.example.com systemd[1]: Started The nginx HTTP and reverse proxy server. May 28 14:53:09 centos7-64-puppet7.example.com systemd[1]: Stopping The nginx HTTP and reverse proxy server... May 28 14:53:09 centos7-64-puppet7.example.com systemd[1]: Stopped The nginx HTTP and reverse proxy server. May 28 14:53:09 centos7-64-puppet7.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... �[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 3.99 seconds

Check failure on line 61 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

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 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145333879.Jvf9wk.pp Last 10 lines of output were: May 28 14:53:25 centos7-64-puppet8.example.com systemd[1]: Started The nginx HTTP and reverse proxy server. May 28 14:53:28 centos7-64-puppet8.example.com systemd[1]: Stopping The nginx HTTP and reverse proxy server... May 28 14:53:28 centos7-64-puppet8.example.com systemd[1]: Stopped The nginx HTTP and reverse proxy server. May 28 14:53:28 centos7-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... �[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 5.81 seconds
pp = "
class { 'nginx': }
nginx::resource::server { 'www.puppetlabs.com':
Expand All @@ -65,7 +68,10 @@
ssl_key => '/etc/pki/tls/private/blah.key',
www_root => '/var/www/www.puppetlabs.com',
}
host { 'www.puppetlabs.com': ip => '127.0.0.1', }
file_line {'mock hosts':
path => '/etc/hosts',
line => '127.0.0.1 www.puppetlabs.com'
}
file { ['/var/www','/var/www/www.puppetlabs.com']: ensure => directory }
file { '/var/www/www.puppetlabs.com/index.html': ensure => file, content => 'Hello from www\n', }
"
Expand All @@ -84,33 +90,33 @@
end

describe service('nginx') do
it { is_expected.to be_running }

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

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

Check failure on line 93 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

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
end

describe port(443) do
it { is_expected.to be_listening }

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

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

Check failure on line 97 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

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
end

it 'answers to http://www.puppetlabs.com with "Hello from www"' do

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

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 'almalinux8-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

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

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 'almalinux9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

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 'almalinux9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

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 'centos9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

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 'centos9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

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 'rocky8-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

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

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 'almalinux8-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

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

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 'rocky9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

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 'rocky8-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

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

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 'rocky9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

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 'centos7-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 connect to www.puppetlabs.com:80; Connection refused

Check failure on line 100 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

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 'centos7-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 connect to www.puppetlabs.com:80; Connection refused
shell('/usr/bin/curl http://www.puppetlabs.com:80') do |r|
expect(r.stdout).to eq("Hello from www\n")
end
end

it 'answers to http://www.puppetlabs.com without error' do

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

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 'almalinux8-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

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

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 'almalinux9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

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 'almalinux9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

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 'centos9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

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 'centos9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

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 'rocky8-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

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

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 'almalinux8-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

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

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 'rocky9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

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 'rocky8-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

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

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 'rocky9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

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 'centos7-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 connect to www.puppetlabs.com:80; Connection refused

Check failure on line 106 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

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 'centos7-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 connect to www.puppetlabs.com:80; Connection refused
shell('/usr/bin/curl --fail http://www.puppetlabs.com:80') do |r|
expect(r.exit_code).to eq(0)
end
end

it 'answers to https://www.puppetlabs.com with "Hello from www"' do

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

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 'almalinux8-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

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

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 'almalinux9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

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 'almalinux9-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 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

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 'centos9-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 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

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 'centos9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

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 'rocky8-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

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

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 'almalinux8-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

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

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 'rocky9-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 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

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 'rocky8-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

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

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 'rocky9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

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 'centos7-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 connect to www.puppetlabs.com:443; Connection refused

Check failure on line 112 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

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 'centos7-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 connect to www.puppetlabs.com:443; Connection refused
# use --insecure because it's a self-signed cert
shell('/usr/bin/curl --insecure https://www.puppetlabs.com:443') do |r|
expect(r.stdout).to eq("Hello from www\n")
end
end

it 'answers to https://www.puppetlabs.com without error' do

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

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 'almalinux8-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

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

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 'almalinux9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

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 'almalinux9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

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 'centos9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

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 'centos9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

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 'rocky8-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

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

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 'almalinux8-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

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

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 'rocky9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

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 'rocky8-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

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

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 'rocky9-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 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

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 'centos7-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 connect to www.puppetlabs.com:443; Connection refused

Check failure on line 119 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

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 'centos7-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 connect to www.puppetlabs.com:443; Connection refused
# use --insecure because it's a self-signed cert
shell('/usr/bin/curl --fail --insecure https://www.puppetlabs.com:443') do |r|
expect(r.exit_code).to eq(0)
Expand All @@ -131,7 +137,10 @@
ssl_password_file => '/etc/pki/tls/private/crypted.pass',
www_root => '/var/www/www.puppetlabs.com',
}
host { 'www.puppetlabs.com': ip => '127.0.0.1', }
file_line {'mock hosts':
path => '/etc/hosts',
line => '127.0.0.1 www.puppetlabs.com'
}
file { ['/var/www','/var/www/www.puppetlabs.com']: ensure => directory }
file { '/var/www/www.puppetlabs.com/index.html': ensure => file, content => 'Hello from www\n', }
"
Expand Down Expand Up @@ -187,7 +196,10 @@
ssl => false,
server => ['www.puppetlabs.com'],
}
host { 'www.puppetlabs.com': ip => '127.0.0.1', }
file_line {'mock hosts':
path => '/etc/hosts',
line => '127.0.0.1 www.puppetlabs.com'
}
file { ['/var/www','/var/www/www.puppetlabs.com','/var/www/letsencrypt','/var/www/letsencrypt/.well-known','/var/www/letsencrypt/.well-known/acme-challenge']: ensure => directory }
file { '/var/www/www.puppetlabs.com/index.html': ensure => file, content => 'Hello from www\n', }
file { '/var/www/letsencrypt/.well-known/acme-challenge/fb9bd98604be3d0c7d589fcc7561cb41': ensure => file, content => 'LetsEncrypt\n', }
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/nginx_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@

it { is_expected.to contain_package('nginx') }

if (facts.dig(:os, 'name') == 'Debian' && %w[10 11].include?(facts.dig(:os, 'release', 'major'))) ||
if (facts.dig(:os, 'name') == 'Debian' && %w[11].include?(facts.dig(:os, 'release', 'major'))) ||
(facts.dig(:os, 'name') == 'Ubuntu' && %w[bionic focal jammy].include?(facts.dig(:os, 'distro', 'codename')))
Comment on lines +193 to 194
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These all look like modern versions. Is there anything that still uses plain passenger or can it be simplified to just facts.dig(:os, 'family') == 'Debian'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because of the broken tests I would adress that in #1596 where all tests will be functional again

it { is_expected.to contain_package('libnginx-mod-http-passenger') }
else
Expand Down
Loading