LDAP: use stdlib::to_toml() instead of toml gem & require puppetlabs/stdlib 9.x #264
Annotations
10 errors
spec/classes/grafana_spec.rb#L306
grafana on almalinux-8-x86_64 configuration file should correctly transform cfg param entries to Grafana configuration is expected to contain File[/etc/grafana/ldap.toml] with content supplied string
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(ldap_expected) }
expected that the catalogue would contain File[/etc/grafana/ldap.toml] with content set to supplied string
Diff:
@@ -1,14 +1,12 @@
-
-[[servers]]
-host = "server1"
-search_base_dns = ["dc=domain1,dc=com"]
-search_filter = "(sAMAccountName=%s)"
-use_ssl = true
-
-[servers.attributes]
+["servers.attributes"]
email = "mail"
member_of = "memberOf"
name = "givenName"
surname = "sn"
username = "sAMAccountName"
+[[servers]]
+host = "server1"
+search_base_dns = ["dc=domain1,dc=com"]
+search_filter = "(sAMAccountName=%s)"
+use_ssl = true
|
spec/classes/grafana_spec.rb#L411
grafana on almalinux-8-x86_64 multiple ldap configuration should correctly transform ldap config param into Grafana ldap.toml is expected to contain File[/etc/grafana/ldap.toml] with content supplied string
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(ldap_expected) }
expected that the catalogue would contain File[/etc/grafana/ldap.toml] with content set to supplied string
Diff:
@@ -1,28 +1,25 @@
-
+["servers.attributes"]
+email = "mail"
+member_of = "memberOf"
+name = "givenName"
+surname = "sn"
+username = "sAMAccountName"
[[servers]]
host = "server1a server1b"
search_base_dns = ["dc=domain1,dc=com"]
search_filter = "(sAMAccountName=%s)"
use_ssl = true
-[servers.attributes]
+
+["servers.attributes"]
email = "mail"
member_of = "memberOf"
name = "givenName"
surname = "sn"
username = "sAMAccountName"
-
-
[[servers]]
host = "server2a server2b"
search_base_dns = ["dc=domain2,dc=com"]
search_filter = "(sAMAccountName=%s)"
use_ssl = true
-
-[servers.attributes]
-email = "mail"
-member_of = "memberOf"
-name = "givenName"
-surname = "sn"
-username = "sAMAccountName"
|
spec/classes/grafana_spec.rb#L460
grafana on almalinux-8-x86_64 with Sensitive `ldap_cfg` Sensitive[Hash] is expected to contain File[/etc/grafana/ldap.toml] with content => Sensitive("\n[[servers]]\nhost = \"server1a server1b\"\nsearch_base_dns = [\"dc=domain1,dc=com\"]\nsearch_filter = \"(sAMAccountName=%s)\"\nuse_ssl = true\n\n[servers.attributes]\nemail = \"mail\"\nmember_of = \"memberOf\"\nname = \"givenName\"\nsurname = \"sn\"\nusername = \"sAMAccountName\"\n\n")
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(sensitive(expected)) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Method call, 'join' parameter 'arg' expects an Array value, got Sensitive[Array] (file: /home/runner/work/puppet-grafana/puppet-grafana/spec/fixtures/modules/grafana/manifests/config.pp, line: 96, column: 37) on node fv-az593-762.srrpzjfn03au5exe5v5dy5ok3b.bx.internal.cloudapp.net
|
spec/classes/grafana_spec.rb#L470
grafana on almalinux-8-x86_64 with Sensitive `ldap_cfg` Sensitive[Array[Hash]] is expected to contain File[/etc/grafana/ldap.toml] with content => Sensitive("\n[[servers]]\nhost = \"server1a server1b\"\nsearch_base_dns = [\"dc=domain1,dc=com\"]\nsearch_filter = \"(sAMAccountName=%s)\"\nuse_ssl = true\n\n[servers.attributes]\nemail = \"mail\"\nmember_of = \"memberOf\"\nname = \"givenName\"\nsurname = \"sn\"\nusername = \"sAMAccountName\"\n\n")
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(sensitive(expected)) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Method call, 'join' parameter 'arg' expects an Array value, got Sensitive[Array] (file: /home/runner/work/puppet-grafana/puppet-grafana/spec/fixtures/modules/grafana/manifests/config.pp, line: 96, column: 37) on node fv-az593-762.srrpzjfn03au5exe5v5dy5ok3b.bx.internal.cloudapp.net
|
spec/classes/grafana_spec.rb#L306
grafana on centos-7-x86_64 configuration file should correctly transform cfg param entries to Grafana configuration is expected to contain File[/etc/grafana/ldap.toml] with content supplied string
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(ldap_expected) }
expected that the catalogue would contain File[/etc/grafana/ldap.toml] with content set to supplied string
Diff:
@@ -1,14 +1,12 @@
-
-[[servers]]
-host = "server1"
-search_base_dns = ["dc=domain1,dc=com"]
-search_filter = "(sAMAccountName=%s)"
-use_ssl = true
-
-[servers.attributes]
+["servers.attributes"]
email = "mail"
member_of = "memberOf"
name = "givenName"
surname = "sn"
username = "sAMAccountName"
+[[servers]]
+host = "server1"
+search_base_dns = ["dc=domain1,dc=com"]
+search_filter = "(sAMAccountName=%s)"
+use_ssl = true
|
spec/classes/grafana_spec.rb#L411
grafana on centos-7-x86_64 multiple ldap configuration should correctly transform ldap config param into Grafana ldap.toml is expected to contain File[/etc/grafana/ldap.toml] with content supplied string
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(ldap_expected) }
expected that the catalogue would contain File[/etc/grafana/ldap.toml] with content set to supplied string
Diff:
@@ -1,28 +1,25 @@
-
+["servers.attributes"]
+email = "mail"
+member_of = "memberOf"
+name = "givenName"
+surname = "sn"
+username = "sAMAccountName"
[[servers]]
host = "server1a server1b"
search_base_dns = ["dc=domain1,dc=com"]
search_filter = "(sAMAccountName=%s)"
use_ssl = true
-[servers.attributes]
+
+["servers.attributes"]
email = "mail"
member_of = "memberOf"
name = "givenName"
surname = "sn"
username = "sAMAccountName"
-
-
[[servers]]
host = "server2a server2b"
search_base_dns = ["dc=domain2,dc=com"]
search_filter = "(sAMAccountName=%s)"
use_ssl = true
-
-[servers.attributes]
-email = "mail"
-member_of = "memberOf"
-name = "givenName"
-surname = "sn"
-username = "sAMAccountName"
|
spec/classes/grafana_spec.rb#L460
grafana on centos-7-x86_64 with Sensitive `ldap_cfg` Sensitive[Hash] is expected to contain File[/etc/grafana/ldap.toml] with content => Sensitive("\n[[servers]]\nhost = \"server1a server1b\"\nsearch_base_dns = [\"dc=domain1,dc=com\"]\nsearch_filter = \"(sAMAccountName=%s)\"\nuse_ssl = true\n\n[servers.attributes]\nemail = \"mail\"\nmember_of = \"memberOf\"\nname = \"givenName\"\nsurname = \"sn\"\nusername = \"sAMAccountName\"\n\n")
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(sensitive(expected)) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Method call, 'join' parameter 'arg' expects an Array value, got Sensitive[Array] (file: /home/runner/work/puppet-grafana/puppet-grafana/spec/fixtures/modules/grafana/manifests/config.pp, line: 96, column: 37) on node fv-az593-762.srrpzjfn03au5exe5v5dy5ok3b.bx.internal.cloudapp.net
|
spec/classes/grafana_spec.rb#L470
grafana on centos-7-x86_64 with Sensitive `ldap_cfg` Sensitive[Array[Hash]] is expected to contain File[/etc/grafana/ldap.toml] with content => Sensitive("\n[[servers]]\nhost = \"server1a server1b\"\nsearch_base_dns = [\"dc=domain1,dc=com\"]\nsearch_filter = \"(sAMAccountName=%s)\"\nuse_ssl = true\n\n[servers.attributes]\nemail = \"mail\"\nmember_of = \"memberOf\"\nname = \"givenName\"\nsurname = \"sn\"\nusername = \"sAMAccountName\"\n\n")
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(sensitive(expected)) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Method call, 'join' parameter 'arg' expects an Array value, got Sensitive[Array] (file: /home/runner/work/puppet-grafana/puppet-grafana/spec/fixtures/modules/grafana/manifests/config.pp, line: 96, column: 37) on node fv-az593-762.srrpzjfn03au5exe5v5dy5ok3b.bx.internal.cloudapp.net
|
spec/classes/grafana_spec.rb#L306
grafana on ubuntu-22.04-x86_64 configuration file should correctly transform cfg param entries to Grafana configuration is expected to contain File[/etc/grafana/ldap.toml] with content supplied string
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(ldap_expected) }
expected that the catalogue would contain File[/etc/grafana/ldap.toml] with content set to supplied string
Diff:
@@ -1,14 +1,12 @@
-
-[[servers]]
-host = "server1"
-search_base_dns = ["dc=domain1,dc=com"]
-search_filter = "(sAMAccountName=%s)"
-use_ssl = true
-
-[servers.attributes]
+["servers.attributes"]
email = "mail"
member_of = "memberOf"
name = "givenName"
surname = "sn"
username = "sAMAccountName"
+[[servers]]
+host = "server1"
+search_base_dns = ["dc=domain1,dc=com"]
+search_filter = "(sAMAccountName=%s)"
+use_ssl = true
|
spec/classes/grafana_spec.rb#L411
grafana on ubuntu-22.04-x86_64 multiple ldap configuration should correctly transform ldap config param into Grafana ldap.toml is expected to contain File[/etc/grafana/ldap.toml] with content supplied string
Failure/Error: it { is_expected.to contain_file('/etc/grafana/ldap.toml').with_content(ldap_expected) }
expected that the catalogue would contain File[/etc/grafana/ldap.toml] with content set to supplied string
Diff:
@@ -1,28 +1,25 @@
-
+["servers.attributes"]
+email = "mail"
+member_of = "memberOf"
+name = "givenName"
+surname = "sn"
+username = "sAMAccountName"
[[servers]]
host = "server1a server1b"
search_base_dns = ["dc=domain1,dc=com"]
search_filter = "(sAMAccountName=%s)"
use_ssl = true
-[servers.attributes]
+
+["servers.attributes"]
email = "mail"
member_of = "memberOf"
name = "givenName"
surname = "sn"
username = "sAMAccountName"
-
-
[[servers]]
host = "server2a server2b"
search_base_dns = ["dc=domain2,dc=com"]
search_filter = "(sAMAccountName=%s)"
use_ssl = true
-
-[servers.attributes]
-email = "mail"
-member_of = "memberOf"
-name = "givenName"
-surname = "sn"
-username = "sAMAccountName"
|
The logs for this run have expired and are no longer available.
Loading