Skip to content

Commit

Permalink
set package to altest
Browse files Browse the repository at this point in the history
  • Loading branch information
C24-AK committed Oct 23, 2023
1 parent a3569d7 commit 974a4a7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
5 changes: 0 additions & 5 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,3 @@ RSpec/RepeatedExampleGroupBody:
Style/SelectByRegexp:
Exclude:
- 'spec/defines/resource_location_spec.rb'

Style/RedundantStringEscape:
Exclude:
- 'spec/acceptance/nginx_server_spec.rb'
- 'spec/acceptance/nginx_mail_spec.rb'
2 changes: 1 addition & 1 deletion spec/acceptance/nginx_location_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
it 'runs successfully' do
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => latest,
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down
3 changes: 1 addition & 2 deletions spec/acceptance/nginx_mail_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
class { 'nginx':
mail => true,
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",
package_ensure => latest,
package_source => 'nginx-mainline',
manage_repo => true,
dynamic_modules => fact('os.family') ? {
Expand Down
12 changes: 4 additions & 8 deletions spec/acceptance/nginx_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
it 'configures a nginx server' do

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

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Rocky 9

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true, trace: true, debug: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet7.example.com' exited with 6 running: puppet apply --debug --trace --detailed-exitcodes /tmp/apply_manifest_084335496.pp.XdQH0A Last 10 lines of output were: Debug: Stage[main]: Resource is being skipped, unscheduling all events Debug: Finishing transaction 17600 Debug: Storing state Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.01 seconds �[mNotice: Applied catalog in 2.11 seconds Debug: Applying settings catalog for sections reporting, metrics Debug: Finishing transaction 28640 Debug: Received report to process from rocky9-64-puppet7.example.com Debug: Processing report from rocky9-64-puppet7.example.com with processor Puppet::Reports::Store

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

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 9

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true, trace: true, debug: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 6 running: puppet apply --debug --trace --detailed-exitcodes /tmp/apply_manifest_084339471.pp.pBcVqU Last 10 lines of output were: Debug: Stage[main]: Resource is being skipped, unscheduling all events Debug: Finishing transaction 17600 Debug: Storing state Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.01 seconds �[mNotice: Applied catalog in 2.19 seconds Debug: Applying settings catalog for sections reporting, metrics Debug: Finishing transaction 28640 Debug: Received report to process from centos9-64-puppet7.example.com Debug: Processing report from centos9-64-puppet7.example.com with processor Puppet::Reports::Store

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

View workflow job for this annotation

GitHub Actions / Puppet / 7 - AlmaLinux 9

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true, trace: true, debug: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet7.example.com' exited with 6 running: puppet apply --debug --trace --detailed-exitcodes /tmp/apply_manifest_084335180.pp.Bjcy98 Last 10 lines of output were: Debug: Stage[main]: Resource is being skipped, unscheduling all events Debug: Finishing transaction 17600 Debug: Storing state Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.01 seconds �[mNotice: Applied catalog in 2.53 seconds Debug: Applying settings catalog for sections reporting, metrics Debug: Finishing transaction 28640 Debug: Received report to process from almalinux9-64-puppet7.example.com Debug: Processing report from almalinux9-64-puppet7.example.com with processor Puppet::Reports::Store

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

View workflow job for this annotation

GitHub Actions / Puppet / 8 - CentOS 9

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true, trace: true, debug: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 6 running: puppet apply --debug --trace --detailed-exitcodes /tmp/apply_manifest_084355060.pp.P0t7c9 Last 10 lines of output were: Debug: Stage[main]: Resource is being skipped, unscheduling all events Debug: Finishing transaction 17560 Debug: Storing state Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.01 seconds �[mNotice: Applied catalog in 2.14 seconds Debug: Applying settings catalog for sections reporting, metrics Debug: Finishing transaction 28580 Debug: Received report to process from centos9-64-puppet8.example.com Debug: Processing report from centos9-64-puppet8.example.com with processor Puppet::Reports::Store

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

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Rocky 9

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true, trace: true, debug: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet8.example.com' exited with 6 running: puppet apply --debug --trace --detailed-exitcodes /tmp/apply_manifest_084358230.pp.0DP9sX Last 10 lines of output were: Debug: Stage[main]: Resource is being skipped, unscheduling all events Debug: Finishing transaction 17560 Debug: Storing state Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.01 seconds �[mNotice: Applied catalog in 2.26 seconds Debug: Applying settings catalog for sections reporting, metrics Debug: Finishing transaction 28560 Debug: Received report to process from rocky9-64-puppet8.example.com Debug: Processing report from rocky9-64-puppet8.example.com with processor Puppet::Reports::Store

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

View workflow job for this annotation

GitHub Actions / Puppet / 8 - AlmaLinux 9

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true, trace: true, debug: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet8.example.com' exited with 6 running: puppet apply --debug --trace --detailed-exitcodes /tmp/apply_manifest_084402884.pp.VDbnBA Last 10 lines of output were: Debug: Stage[main]: Resource is being skipped, unscheduling all events Debug: Finishing transaction 17560 Debug: Storing state Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.01 seconds �[mNotice: Applied catalog in 2.40 seconds Debug: Applying settings catalog for sections reporting, metrics Debug: Finishing transaction 28560 Debug: Received report to process from almalinux9-64-puppet8.example.com Debug: Processing report from almalinux9-64-puppet8.example.com with processor Puppet::Reports::Store

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

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 7

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true, trace: true, debug: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --debug --trace --detailed-exitcodes /tmp/apply_manifest_084449675.pp.TApahR Last 10 lines of output were: Debug: Stage[main]: Resource is being skipped, unscheduling all events Debug: Finishing transaction 17600 Debug: Storing state Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.01 seconds �[mNotice: Applied catalog in 9.82 seconds Debug: Applying settings catalog for sections reporting, metrics Debug: Finishing transaction 28740 Debug: Received report to process from centos7-64-puppet7.example.com Debug: Processing report from centos7-64-puppet7.example.com with processor Puppet::Reports::Store

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

View workflow job for this annotation

GitHub Actions / Puppet / 8 - CentOS 7

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true, trace: true, debug: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --debug --trace --detailed-exitcodes /tmp/apply_manifest_084515466.pp.1z44pK Last 10 lines of output were: Debug: Stage[main]: Resource is being skipped, unscheduling all events Debug: Finishing transaction 17560 Debug: Storing state Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.01 seconds �[mNotice: Applied catalog in 9.71 seconds Debug: Applying settings catalog for sections reporting, metrics Debug: Finishing transaction 28660 Debug: Received report to process from centos7-64-puppet8.example.com Debug: Processing report from centos7-64-puppet8.example.com with processor Puppet::Reports::Store
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",
package_ensure => latest,
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down Expand Up @@ -63,8 +62,7 @@ class { 'nginx':
it 'configures a nginx SSL server' do

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

View workflow job for this annotation

GitHub Actions / 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_084341464.pp.v6LEpZ Last 10 lines of output were: Oct 23 08:43:34 rocky9-64-puppet7.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 23 08:43:34 rocky9-64-puppet7.example.com nginx[3939]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok Oct 23 08:43:34 rocky9-64-puppet7.example.com nginx[3939]: nginx: configuration file /etc/nginx/nginx.conf test is successful Oct 23 08:43:34 rocky9-64-puppet7.example.com systemd[1]: Started 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 2.89 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084345505.pp.7gyWzS Last 10 lines of output were: Oct 23 08:43:38 centos9-64-puppet7.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 23 08:43:38 centos9-64-puppet7.example.com nginx[3555]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok Oct 23 08:43:38 centos9-64-puppet7.example.com nginx[3555]: nginx: configuration file /etc/nginx/nginx.conf test is successful Oct 23 08:43:38 centos9-64-puppet7.example.com systemd[1]: Started 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.33 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084342213.pp.DAGB4Z Last 10 lines of output were: Oct 23 08:43:34 almalinux9-64-puppet7.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 23 08:43:34 almalinux9-64-puppet7.example.com nginx[4254]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok Oct 23 08:43:34 almalinux9-64-puppet7.example.com nginx[4254]: nginx: configuration file /etc/nginx/nginx.conf test is successful Oct 23 08:43:34 almalinux9-64-puppet7.example.com systemd[1]: Started 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.51 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084349177.pp.PeuxG1 Last 10 lines of output were: Oct 23 08:43:55 almalinux8-64-puppet7.example.com nginx[4331]: nginx: [emerg] unknown directive "ssl" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:26 Oct 23 08:43:55 almalinux8-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 Oct 23 08:43:55 almalinux8-64-puppet7.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 23 08:43:55 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 3.20 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084355141.pp.56SbvM Last 10 lines of output were: Oct 23 08:44:02 rocky8-64-puppet8.example.com nginx[3967]: nginx: [emerg] unknown directive "ssl" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:26 Oct 23 08:44:02 rocky8-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 Oct 23 08:44:02 rocky8-64-puppet8.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 23 08:44:02 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.92 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084402807.pp.lcKVmR Last 10 lines of output were: Oct 23 08:43:54 centos9-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 23 08:43:54 centos9-64-puppet8.example.com nginx[3516]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok Oct 23 08:43:54 centos9-64-puppet8.example.com nginx[3516]: nginx: configuration file /etc/nginx/nginx.conf test is successful Oct 23 08:43:54 centos9-64-puppet8.example.com systemd[1]: Started 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 2.70 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084410320.pp.ZRyRyc Last 10 lines of output were: Oct 23 08:44:16 rocky8-64-puppet7.example.com nginx[3975]: nginx: [emerg] unknown directive "ssl" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:26 Oct 23 08:44:16 rocky8-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 Oct 23 08:44:16 rocky8-64-puppet7.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 23 08:44:16 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 3.44 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084407297.pp.zWnfwz Last 10 lines of output were: Oct 23 08:43:57 rocky9-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 23 08:43:57 rocky9-64-puppet8.example.com nginx[3898]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok Oct 23 08:43:57 rocky9-64-puppet8.example.com nginx[3898]: nginx: configuration file /etc/nginx/nginx.conf test is successful Oct 23 08:43:57 rocky9-64-puppet8.example.com systemd[1]: Started 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 2.89 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084412048.pp.nQxlVg Last 10 lines of output were: Oct 23 08:44:20 almalinux8-64-puppet8.example.com nginx[4209]: nginx: [emerg] unknown directive "ssl" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:26 Oct 23 08:44:20 almalinux8-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 Oct 23 08:44:20 almalinux8-64-puppet8.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 23 08:44:20 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 3.21 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084411759.pp.e7h4CL Last 10 lines of output were: Oct 23 08:44:02 almalinux9-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 23 08:44:02 almalinux9-64-puppet8.example.com nginx[4214]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok Oct 23 08:44:02 almalinux9-64-puppet8.example.com nginx[4214]: nginx: configuration file /etc/nginx/nginx.conf test is successful Oct 23 08:44:02 almalinux9-64-puppet8.example.com systemd[1]: Started 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.61 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 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 '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

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

View workflow job for this annotation

GitHub Actions / Puppet / 8 - CentOS 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 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084444876.pp.JS49cJ Last 10 lines of output were: Oct 23 08:44:58 centos8-64-puppet8.example.com systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive. Oct 23 08:44:59 centos8-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 23 08:44:59 centos8-64-puppet8.example.com nginx[4506]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 23 08:44:59 centos8-64-puppet8.example.com nginx[4506]: nginx: configuration file /etc/nginx/nginx.conf test failed �[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 10.20 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084503973.pp.ZHwkos Last 10 lines of output were: Oct 23 08:45:13 centos7-64-puppet7.example.com systemd[1]: nginx.service: control process exited, code=exited status=1 Oct 23 08:45:13 centos7-64-puppet7.example.com systemd[1]: Failed to start nginx - high performance web server. Oct 23 08:45:13 centos7-64-puppet7.example.com systemd[1]: Unit nginx.service entered failed state. Oct 23 08:45:13 centos7-64-puppet7.example.com systemd[1]: nginx.service failed. �[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 6.87 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Debian 10

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 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084522092.pp.2yvKfJ Last 10 lines of output were: Oct 23 08:44:32 debian10-64-puppet7.example.com systemd[1]: Started nginx - high performance web server. Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server... Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server. Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: Started nginx - high performance web server. Oct 23 08:44:57 debian10-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server... Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 2.73 seconds

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

View workflow job for this annotation

GitHub Actions / 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_084531864.pp.nroODe Last 10 lines of output were: Oct 23 08:45:42 centos7-64-puppet8.example.com systemd[1]: nginx.service: control process exited, code=exited status=1 Oct 23 08:45:42 centos7-64-puppet8.example.com systemd[1]: Failed to start nginx - high performance web server. Oct 23 08:45:42 centos7-64-puppet8.example.com systemd[1]: Unit nginx.service entered failed state. Oct 23 08:45:42 centos7-64-puppet8.example.com systemd[1]: nginx.service failed. �[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 6.70 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Debian 10

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 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084637857.pp.p5WWXw Last 10 lines of output were: Oct 23 08:45:27 debian10-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. Oct 23 08:45:27 debian10-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 23 08:45:27 debian10-64-puppet8.example.com systemd[1]: Started nginx - high performance web server. Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: Stopping nginx - high performance web server... Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: nginx.service: Succeeded. Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: Started nginx - high performance web server. �[mNotice: Applied catalog in 3.17 seconds
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",
package_ensure => latest,
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down Expand Up @@ -132,8 +130,7 @@ class { 'nginx':
it 'configures a nginx SSL server' do

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

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

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

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

View workflow job for this annotation

GitHub Actions / Puppet / 8 - CentOS 8

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084500152.pp.tyAhwp Last 10 lines of output were: Oct 23 08:44:44 centos8-64-puppet8.example.com systemd[1]: Stopped The nginx HTTP and reverse proxy server. Oct 23 08:44:58 centos8-64-puppet8.example.com systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive. Oct 23 08:44:59 centos8-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 23 08:44:59 centos8-64-puppet8.example.com nginx[4506]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 23 08:44:59 centos8-64-puppet8.example.com nginx[4506]: nginx: configuration file /etc/nginx/nginx.conf test failed �[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.54 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Debian 10

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 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084530203.pp.Smm4of Last 10 lines of output were: Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server. Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 23 08:44:41 debian10-64-puppet7.example.com systemd[1]: Started nginx - high performance web server. Oct 23 08:44:57 debian10-64-puppet7.example.com systemd[1]: Stopping 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: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 2.79 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Debian 10

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 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084649490.pp.kJ8r15 Last 10 lines of output were: Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: Stopping nginx - high performance web server... Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: nginx.service: Succeeded. Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 23 08:45:39 debian10-64-puppet8.example.com systemd[1]: Started 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: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 3.29 seconds
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",
package_ensure => latest,
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down Expand Up @@ -187,8 +184,7 @@ class { 'nginx':
it 'configures a nginx SSL server' do
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",
package_ensure => latest,
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down

0 comments on commit 974a4a7

Please sign in to comment.