Rework openldap::server::database
interface for the syncrepl
parameter
#349
Annotations
2 errors and 1 warning
Run tests:
spec/acceptance/openldap__server__database_spec.rb#L7
openldap::server::database with syncrepl idempotentlies run
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'debian10-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_032749863.pp.GiY8s0
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Error: Evaluation Error: Error while evaluating a Resource Statement, Openldap::Server::Database[dc=foo,dc=example,dc=com]:
parameter 'syncrepl' index 0 expects an Openldap::Syncrepl = Struct[{'rid' => Integer[0], 'provider' => Pattern[/\Aldaps?:\/\/[^\/]+\z/], Optional['type'] => Enum['refreshAndPersist', 'refreshOnly'], Optional['interval'] => Pattern[/\A\d{2}:\d{2}:\d{2}:\d{2}\z/], Optional['searchbase'] => String[1], Optional['filter'] => String[1], Optional['scope'] => Enum['base', 'one', 'sub'], Optional['attrs'] => String[1], Optional['attrsonly'] => Boolean[true], Optional['sizelimit'] => Integer[0], Optional['timelimit'] => Integer[0], Optional['schemachecking'] => Enum['off', 'on'], Optional['updatedn'] => String[1], Optional['bindmethod'] => Enum['sasl', 'simple'], Optional['binddn'] => String[1], Optional['saslmech'] => String[1], Optional['authcid'] => String[1], Optional['authzid'] => String[1], Optional['credentials'] => Variant[String[1], Sensitive[String]], Optional['realm'] => String[1], Optional['secprops'] => String[1]}] value, got String
parameter 'syncrepl' index 1 expects an Openldap::Syncrepl = Struct[{'rid' => Integer[0], 'provider' => Pattern[/\Aldaps?:\/\/[^\/]+\z/], Optional['type'] => Enum['refreshAndPersist', 'refreshOnly'], Optional['interval'] => Pattern[/\A\d{2}:\d{2}:\d{2}:\d{2}\z/], Optional['searchbase'] => String[1], Optional['filter'] => String[1], Optional['scope'] => Enum['base', 'one', 'sub'], Optional['attrs'] => String[1], Optional['attrsonly'] => Boolean[true], Optional['sizelimit'] => Integer[0], Optional['timelimit'] => Integer[0], Optional['schemachecking'] => Enum['off', 'on'], Optional['updatedn'] => String[1], Optional['bindmethod'] => Enum['sasl', 'simple'], Optional['binddn'] => String[1], Optional['saslmech'] => String[1], Optional['authcid'] => String[1], Optional['authzid'] => String[1], Optional['credentials'] => Variant[String[1], Sensitive[String]], Optional['realm'] => String[1], Optional['secprops'] => String[1]}] value, got String (file: /etc/puppetlabs/code/environments/production/modules/openldap/manifests/server/slapdconf.pp, line: 31) on node debian10-64-puppet7.example.com
|
Run tests
Process completed with exit code 1.
|
Run tests:
spec/acceptance/db_spec.rb#L146
openldap::server::database with a ldap db creates a ldap database
Failure/Error: apply_manifest(pp, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'debian10-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_032722414.pp.rSBJiN
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian10-64-puppet7.example.com in environment production in 0.12 seconds
Info: Using environment 'production'
Info: Applying configuration version '1711423643'
�[mNotice: /Stage[main]/Main/Openldap::Server::Database[dc=bar,dc=com]/Openldap_database[dc=bar,dc=com]/backend: backend changed 'mdb' to 'ldap'
�[mNotice: Applied catalog in 0.64 seconds
|
Loading