Skip to content

Commit

Permalink
define Enum on supported encryption types for postgresql_password fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
figless committed Aug 30, 2024
1 parent 05a7809 commit 396aec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/functions/postgresql/postgresql_password.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
required_param 'Variant[String[1], Integer]', :username
required_param 'Variant[String[1], Sensitive[String[1]], Integer]', :password
optional_param 'Boolean', :sensitive
optional_param 'Optional[Postgresql::Pg_password_encryption]', :hash
optional_param 'Optional[Enum["md5", "scram-sha-256"]]', :hash
optional_param 'Optional[Variant[String[1], Integer]]', :salt
return_type 'Variant[String, Sensitive[String]]'
end
Expand Down

0 comments on commit 396aec2

Please sign in to comment.