Skip to content

Commit cc38002

Browse files
Set parameter optional so undef is working
1 parent 1cd09f5 commit cc38002

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/server.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
Boolean $manage_logdir = $postgresql::params::manage_logdir,
182182
Boolean $manage_xlogdir = $postgresql::params::manage_xlogdir,
183183
Postgresql::Pg_password_encryption $password_encryption = $postgresql::params::password_encryption,
184-
Postgresql::Pg_password_encryption $pg_hba_auth_password_encryption = undef,
184+
Optional[Postgresql::Pg_password_encryption] $pg_hba_auth_password_encryption = undef,
185185
Optional[String] $extra_systemd_config = $postgresql::params::extra_systemd_config,
186186

187187
Hash[String, Hash] $roles = {},

manifests/server/instance/config.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
Optional[String[1]] $log_line_prefix = $postgresql::server::log_line_prefix,
7575
Optional[String[1]] $timezone = $postgresql::server::timezone,
7676
Postgresql::Pg_password_encryption $password_encryption = $postgresql::server::password_encryption,
77-
Postgresql::Pg_password_encryption $pg_hba_auth_password_encryption = $postgresql::server::pg_hba_auth_password_encryption,
77+
Optional[Postgresql::Pg_password_encryption] $pg_hba_auth_password_encryption = $postgresql::server::pg_hba_auth_password_encryption,
7878
Optional[String] $extra_systemd_config = $postgresql::server::extra_systemd_config,
7979
) {
8080
if $pg_hba_auth_password_encryption {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy