You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix postgresql::default() return value for unknown parameters
When calling `postgresql::default()` with a name that has no corresponding
parameter, the function returns the string
"postgresql::globals::<parameter-name>" which is probably not intended
given the comment above the code.
The usage of pick seems to indicate that an exception should be raised
when a parameter is not found in `params` nor `globals.pp`, so adjust
the code accordingly.
it{is_expected.torun.with_params('a_parameter_that_does_not_exist').and_raise_error(Puppet::ParseError,%r{pick\(\): must receive at least one non empty value})}
0 commit comments