Add proper SELinux context and setup appropriate booleans #210
Annotations
10 errors
Run tests:
spec/acceptance/class_spec.rb#L16
puppetboard class configuring Apache without vhost / mod_wsgi works with no errors
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_125239552.pp.JOcwE3
Last 10 lines of output were:
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/File[/etc/puppetlabs/puppetdb/certificate-whitelist]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/Ini_setting[puppetdb_disable_update_checking]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Service[puppetdb]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.service]/File[/etc/systemd/system/puppetdb-dlo-cleanup.service]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.service]/Systemd::Daemon_reload[puppetdb-dlo-cleanup.service]/Exec[systemd-puppetdb-dlo-cleanup.service-systemctl-daemon-reload]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/File[/etc/systemd/system/puppetdb-dlo-cleanup.timer]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/Systemd::Daemon_reload[puppetdb-dlo-cleanup.timer]/Exec[systemd-puppetdb-dlo-cleanup.timer-systemctl-daemon-reload]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/Service[puppetdb-dlo-cleanup.timer]: Skipping because of failed dependencies
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 11.51 seconds
|
Run tests:
spec/acceptance/class_spec.rb#L41
puppetboard class configuring Apache without vhost / mod_wsgi answers to localhost
Failure/Error:
shell('/usr/bin/curl localhost/puppetboard/') do |r|
expect(r.stdout).to match(%r{<title>Puppetboard</title>})
expect(r.exit_code).to be_zero
end
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 7 running:
/usr/bin/curl localhost/puppetboard/
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 localhost port 80: Connection refused
|
Run tests:
spec/acceptance/class_spec.rb#L50
puppetboard class configuring Apache with vhost / mod_wsgi works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_125254318.pp.csuJH7
Last 10 lines of output were:
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/Ini_setting[puppetdb-connections-from-master-only]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/File[/etc/puppetlabs/puppetdb/certificate-whitelist]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/Ini_setting[puppetdb_disable_update_checking]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Service[puppetdb]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.service]/File[/etc/systemd/system/puppetdb-dlo-cleanup.service]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.service]/Systemd::Daemon_reload[puppetdb-dlo-cleanup.service]/Exec[systemd-puppetdb-dlo-cleanup.service-systemctl-daemon-reload]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/File[/etc/systemd/system/puppetdb-dlo-cleanup.timer]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/Systemd::Daemon_reload[puppetdb-dlo-cleanup.timer]/Exec[systemd-puppetdb-dlo-cleanup.timer-systemctl-daemon-reload]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/Service[puppetdb-dlo-cleanup.timer]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 3.99 seconds
|
Run tests:
spec/acceptance/class_spec.rb#L83
puppetboard class configuring Apache with vhost / mod_wsgi answers to localhost
Failure/Error:
shell('/usr/bin/curl localhost') do |r|
expect(r.stdout).to match(%r{<title>Puppetboard</title>})
expect(r.exit_code).to be_zero
end
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 7 running:
/usr/bin/curl localhost
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 localhost port 80: Connection refused
|
Run tests:
spec/acceptance/class_spec.rb#L92
puppetboard class with SSL works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_125301670.pp.D595gf
Last 10 lines of output were:
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/Ini_setting[puppetdb-connections-from-master-only]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/File[/etc/puppetlabs/puppetdb/certificate-whitelist]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/Ini_setting[puppetdb_disable_update_checking]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Service[puppetdb]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.service]/File[/etc/systemd/system/puppetdb-dlo-cleanup.service]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.service]/Systemd::Daemon_reload[puppetdb-dlo-cleanup.service]/Exec[systemd-puppetdb-dlo-cleanup.service-systemctl-daemon-reload]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/File[/etc/systemd/system/puppetdb-dlo-cleanup.timer]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/Systemd::Daemon_reload[puppetdb-dlo-cleanup.timer]/Exec[systemd-puppetdb-dlo-cleanup.timer-systemctl-daemon-reload]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/Service[puppetdb-dlo-cleanup.timer]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 5.25 seconds
|
Run tests:
spec/acceptance/class_spec.rb#L121
puppetboard class with SSL File "/srv/puppetboard/puppetboard/settings.py" is expected to contain "PUPPETDB_KEY = '/var/lib/puppet/ssl/private_keys/test.networkninjas.net.pem'"
Failure/Error: it { is_expected.to contain "PUPPETDB_KEY = '/var/lib/puppet/ssl/private_keys/test.networkninjas.net.pem'" }
expected File "/srv/puppetboard/puppetboard/settings.py" to contain "PUPPETDB_KEY = '/var/lib/puppet/ssl/private_keys/test.networkninjas.net.pem'"
|
Run tests:
spec/acceptance/class_spec.rb#L122
puppetboard class with SSL File "/srv/puppetboard/puppetboard/settings.py" is expected to contain "PUPPETDB_CERT = '/var/lib/puppet/ssl/certs/test.networkninjas.net.pem'"
Failure/Error: it { is_expected.to contain "PUPPETDB_CERT = '/var/lib/puppet/ssl/certs/test.networkninjas.net.pem'" }
expected File "/srv/puppetboard/puppetboard/settings.py" to contain "PUPPETDB_CERT = '/var/lib/puppet/ssl/certs/test.networkninjas.net.pem'"
|
Run tests:
spec/acceptance/class_spec.rb#L127
puppetboard class LDAP auth works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_125310567.pp.OCgx4H
Last 10 lines of output were:
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/Ini_setting[puppetdb-connections-from-master-only]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/File[/etc/puppetlabs/puppetdb/certificate-whitelist]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server::Puppetdb/Ini_setting[puppetdb_disable_update_checking]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Service[puppetdb]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.service]/File[/etc/systemd/system/puppetdb-dlo-cleanup.service]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.service]/Systemd::Daemon_reload[puppetdb-dlo-cleanup.service]/Exec[systemd-puppetdb-dlo-cleanup.service-systemctl-daemon-reload]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/File[/etc/systemd/system/puppetdb-dlo-cleanup.timer]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/Systemd::Daemon_reload[puppetdb-dlo-cleanup.timer]/Exec[systemd-puppetdb-dlo-cleanup.timer-systemctl-daemon-reload]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppetdb::Server/Systemd::Unit_file[puppetdb-dlo-cleanup.timer]/Service[puppetdb-dlo-cleanup.timer]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 5.45 seconds
|
Run tests:
spec/acceptance/class_spec.rb#L162
puppetboard class LDAP auth File "/etc/httpd/conf.d/25-puppetboard.conf" is expected to contain "AuthBasicProvider ldap"
Failure/Error: it { is_expected.to contain 'AuthBasicProvider ldap' }
expected File "/etc/httpd/conf.d/25-puppetboard.conf" to contain "AuthBasicProvider ldap"
|
Run tests:
spec/acceptance/class_spec.rb#L163
puppetboard class LDAP auth File "/etc/httpd/conf.d/25-puppetboard.conf" is expected to contain "AuthLDAPBindDN \"cn=user,dc=puppet,dc=example,dc=com\""
Failure/Error: it { is_expected.to contain 'AuthLDAPBindDN "cn=user,dc=puppet,dc=example,dc=com"' }
expected File "/etc/httpd/conf.d/25-puppetboard.conf" to contain "AuthLDAPBindDN \"cn=user,dc=puppet,dc=example,dc=com\""
|
Loading