Skip to content

Commit 9eb7968

Browse files
committed
Add a comment referencing where this Enum is defined
1 parent 396aec2 commit 9eb7968

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: lib/puppet/functions/postgresql/postgresql_password.rb

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
required_param 'Variant[String[1], Integer]', :username
2525
required_param 'Variant[String[1], Sensitive[String[1]], Integer]', :password
2626
optional_param 'Boolean', :sensitive
27+
# Note that this Enum is also defined in:
28+
# types/pg_password_encryption.pp
2729
optional_param 'Optional[Enum["md5", "scram-sha-256"]]', :hash
2830
optional_param 'Optional[Variant[String[1], Integer]]', :salt
2931
return_type 'Variant[String, Sensitive[String]]'

Diff for: types/pg_password_encryption.pp

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# @summary the supported password_encryption
2+
# Note that this Enum is also defined in:
3+
# lib/puppet/functions/postgresql/postgresql_password.rb
24
type Postgresql::Pg_password_encryption = Enum['md5', 'scram-sha-256']

0 commit comments

Comments
 (0)