Skip to content

Commit 17a70d1

Browse files
authored
Merge pull request #1325 from puppetlabs/release-prep
Release prep v8.0.0
2 parents ec2d0a2 + 1637db5 commit 17a70d1

File tree

3 files changed

+73
-6
lines changed

3 files changed

+73
-6
lines changed

CHANGELOG.md

+28-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,34 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
44

5-
## [v7.5.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.5.0) (2021-09-27)
5+
## [v8.0.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v8.0.0) (2022-03-02)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v7.5.0...v8.0.0)
8+
9+
### Changed
10+
11+
- Support setting default\_privileges on all schemas [\#1298](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1298) ([fish-face](https://github.com/fish-face))
12+
13+
### Added
14+
15+
- add default version for Fedora 35 [\#1317](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1317) ([jflorian](https://github.com/jflorian))
16+
- add scram-sha-256 support [\#1313](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1313) ([fe80](https://github.com/fe80))
17+
- add support for Ubuntu Hirsute and Impish [\#1312](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1312) ([nicholascioli](https://github.com/nicholascioli))
18+
- Allow systemd to mask postgresql service file [\#1310](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1310) ([kim-sondrup](https://github.com/kim-sondrup))
19+
- Make ::contrib a noop on OSes without a contrib package [\#1309](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1309) ([carlosduelo](https://github.com/carlosduelo))
20+
- pdksync - \(IAC-1753\) - Add Support for AlmaLinux 8 [\#1308](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1308) ([david22swan](https://github.com/david22swan))
21+
- MODULES-11201: add service\_name for Ubuntu 18.04 and later [\#1306](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1306) ([moritz-makandra](https://github.com/moritz-makandra))
22+
- pdksync - \(IAC-1751\) - Add Support for Rocky 8 [\#1305](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1305) ([david22swan](https://github.com/david22swan))
23+
- Default privileges support schemas [\#1300](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1300) ([fish-face](https://github.com/fish-face))
24+
- Support target\_role in default\_privileges [\#1297](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1297) ([fish-face](https://github.com/fish-face))
25+
26+
### Fixed
27+
28+
- pdksync - \(IAC-1787\) Remove Support for CentOS 6 [\#1324](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1324) ([david22swan](https://github.com/david22swan))
29+
- Fix python package name in RHEL/CentOS 8 [\#1316](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1316) ([kajinamit](https://github.com/kajinamit))
30+
- Drop further code for Debian 6 and Ubuntu 10 [\#1307](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1307) ([ekohl](https://github.com/ekohl))
31+
32+
## [v7.5.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.5.0) (2021-09-28)
633

734
[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v7.4.1...v7.5.0)
835

REFERENCE.md

+44-4
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ The following parameters are available in the `postgresql::server::contrib` clas
13301330

13311331
##### <a name="package_name"></a>`package_name`
13321332

1333-
Data type: `String`
1333+
Data type: `Optional[String[1]]`
13341334

13351335
The name of the PostgreSQL contrib package.
13361336

@@ -1731,6 +1731,7 @@ Manage a database defaults privileges. Only works with PostgreSQL version 9.6 an
17311731

17321732
The following parameters are available in the `postgresql::server::default_privileges` defined type:
17331733

1734+
* [`target_role`](#target_role)
17341735
* [`ensure`](#ensure)
17351736
* [`role`](#role)
17361737
* [`db`](#db)
@@ -1745,6 +1746,14 @@ The following parameters are available in the `postgresql::server::default_privi
17451746
* [`psql_path`](#psql_path)
17461747
* [`group`](#group)
17471748

1749+
##### <a name="target_role"></a>`target_role`
1750+
1751+
Data type: `Optional[String]`
1752+
1753+
Target role whose created objects will receive the default privileges. Defaults to the current user.
1754+
1755+
Default value: ``undef``
1756+
17481757
##### <a name="ensure"></a>`ensure`
17491758

17501759
Data type: `Enum['present',
@@ -1774,7 +1783,8 @@ Data type: `Pattern[
17741783
/(?i:^ROUTINES$)/,
17751784
/(?i:^SEQUENCES$)/,
17761785
/(?i:^TABLES$)/,
1777-
/(?i:^TYPES$)/
1786+
/(?i:^TYPES$)/,
1787+
/(?i:^SCHEMAS$)/
17781788
]`
17791789

17801790
Specify target object type: 'FUNCTIONS', 'ROUTINES', 'SEQUENCES', 'TABLES', 'TYPES'.
@@ -1789,7 +1799,7 @@ Specifies comma-separated list of privileges to grant. Valid options: depends on
17891799

17901800
Data type: `String`
17911801

1792-
Target schema. Defaults to 'public'.
1802+
Target schema. Defaults to 'public'. Can be set to '' to apply to all schemas.
17931803

17941804
Default value: `'public'`
17951805

@@ -2561,6 +2571,8 @@ The following parameters are available in the `postgresql::server::role` defined
25612571
* [`psql_group`](#psql_group)
25622572
* [`psql_path`](#psql_path)
25632573
* [`module_workdir`](#module_workdir)
2574+
* [`hash`](#hash)
2575+
* [`salt`](#salt)
25642576

25652577
##### <a name="update_password"></a>`update_password`
25662578

@@ -2706,6 +2718,22 @@ Specifies working directory under which the psql command should be executed. May
27062718

27072719
Default value: `$postgresql::server::module_workdir`
27082720

2721+
##### <a name="hash"></a>`hash`
2722+
2723+
Data type: `Enum['md5', 'scram-sha-256']`
2724+
2725+
Specify the hash method for pg password
2726+
2727+
Default value: `'md5'`
2728+
2729+
##### <a name="salt"></a>`salt`
2730+
2731+
Data type: `Optional[Variant[String[1], Integer]]`
2732+
2733+
Specify the salt use for the scram-sha-256 encoding password (default username)
2734+
2735+
Default value: ``undef``
2736+
27092737
### <a name="postgresqlserverschema"></a>`postgresql::server::schema`
27102738

27112739
Create a new schema.
@@ -3370,7 +3398,7 @@ Type: Ruby 4.x API
33703398

33713399
This function returns the postgresql password hash from the clear text username / password
33723400

3373-
#### `postgresql::postgresql_password(Variant[String[1], Integer] $username, Variant[String[1], Sensitive[String[1]], Integer] $password, Optional[Boolean] $sensitive)`
3401+
#### `postgresql::postgresql_password(Variant[String[1], Integer] $username, Variant[String[1], Sensitive[String[1]], Integer] $password, Optional[Boolean] $sensitive, Optional[Optional[Enum['md5', 'scram-sha-256']]] $hash, Optional[Optional[Variant[String[1], Integer]]] $salt)`
33743402

33753403
The postgresql::postgresql_password function.
33763404

@@ -3394,6 +3422,18 @@ Data type: `Optional[Boolean]`
33943422

33953423
If the Postgresql-Passwordhash should be of Datatype Sensitive[String]
33963424

3425+
##### `hash`
3426+
3427+
Data type: `Optional[Optional[Enum['md5', 'scram-sha-256']]]`
3428+
3429+
Set type for password hash
3430+
3431+
##### `salt`
3432+
3433+
Data type: `Optional[Optional[Variant[String[1], Integer]]]`
3434+
3435+
Use a specific salt value for scram-sha-256, default is username
3436+
33973437
### <a name="postgresql_escape"></a>`postgresql_escape`
33983438

33993439
Type: Ruby 4.x API

metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-postgresql",
3-
"version": "7.5.0",
3+
"version": "8.0.0",
44
"author": "puppetlabs",
55
"summary": "Offers support for basic management of PostgreSQL databases.",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)