feat: refreshable exports #177
ci.yml
on: pull_request
Puppet
/
Static validations
18s
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
7 errors and 10 warnings
Puppet / 7 (Ruby 2.7):
spec/defines/openssl_export_pem_cert_spec.rb#L20
openssl::export::pem_cert when enable and no pfx or der cert is expected to fail to compile and raise an error matching /either/
Failure/Error: it { is_expected.to compile.and_raise_error(%r{either}) }
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Openssl::Export::Pem_cert[/etc/ssl/certs/foo.pem]: parameter 'resources' expects a value of type Type or Array, got Undef (line: 2) on node fv-az914-452.2e4pmxhwlzfuhnev11cd0y0noa.phxx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/defines/openssl_export_pem_cert_spec.rb#L32
openssl::export::pem_cert when enable and pfx and der cert is provided is expected to fail to compile and raise an error matching /mutually-exclusive/
Failure/Error: it { is_expected.to compile.and_raise_error(%r{mutually-exclusive}) }
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Openssl::Export::Pem_cert[/etc/ssl/certs/foo.pem]: parameter 'resources' expects a value of type Type or Array, got Undef (line: 2) on node fv-az914-452.2e4pmxhwlzfuhnev11cd0y0noa.phxx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/defines/openssl_export_pem_cert_spec.rb#L43
openssl::export::pem_cert when using defaults pkcs12 to PEM is expected to contain Exec[Export /etc/ssl/certs/foo.pfx to /etc/ssl/certs/foo.pem] with command => "openssl pkcs12 -in /etc/ssl/certs/foo.pfx -out /etc/ssl/certs/foo.pem ", creates => "/etc/ssl/certs/foo.pem" and path => "/usr/bin:/bin:/usr/sbin:/sbin"
Failure/Error:
is_expected.to contain_exec('Export /etc/ssl/certs/foo.pfx to /etc/ssl/certs/foo.pem').with(
command: 'openssl pkcs12 -in /etc/ssl/certs/foo.pfx -out /etc/ssl/certs/foo.pem ',
creates: '/etc/ssl/certs/foo.pem',
path: '/usr/bin:/bin:/usr/sbin:/sbin'
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Openssl::Export::Pem_cert[/etc/ssl/certs/foo.pem]: parameter 'resources' expects a value of type Type or Array, got Undef (line: 2) on node fv-az914-452.2e4pmxhwlzfuhnev11cd0y0noa.phxx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/defines/openssl_export_pem_cert_spec.rb#L62
openssl::export::pem_cert when converting pkcs12 to PEM with password for just the certificate is expected to contain Exec[Export /etc/ssl/certs/foo.pfx to /etc/ssl/certs/foo.pem] with command => "openssl pkcs12 -in /etc/ssl/certs/foo.pfx -out /etc/ssl/certs/foo.pem -nokeys -passin pass:'5r$}^'", creates => "/etc/ssl/certs/foo.pem" and path => "/usr/bin:/bin:/usr/sbin:/sbin"
Failure/Error:
is_expected.to contain_exec('Export /etc/ssl/certs/foo.pfx to /etc/ssl/certs/foo.pem').with(
command: "openssl pkcs12 -in /etc/ssl/certs/foo.pfx -out /etc/ssl/certs/foo.pem -nokeys -passin pass:'5r$}^'",
creates: '/etc/ssl/certs/foo.pem',
path: '/usr/bin:/bin:/usr/sbin:/sbin'
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Openssl::Export::Pem_cert[/etc/ssl/certs/foo.pem]: parameter 'resources' expects a value of type Type or Array, got Undef (line: 2) on node fv-az914-452.2e4pmxhwlzfuhnev11cd0y0noa.phxx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/defines/openssl_export_pem_cert_spec.rb#L79
openssl::export::pem_cert when converting from DER to PEM is expected to contain Exec[Export /etc/ssl/certs/foo.der to /etc/ssl/certs/foo.pem] with command => "openssl x509 -inform DER -in /etc/ssl/certs/foo.der -out /etc/ssl/certs/foo.pem ", creates => "/etc/ssl/certs/foo.pem" and path => "/usr/bin:/bin:/usr/sbin:/sbin"
Failure/Error:
is_expected.to contain_exec('Export /etc/ssl/certs/foo.der to /etc/ssl/certs/foo.pem').with(
command: 'openssl x509 -inform DER -in /etc/ssl/certs/foo.der -out /etc/ssl/certs/foo.pem ',
creates: '/etc/ssl/certs/foo.pem',
path: '/usr/bin:/bin:/usr/sbin:/sbin'
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Openssl::Export::Pem_cert[/etc/ssl/certs/foo.pem]: parameter 'resources' expects a value of type Type or Array, got Undef (line: 2) on node fv-az914-452.2e4pmxhwlzfuhnev11cd0y0noa.phxx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/defines/openssl_export_pem_cert_spec.rb#L95
openssl::export::pem_cert when ensuring absence is expected to contain File[/etc/ssl/certs/foo.pem] with ensure => "absent"
Failure/Error:
is_expected.to contain_file('/etc/ssl/certs/foo.pem').with(
ensure: 'absent'
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Openssl::Export::Pem_cert[/etc/ssl/certs/foo.pem]: parameter 'resources' expects a value of type Type or Array, got Undef (line: 2) on node fv-az914-452.2e4pmxhwlzfuhnev11cd0y0noa.phxx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Debian 8
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Debian 9
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Debian 10
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Ubuntu 14.04
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Ubuntu 16.04
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Ubuntu 18.04
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system RedHat 6
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system RedHat 7
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 6
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 7
|