Skip to content

Commit

Permalink
Set parameter optional so undef is working
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonHoenscheid committed Aug 31, 2023
1 parent dece20a commit 8469570
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
Boolean $manage_logdir = $postgresql::params::manage_logdir,
Boolean $manage_xlogdir = $postgresql::params::manage_xlogdir,
Postgresql::Pg_password_encryption $password_encryption = $postgresql::params::password_encryption,
Postgresql::Pg_password_encryption $pg_hba_auth_password_encryption = undef,
Optional[Postgresql::Pg_password_encryption] $pg_hba_auth_password_encryption = undef,
Optional[String] $extra_systemd_config = $postgresql::params::extra_systemd_config,

Hash[String, Hash] $roles = {},
Expand Down
2 changes: 1 addition & 1 deletion manifests/server/instance/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
Optional[String[1]] $log_line_prefix = $postgresql::server::log_line_prefix,
Optional[String[1]] $timezone = $postgresql::server::timezone,
Postgresql::Pg_password_encryption $password_encryption = $postgresql::server::password_encryption,
Postgresql::Pg_password_encryption $pg_hba_auth_password_encryption = $postgresql::server::pg_hba_auth_password_encryption,
Optional[Postgresql::Pg_password_encryption] $pg_hba_auth_password_encryption = $postgresql::server::pg_hba_auth_password_encryption,
Optional[String] $extra_systemd_config = $postgresql::server::extra_systemd_config,
) {
if $pg_hba_auth_password_encryption {
Expand Down

0 comments on commit 8469570

Please sign in to comment.