|
70 | 70 | * [`postgresql::default`](#postgresqldefault): This function pull default values from the `params` class or `globals` class if the value is not present in `params`.
|
71 | 71 | * [`postgresql::postgresql_escape`](#postgresqlpostgresql_escape): This function escapes a string using [Dollar Quoting](https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING) using a randomly generated tag if required.
|
72 | 72 | * [`postgresql::postgresql_password`](#postgresqlpostgresql_password): This function returns the postgresql password hash from the clear text username / password
|
| 73 | +* [`postgresql::prepend_sql_password`](#postgresqlprepend_sql_password): This function exists for usage of a role password that is a deferred function |
73 | 74 | * [`postgresql_escape`](#postgresql_escape): DEPRECATED. Use the namespaced function [`postgresql::postgresql_escape`](#postgresqlpostgresql_escape) instead.
|
74 | 75 | * [`postgresql_password`](#postgresql_password): DEPRECATED. Use the namespaced function [`postgresql::postgresql_password`](#postgresqlpostgresql_password) instead.
|
75 | 76 |
|
@@ -1756,9 +1757,7 @@ Default value: ``undef``
|
1756 | 1757 |
|
1757 | 1758 | ##### <a name="ensure"></a>`ensure`
|
1758 | 1759 |
|
1759 |
| -Data type: `Enum['present', |
1760 |
| - 'absent' |
1761 |
| - ]` |
| 1760 | +Data type: `Enum['present', 'absent']` |
1762 | 1761 |
|
1763 | 1762 | Specifies whether to grant or revoke the privilege.
|
1764 | 1763 |
|
@@ -2026,10 +2025,7 @@ Default value: `'database'`
|
2026 | 2025 |
|
2027 | 2026 | ##### <a name="object_name"></a>`object_name`
|
2028 | 2027 |
|
2029 |
| -Data type: `Optional[Variant[ |
2030 |
| - Array[String,2,2], |
2031 |
| - String[1]] |
2032 |
| - ]` |
| 2028 | +Data type: `Optional[Variant[Array[String,2,2],String[1]]]` |
2033 | 2029 |
|
2034 | 2030 | Specifies name of object_type to which to grant access, can be either a string or a two element array. String: 'object_name' Array: ['schema_name', 'object_name']
|
2035 | 2031 |
|
@@ -2077,9 +2073,7 @@ Default value: `$postgresql::server::default_connect_settings`
|
2077 | 2073 |
|
2078 | 2074 | ##### <a name="ensure"></a>`ensure`
|
2079 | 2075 |
|
2080 |
| -Data type: `Enum['present', |
2081 |
| - 'absent' |
2082 |
| - ]` |
| 2076 | +Data type: `Enum['present', 'absent']` |
2083 | 2077 |
|
2084 | 2078 | Specifies whether to grant or revoke the privilege. Default is to grant the privilege. Valid values: 'present', 'absent'.
|
2085 | 2079 |
|
@@ -3434,6 +3428,24 @@ Data type: `Optional[Optional[Variant[String[1], Integer]]]`
|
3434 | 3428 |
|
3435 | 3429 | Use a specific salt value for scram-sha-256, default is username
|
3436 | 3430 |
|
| 3431 | +### <a name="postgresqlprepend_sql_password"></a>`postgresql::prepend_sql_password` |
| 3432 | + |
| 3433 | +Type: Ruby 4.x API |
| 3434 | + |
| 3435 | +This function exists for usage of a role password that is a deferred function |
| 3436 | + |
| 3437 | +#### `postgresql::prepend_sql_password(String $password)` |
| 3438 | + |
| 3439 | +The postgresql::prepend_sql_password function. |
| 3440 | + |
| 3441 | +Returns: `String` |
| 3442 | + |
| 3443 | +##### `password` |
| 3444 | + |
| 3445 | +Data type: `String` |
| 3446 | + |
| 3447 | +The clear text `password` |
| 3448 | + |
3437 | 3449 | ### <a name="postgresql_escape"></a>`postgresql_escape`
|
3438 | 3450 |
|
3439 | 3451 | Type: Ruby 4.x API
|
|
0 commit comments