Manage www_root if specified for Nginx::Resource::Server
#845
Annotations
6 errors
|
Run tests
Process completed with exit code 1.
|
|
Run tests:
spec/acceptance/nginx_location_spec.rb#L6
nginx::resource::location define: runs successfully
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'rocky8-64-openvox8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_054744657.BnZLCw.pp
Last 10 lines of output were:
Info: Concat[/etc/nginx/sites-available/stage.puppetlabs.com.conf]: Scheduling refresh of Class[Nginx::Service]
�[mNotice: /Stage[main]/Main/Nginx::Resource::Server[stage.puppetlabs.com]/File[stage.puppetlabs.com.conf symlink]/ensure: created
Info: /Stage[main]/Main/Nginx::Resource::Server[stage.puppetlabs.com]/File[stage.puppetlabs.com.conf symlink]: Scheduling refresh of Class[Nginx::Service]
Info: Nginx::Resource::Server[www.puppetlabs.com]: Unscheduling all events on Nginx::Resource::Server[www.puppetlabs.com]
Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service]
�[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Dependency File[/var/www/www.puppetlabs.com] has failures: true
�[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Dependency File[/var/www/stage.puppetlabs.com] has failures: true
Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies
Info: Nginx::Resource::Server[stage.puppetlabs.com]: Unscheduling all events on Nginx::Resource::Server[stage.puppetlabs.com]
�[mNotice: Applied catalog in 0.09 seconds
|
|
Run tests:
spec/acceptance/init_spec.rb#L46
nginx class with service_config_check true works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'rocky8-64-openvox8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_054741873.fPizei.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for rocky8-64-openvox8.example.com in environment production in 0.30 seconds
Info: Using environment 'production'
Info: Applying configuration version '1780379263'
Error: Cannot create /var/www/html; parent directory /var/www does not exist
Error: /Stage[main]/Main/Nginx::Resource::Server[example.com]/File[/var/www/html]/ensure: change from 'absent' to 'directory' failed: Cannot create /var/www/html; parent directory /var/www does not exist
�[mNotice: /Stage[main]/Nginx::Service/Exec[nginx_config_check]: Dependency File[/var/www/html] has failures: true
Warning: /Stage[main]/Nginx::Service/Exec[nginx_config_check]: Skipping because of failed dependencies
Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.08 seconds
|
|
Run tests:
spec/acceptance/init_spec.rb#L8
nginx class default parameters works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'rocky8-64-openvox8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_054739068.Nm5T8k.pp
Last 10 lines of output were:
Error: /Stage[main]/Main/Nginx::Resource::Server[example.com]/File[/var/www/html]/ensure: change from 'absent' to 'directory' failed: Cannot create /var/www/html; parent directory /var/www does not exist
�[mNotice: /Stage[main]/Main/Nginx::Resource::Server[example.com]/Concat[/etc/nginx/sites-available/example.com.conf]/File[/etc/nginx/sites-available/example.com.conf]/ensure: defined content as '{sha256}89c0a0d75d1441bedcd747bcb9b4d841ec191339b8f761b72cb129387d30dc91'
Info: Concat[/etc/nginx/sites-available/example.com.conf]: Scheduling refresh of Class[Nginx::Service]
�[mNotice: /Stage[main]/Main/Nginx::Resource::Server[example.com]/File[example.com.conf symlink]/ensure: created
Info: /Stage[main]/Main/Nginx::Resource::Server[example.com]/File[example.com.conf symlink]: Scheduling refresh of Class[Nginx::Service]
Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service]
�[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Dependency File[/var/www/html] has failures: true
Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies
Info: Nginx::Resource::Server[example.com]: Unscheduling all events on Nginx::Resource::Server[example.com]
�[mNotice: Applied catalog in 0.12 seconds
|
|
|
|
|
background
wait
wait-all
cancel
parallel
Loading