Create pki_dir structure only when deployed #1176
Annotations
7 errors
spec/defines/keypair_spec.rb#L22
certs::keypair with minimal parameters is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::pki_dir'. (file: /home/runner/work/puppet-certs/puppet-certs/spec/fixtures/modules/certs/manifests/config.pp, line: 4, column: 35) (line: 5) on node fv-az406-673.1cueg1przebu5exuv5ad43a23a.cx.internal.cloudapp.net
|
spec/defines/keypair_spec.rb#L23
certs::keypair with minimal parameters is expected to contain Private_key[/path/to/key.pem] with ensure => "present", source => "/root/ssl-build/example.com/mykeypair.key", owner => "root", group => "root" and mode => "440"
Failure/Error:
is_expected.to contain_private_key('/path/to/key.pem')
.with_ensure('present')
.with_source('/root/ssl-build/example.com/mykeypair.key')
.with_owner('root')
.with_group('root')
.with_mode('440')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::pki_dir'. (file: /home/runner/work/puppet-certs/puppet-certs/spec/fixtures/modules/certs/manifests/config.pp, line: 4, column: 35) (line: 5) on node fv-az406-673.1cueg1przebu5exuv5ad43a23a.cx.internal.cloudapp.net
|
spec/defines/keypair_spec.rb#L32
certs::keypair with minimal parameters is expected to contain File[/path/to/cert.pem] with ensure => "present", source => "/root/ssl-build/example.com/mykeypair.crt", owner => "root", group => "root" and mode => "440"
Failure/Error:
is_expected.to contain_file('/path/to/cert.pem')
.with_ensure('present')
.with_source('/root/ssl-build/example.com/mykeypair.crt')
.with_owner('root')
.with_group('root')
.with_mode('440')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::pki_dir'. (file: /home/runner/work/puppet-certs/puppet-certs/spec/fixtures/modules/certs/manifests/config.pp, line: 4, column: 35) (line: 5) on node fv-az406-673.1cueg1przebu5exuv5ad43a23a.cx.internal.cloudapp.net
|
spec/defines/keypair_spec.rb#L45
certs::keypair with key_ensure => absent and cert_ensure => absent is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::pki_dir'. (file: /home/runner/work/puppet-certs/puppet-certs/spec/fixtures/modules/certs/manifests/config.pp, line: 4, column: 35) (line: 5) on node fv-az406-673.1cueg1przebu5exuv5ad43a23a.cx.internal.cloudapp.net
|
spec/defines/keypair_spec.rb#L46
certs::keypair with key_ensure => absent and cert_ensure => absent is expected to contain Private_key[/path/to/key.pem] with ensure => "absent", source => "/root/ssl-build/example.com/mykeypair.key", owner => "root", group => "root" and mode => "440"
Failure/Error:
is_expected.to contain_private_key('/path/to/key.pem')
.with_ensure('absent')
.with_source('/root/ssl-build/example.com/mykeypair.key')
.with_owner('root')
.with_group('root')
.with_mode('440')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::pki_dir'. (file: /home/runner/work/puppet-certs/puppet-certs/spec/fixtures/modules/certs/manifests/config.pp, line: 4, column: 35) (line: 5) on node fv-az406-673.1cueg1przebu5exuv5ad43a23a.cx.internal.cloudapp.net
|
spec/defines/keypair_spec.rb#L55
certs::keypair with key_ensure => absent and cert_ensure => absent is expected to contain File[/path/to/cert.pem] with ensure => "absent", source => "/root/ssl-build/example.com/mykeypair.crt", owner => "root", group => "root" and mode => "440"
Failure/Error:
is_expected.to contain_file('/path/to/cert.pem')
.with_ensure('absent')
.with_source('/root/ssl-build/example.com/mykeypair.crt')
.with_owner('root')
.with_group('root')
.with_mode('440')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'certs::pki_dir'. (file: /home/runner/work/puppet-certs/puppet-certs/spec/fixtures/modules/certs/manifests/config.pp, line: 4, column: 35) (line: 5) on node fv-az406-673.1cueg1przebu5exuv5ad43a23a.cx.internal.cloudapp.net
|
|
The logs for this run have expired and are no longer available.
Loading