Skip to content

Commit 7f3ac0c

Browse files
authored
Merge pull request #1287 from puppetlabs/release-prep
Release prep v7.3.0
2 parents a9779c1 + b429781 commit 7f3ac0c

File tree

3 files changed

+140
-2
lines changed

3 files changed

+140
-2
lines changed

Diff for: CHANGELOG.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
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.2.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.2.0) (2021-05-22)
5+
## [v7.3.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.3.0) (2021-08-03)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v7.2.0...v7.3.0)
8+
9+
### Added
10+
11+
- MODULES-11049 - Implement default privileges changes [\#1267](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1267) ([mtancoigne](https://github.com/mtancoigne))
12+
13+
### Fixed
14+
15+
- Do not add version component to repo definition [\#1282](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1282) ([weastur](https://github.com/weastur))
16+
- \(MODULES-8700\) Autorequire the service in postgresql\_psql [\#1276](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1276) ([ekohl](https://github.com/ekohl))
17+
18+
## [v7.2.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.2.0) (2021-05-24)
619

720
[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v7.1.0...v7.2.0)
821

Diff for: REFERENCE.md

+125
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
* [`postgresql::server::database`](#postgresqlserverdatabase): Define for creating a database.
4242
* [`postgresql::server::database_grant`](#postgresqlserverdatabase_grant): Manage a database grant.
4343
* [`postgresql::server::db`](#postgresqlserverdb): Define for conveniently creating a role, database and assigning the correctpermissions.
44+
* [`postgresql::server::default_privileges`](#postgresqlserverdefault_privileges): Manage a database defaults privileges. Only works with PostgreSQL version 9.6 and above.
4445
* [`postgresql::server::extension`](#postgresqlserverextension): Activate an extension on a postgresql database.
4546
* [`postgresql::server::grant`](#postgresqlservergrant): Define for granting permissions to roles.
4647
* [`postgresql::server::grant_role`](#postgresqlservergrant_role): Define for granting membership to a role.
@@ -1721,6 +1722,130 @@ Sets a user as the owner of the database.
17211722

17221723
Default value: ``undef``
17231724

1725+
### <a name="postgresqlserverdefault_privileges"></a>`postgresql::server::default_privileges`
1726+
1727+
Manage a database defaults privileges. Only works with PostgreSQL version 9.6 and above.
1728+
1729+
#### Parameters
1730+
1731+
The following parameters are available in the `postgresql::server::default_privileges` defined type:
1732+
1733+
* [`ensure`](#ensure)
1734+
* [`role`](#role)
1735+
* [`db`](#db)
1736+
* [`object_type`](#object_type)
1737+
* [`privilege`](#privilege)
1738+
* [`schema`](#schema)
1739+
* [`psql_db`](#psql_db)
1740+
* [`psql_user`](#psql_user)
1741+
* [`psql_path`](#psql_path)
1742+
* [`port`](#port)
1743+
* [`connect_settings`](#connect_settings)
1744+
* [`psql_path`](#psql_path)
1745+
* [`group`](#group)
1746+
1747+
##### <a name="ensure"></a>`ensure`
1748+
1749+
Data type: `Enum['present',
1750+
'absent'
1751+
]`
1752+
1753+
Specifies whether to grant or revoke the privilege.
1754+
1755+
Default value: `'present'`
1756+
1757+
##### <a name="role"></a>`role`
1758+
1759+
Data type: `String`
1760+
1761+
Specifies the role or user whom you are granting access to.
1762+
1763+
##### <a name="db"></a>`db`
1764+
1765+
Data type: `String`
1766+
1767+
Specifies the database to which you are granting access.
1768+
1769+
##### <a name="object_type"></a>`object_type`
1770+
1771+
Data type: `Pattern[
1772+
/(?i:^FUNCTIONS$)/,
1773+
/(?i:^ROUTINES$)/,
1774+
/(?i:^SEQUENCES$)/,
1775+
/(?i:^TABLES$)/,
1776+
/(?i:^TYPES$)/
1777+
]`
1778+
1779+
Specify target object type: 'FUNCTIONS', 'ROUTINES', 'SEQUENCES', 'TABLES', 'TYPES'.
1780+
1781+
##### <a name="privilege"></a>`privilege`
1782+
1783+
Data type: `String`
1784+
1785+
Specifies comma-separated list of privileges to grant. Valid options: depends on object type.
1786+
1787+
##### <a name="schema"></a>`schema`
1788+
1789+
Data type: `String`
1790+
1791+
Target schema. Defaults to 'public'.
1792+
1793+
Default value: `'public'`
1794+
1795+
##### <a name="psql_db"></a>`psql_db`
1796+
1797+
Data type: `String`
1798+
1799+
Defines the database to execute the grant against. This should not ordinarily be changed from the default.
1800+
1801+
Default value: `$postgresql::server::default_database`
1802+
1803+
##### <a name="psql_user"></a>`psql_user`
1804+
1805+
Data type: `String`
1806+
1807+
Specifies the OS user for running psql. Default value: The default user for the module, usually 'postgres'.
1808+
1809+
Default value: `$postgresql::server::user`
1810+
1811+
##### <a name="psql_path"></a>`psql_path`
1812+
1813+
Data type: `String`
1814+
1815+
Specifies the OS user for running psql. Default value: The default user for the module, usually 'postgres'.
1816+
1817+
Default value: `$postgresql::server::psql_path`
1818+
1819+
##### <a name="port"></a>`port`
1820+
1821+
Data type: `Integer`
1822+
1823+
Specifies the port to access the server. Default value: The default user for the module, usually '5432'.
1824+
1825+
Default value: `$postgresql::server::port`
1826+
1827+
##### <a name="connect_settings"></a>`connect_settings`
1828+
1829+
Data type: `Hash`
1830+
1831+
Specifies a hash of environment variables used when connecting to a remote server.
1832+
1833+
Default value: `$postgresql::server::default_connect_settings`
1834+
1835+
##### <a name="psql_path"></a>`psql_path`
1836+
1837+
Specifies the path to the psql command.
1838+
1839+
Default value: `$postgresql::server::psql_path`
1840+
1841+
##### <a name="group"></a>`group`
1842+
1843+
Data type: `String`
1844+
1845+
1846+
1847+
Default value: `$postgresql::server::group`
1848+
17241849
### <a name="postgresqlserverextension"></a>`postgresql::server::extension`
17251850

17261851
Activate an extension on a postgresql database.

Diff for: metadata.json

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

0 commit comments

Comments
 (0)