Skip to content

Commit

Permalink
feat: non-empty strings for LDAP parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Di Nucci <d1nuc0m@protonmail.com>
  • Loading branch information
d1nuc0m committed Nov 26, 2024
1 parent ab66bcc commit 712c9a8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,31 +558,31 @@ Default value: `undef`

##### <a name="-puppetboard--apache--conf--ldap_require_user"></a>`ldap_require_user`

Data type: `Optional[String]`
Data type: `Optional[String[1]]`

if set, list of uids for Require ldap-user directive

Default value: `undef`

##### <a name="-puppetboard--apache--conf--ldap_require_dn"></a>`ldap_require_dn`

Data type: `Optional[String]`
Data type: `Optional[String[1]]`

if set, dn to be matched by Require ldap-dn directive

Default value: `undef`

##### <a name="-puppetboard--apache--conf--ldap_require_attribute"></a>`ldap_require_attribute`

Data type: `Optional[String]`
Data type: `Optional[String[1]]`

if set, attributes of LDAP users for Require ldap-attribute directive

Default value: `undef`

##### <a name="-puppetboard--apache--conf--ldap_require_filter"></a>`ldap_require_filter`

Data type: `Optional[String]`
Data type: `Optional[String[1]]`

if set, LDAP search filter for Require ldap-filter directive

Expand Down Expand Up @@ -791,31 +791,31 @@ Default value: `undef`

##### <a name="-puppetboard--apache--vhost--ldap_require_user"></a>`ldap_require_user`

Data type: `Optional[String]`
Data type: `Optional[String[1]]`

if set, list of uids for Require ldap-user directive

Default value: `undef`

##### <a name="-puppetboard--apache--vhost--ldap_require_dn"></a>`ldap_require_dn`

Data type: `Optional[String]`
Data type: `Optional[String[1]]`

if set, dn to be matched by Require ldap-dn directive

Default value: `undef`

##### <a name="-puppetboard--apache--vhost--ldap_require_attribute"></a>`ldap_require_attribute`

Data type: `Optional[String]`
Data type: `Optional[String[1]]`

if set, attributes of LDAP users for Require ldap-attribute directive

Default value: `undef`

##### <a name="-puppetboard--apache--vhost--ldap_require_filter"></a>`ldap_require_filter`

Data type: `Optional[String]`
Data type: `Optional[String[1]]`

if set, LDAP search filter for Require ldap-filter directive

Expand Down
8 changes: 4 additions & 4 deletions manifests/apache/conf.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
Optional[String[1]] $ldap_bind_authoritative = undef,
Boolean $ldap_require_group = $puppetboard::ldap_require_group,
Optional[String[1]] $ldap_require_group_dn = undef,
Optional[String] $ldap_require_user = undef,
Optional[String] $ldap_require_dn = undef,
Optional[String] $ldap_require_attribute = undef,
Optional[String] $ldap_require_filter = undef,
Optional[String[1]] $ldap_require_user = undef,
Optional[String[1]] $ldap_require_dn = undef,
Optional[String[1]] $ldap_require_attribute = undef,
Optional[String[1]] $ldap_require_filter = undef,
Stdlib::Absolutepath $virtualenv_dir = $puppetboard::virtualenv_dir,
) {
$wsgi = $facts['os']['family'] ? {
Expand Down
8 changes: 4 additions & 4 deletions manifests/apache/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
Optional[String[1]] $ldap_bind_authoritative = undef,
Boolean $ldap_require_group = $puppetboard::ldap_require_group,
Optional[String[1]] $ldap_require_group_dn = undef,
Optional[String] $ldap_require_user = undef,
Optional[String] $ldap_require_dn = undef,
Optional[String] $ldap_require_attribute = undef,
Optional[String] $ldap_require_filter = undef,
Optional[String[1]] $ldap_require_user = undef,
Optional[String[1]] $ldap_require_dn = undef,
Optional[String[1]] $ldap_require_attribute = undef,
Optional[String[1]] $ldap_require_filter = undef,
Stdlib::Absolutepath $virtualenv_dir = $puppetboard::virtualenv_dir,
Hash $custom_apache_parameters = {},
) {
Expand Down

0 comments on commit 712c9a8

Please sign in to comment.