Add class to handle creation of certs for advisor service on localhost #1263
Annotations
10 errors
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L33
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" is expected to be certificate
Failure/Error: it { should be_certificate }
expected `X509 certificate "/etc/iop-advisor-engine/server.cert".certificate?` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L34
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" is expected to be valid
Failure/Error: it { should be_valid }
expected `X509 certificate "/etc/iop-advisor-engine/server.cert".valid?` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L35
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" is expected to have purpose "server"
Failure/Error: it { should have_purpose 'server' }
expected `X509 certificate "/etc/iop-advisor-engine/server.cert".has_purpose?("server")` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L36
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" issuer is expected to match without whitespace /C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = almalinux9-64-puppet7.example.com/
Failure/Error: its(:issuer) { should match_without_whitespace(/C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = #{fqdn}/) }
Actual:
Expected:
C = US, ST = North Carolina, L = Raleigh, O = Katello, OU = SomeOrgUnit, CN = almalinux9-64-puppet7.example.com
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L37
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" subject is expected to match without whitespace /C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = localhost/
Failure/Error: its(:subject) { should match_without_whitespace(/C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = #{hostname}/) }
Actual:
Expected:
C = US, ST = North Carolina, O = Katello, OU = SomeOrgUnit, CN = localhost
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L38
certs::iop_advisor_engine with default parameters X509 certificate "/etc/iop-advisor-engine/server.cert" keylength is expected to be >= 4096
Failure/Error: its(:keylength) { should be >= 4096 }
expected: >= 4096
got: 0
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L42
certs::iop_advisor_engine with default parameters File "/etc/iop-advisor-engine/server.cert" is expected to be file
Failure/Error: it { should be_file }
expected `File "/etc/iop-advisor-engine/server.cert".file?` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L43
certs::iop_advisor_engine with default parameters File "/etc/iop-advisor-engine/server.cert" is expected to be mode 444
Failure/Error: it { should be_mode 444 }
expected `File "/etc/iop-advisor-engine/server.cert".mode?(444)` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L44
certs::iop_advisor_engine with default parameters File "/etc/iop-advisor-engine/server.cert" is expected to be owned by "root"
Failure/Error: it { should be_owned_by 'root' }
expected `File "/etc/iop-advisor-engine/server.cert".owned_by?("root")` to be truthy, got false
|
Run tests:
spec/acceptance/iop_advisor_engine_spec.rb#L45
certs::iop_advisor_engine with default parameters File "/etc/iop-advisor-engine/server.cert" is expected to be grouped into "root"
Failure/Error: it { should be_grouped_into 'root' }
expected `File "/etc/iop-advisor-engine/server.cert".grouped_into?("root")` to be truthy, got false
|
Loading