extlib__puppet_config: Add environment settings #123
ci.yml
on: pull_request
Puppet
/
Static validations
31s
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
4 errors and 5 warnings
Puppet / 8 (Ruby 3.2):
spec/unit/facter/extlib__puppet_config_spec.rb#L26
extlib__puppet_config fact is expected to eq {"main"=>{"hostcert"=>"/dev/null/ssl/certs/fv-az1780-24.agtqprkliaoehfcdqtdennvexe.cx.internal.clouda..."=>"/dev/null"}, "master"=>{"localcacert"=>"/dev/null/ssl/certs/ca.pem", "ssldir"=>"/dev/null/ssl"}}
Failure/Error: it { expect(Facter.fact(:extlib__puppet_config).value).to eq(settings) }
expected: {"main"=>{"hostcert"=>"/dev/null/ssl/certs/fv-az1780-24.agtqprkliaoehfcdqtdennvexe.cx.internal.clouda..."=>"/dev/null"}, "master"=>{"localcacert"=>"/dev/null/ssl/certs/ca.pem", "ssldir"=>"/dev/null/ssl"}}
got: {"agent"=>{"environment"=>"production"}, "main"=>{"environment"=>"production", "hostcert"=>"/dev/null..."=>"/dev/null"}, "master"=>{"localcacert"=>"/dev/null/ssl/certs/ca.pem", "ssldir"=>"/dev/null/ssl"}}
(compared using ==)
Diff:
@@ -1,2 +1,3 @@
-"main" => {"hostcert"=>"/dev/null/ssl/certs/fv-az1780-24.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net.pem", "hostprivkey"=>"/dev/null/ssl/private_keys/fv-az1780-24.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net.pem", "hostpubkey"=>"/dev/null/ssl/public_keys/fv-az1780-24.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net.pem", "localcacert"=>"/dev/null/ssl/certs/ca.pem", "server"=>"puppet", "ssldir"=>"/dev/null/ssl", "vardir"=>"/dev/null"},
+"agent" => {"environment"=>"production"},
+"main" => {"environment"=>"production", "hostcert"=>"/dev/null/ssl/certs/fv-az1780-24.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net.pem", "hostprivkey"=>"/dev/null/ssl/private_keys/fv-az1780-24.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net.pem", "hostpubkey"=>"/dev/null/ssl/public_keys/fv-az1780-24.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net.pem", "localcacert"=>"/dev/null/ssl/certs/ca.pem", "server"=>"puppet", "ssldir"=>"/dev/null/ssl", "vardir"=>"/dev/null"},
"master" => {"localcacert"=>"/dev/null/ssl/certs/ca.pem", "ssldir"=>"/dev/null/ssl"},
|
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
|
Puppet / 7 (Ruby 2.7):
spec/unit/facter/extlib__puppet_config_spec.rb#L26
extlib__puppet_config fact is expected to eq {"main"=>{"hostcert"=>"/dev/null/ssl/certs/fv-az2022-877.0wghqxblpstuvimudcj3wileth.dx.internal.cloud..."=>"/dev/null"}, "master"=>{"localcacert"=>"/dev/null/ssl/certs/ca.pem", "ssldir"=>"/dev/null/ssl"}}
Failure/Error: it { expect(Facter.fact(:extlib__puppet_config).value).to eq(settings) }
expected: {"main"=>{"hostcert"=>"/dev/null/ssl/certs/fv-az2022-877.0wghqxblpstuvimudcj3wileth.dx.internal.cloud..."=>"/dev/null"}, "master"=>{"localcacert"=>"/dev/null/ssl/certs/ca.pem", "ssldir"=>"/dev/null/ssl"}}
got: {"agent"=>{"environment"=>"production"}, "main"=>{"environment"=>"production", "hostcert"=>"/dev/null..."=>"/dev/null"}, "master"=>{"localcacert"=>"/dev/null/ssl/certs/ca.pem", "ssldir"=>"/dev/null/ssl"}}
(compared using ==)
Diff:
@@ -1,2 +1,3 @@
-"main" => {"hostcert"=>"/dev/null/ssl/certs/fv-az2022-877.0wghqxblpstuvimudcj3wileth.dx.internal.cloudapp.net.pem", "hostprivkey"=>"/dev/null/ssl/private_keys/fv-az2022-877.0wghqxblpstuvimudcj3wileth.dx.internal.cloudapp.net.pem", "hostpubkey"=>"/dev/null/ssl/public_keys/fv-az2022-877.0wghqxblpstuvimudcj3wileth.dx.internal.cloudapp.net.pem", "localcacert"=>"/dev/null/ssl/certs/ca.pem", "server"=>"puppet", "ssldir"=>"/dev/null/ssl", "vardir"=>"/dev/null"},
+"agent" => {"environment"=>"production"},
+"main" => {"environment"=>"production", "hostcert"=>"/dev/null/ssl/certs/fv-az2022-877.0wghqxblpstuvimudcj3wileth.dx.internal.cloudapp.net.pem", "hostprivkey"=>"/dev/null/ssl/private_keys/fv-az2022-877.0wghqxblpstuvimudcj3wileth.dx.internal.cloudapp.net.pem", "hostpubkey"=>"/dev/null/ssl/public_keys/fv-az2022-877.0wghqxblpstuvimudcj3wileth.dx.internal.cloudapp.net.pem", "localcacert"=>"/dev/null/ssl/certs/ca.pem", "server"=>"puppet", "ssldir"=>"/dev/null/ssl", "vardir"=>"/dev/null"},
"master" => {"localcacert"=>"/dev/null/ssl/certs/ca.pem", "ssldir"=>"/dev/null/ssl"},
|
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system RedHat 7
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 7
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 8
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Debian 10
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Ubuntu 18.04
|