-
Notifications
You must be signed in to change notification settings - Fork 614
(CONT-950) - Fix mismatched data types #1430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Resolves an issue introduced during the syntax update carried out in this module. The parameter $value in config_entry, can be either a String, Integer or Float. However, it was wrongly set to exclude Floating point numbers.
postgresql::server is a classBreaking changes to this file WILL impact these 42 modules (exact match):
Breaking changes to this file MAY impact these 17 modules (near match):postgresql::server::config_entry is a typeBreaking changes to this file WILL impact these 6 modules (exact match):Breaking changes to this file MAY impact these 1 modules (near match):postgresql::server::instance::config is a typethat may have no external impact to Forge modules. This module is declared in 70 of 580 indexed public
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -6,7 +6,7 @@ | |||
# | |||
define postgresql::server::config_entry ( | |||
Enum['present', 'absent'] $ensure = 'present', | |||
Optional[Variant[String[1], Integer]] $value = undef, | |||
Optional[Variant[String[1], Numeric]] $value = undef, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1426 (comment) suggests this should have accepted an array as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #1426
Fixes #1423