Skip to content

Commit f2f2754

Browse files
authored
Merge pull request #1529 from puppetlabs/fix-postgresql_password
Fix the `postgresql::postgresql_password()` function
2 parents ba8e6d3 + 608d8d7 commit f2f2754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/functions/postgresql/postgresql_password.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
end
3131

3232
def default_impl(username, password, sensitive = false, hash = nil, salt = nil)
33-
hash = call_function(:'postgresql::default', 'password_encryption') if hash.nil?
33+
hash = call_function('postgresql::default', 'password_encryption') if hash.nil?
3434
password = password.unwrap if password.respond_to?(:unwrap)
3535
if password.is_a?(String) && password.match?(%r{^(md5[0-9a-f]{32}$|SCRAM-SHA-256\$)})
3636
return Puppet::Pops::Types::PSensitiveType::Sensitive.new(password) if sensitive

0 commit comments

Comments
 (0)