Skip to content

Commit

Permalink
Allow Sensitive[String[1]] for rootpw
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout Resseler committed Dec 16, 2024
1 parent abe6d69 commit 0d78873
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions manifests/server/database.pp
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# See README.md for details.
define openldap::server::database (
Enum['present', 'absent'] $ensure = present,
Optional[Stdlib::Absolutepath] $directory = undef,
String[1] $suffix = $title,
Optional[String[1]] $relay = undef,
Optional[String[1]] $backend = undef,
Optional[String[1]] $rootdn = undef,
Optional[String[1]] $rootpw = undef,
Optional[Boolean] $initdb = undef,
Boolean $readonly = false,
Optional[String[1]] $sizelimit = undef,
Optional[String[1]] $dbmaxsize = undef,
Optional[String[1]] $timelimit = undef,
Optional[String[1]] $updateref = undef,
Openldap::Limits $limits = {},
Enum['present', 'absent'] $ensure = present,
Optional[Stdlib::Absolutepath] $directory = undef,
String[1] $suffix = $title,
Optional[String[1]] $relay = undef,
Optional[String[1]] $backend = undef,
Optional[String[1]] $rootdn = undef,
Optional[Variant[Sensitive[String[1]],String[1]]] $rootpw = undef,
Optional[Boolean] $initdb = undef,
Boolean $readonly = false,
Optional[String[1]] $sizelimit = undef,
Optional[String[1]] $dbmaxsize = undef,
Optional[String[1]] $timelimit = undef,
Optional[String[1]] $updateref = undef,
Openldap::Limits $limits = {},
# BDB/HDB options
Hash[String[1],Variant[String[1],Array[String[1]]]] $dboptions = {},
Optional[String[1]] $synctype = undef,
Hash[String[1],Variant[String[1],Array[String[1]]]] $dboptions = {},
Optional[String[1]] $synctype = undef,
# Synchronization options
Optional[Boolean] $mirrormode = undef,
Optional[Boolean] $multiprovider = undef,
Optional[String[1]] $syncusesubentry = undef,
Array[Openldap::Syncrepl] $syncrepl = [],
Optional[Boolean] $mirrormode = undef,
Optional[Boolean] $multiprovider = undef,
Optional[String[1]] $syncusesubentry = undef,
Array[Openldap::Syncrepl] $syncrepl = [],
Hash[
Enum[
'transport',
Expand All @@ -35,7 +35,7 @@
'update_transport',
],
Integer[0]
] $security = {},
] $security = {},
) {
include openldap::server

Expand Down

0 comments on commit 0d78873

Please sign in to comment.