Skip to content

Commit

Permalink
Merge pull request #439 from WoutResseler/master
Browse files Browse the repository at this point in the history
Allow Sensitive[String[1]] for rootpw
  • Loading branch information
bastelfreak authored Jan 24, 2025
2 parents 786cd80 + e8161a2 commit 931535e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ Default value: `undef`

##### <a name="-openldap--server--database--rootpw"></a>`rootpw`

Data type: `Optional[String[1]]`
Data type: `Optional[Variant[Sensitive[String[1]],String[1]]]`



Expand Down
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 931535e

Please sign in to comment.