Skip to content

Commit 6df0f7d

Browse files
Merge pull request #1153 from puppetlabs/release
Merge back for Release version 6.4.0
2 parents 34af4e0 + 575cfe1 commit 6df0f7d

File tree

3 files changed

+238
-11
lines changed

3 files changed

+238
-11
lines changed

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,26 @@
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-
## [v6.3.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v6.3.0) (2019-12-17)
5+
## [v6.4.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v6.4.0) (2020-03-17)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v6.3.0...v6.4.0)
8+
9+
### Added
10+
11+
- Add Fedora 31 compatibility [\#1141](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1141) ([blackknight36](https://github.com/blackknight36))
12+
- feat: enable different database resource name in extension [\#1136](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1136) ([jfroche](https://github.com/jfroche))
13+
- pdksync - \(FM-8581\) - Debian 10 added to travis and provision file refactored [\#1130](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1130) ([david22swan](https://github.com/david22swan))
14+
- Puppet 4 functions [\#1129](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1129) ([binford2k](https://github.com/binford2k))
15+
16+
### Fixed
17+
18+
- Fix incorrectly quoted GRANT cmd on functions [\#1150](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1150) ([olifre](https://github.com/olifre))
19+
- Correct versioncmp logic in config.pp [\#1137](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1137) ([boydtom](https://github.com/boydtom))
20+
- Treat $version as an integer for comparison, defaults to string [\#1135](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1135) ([boydtom](https://github.com/boydtom))
21+
- Allow usage of PUBLIC role [\#1134](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1134) ([Vampouille](https://github.com/Vampouille))
22+
- fix missing systemd override config for EL8 \(CentOS and RHEL\) [\#1131](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1131) ([david-barbion](https://github.com/david-barbion))
23+
24+
## [v6.3.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v6.3.0) (2019-12-18)
625

726
[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v6.2.0...v6.3.0)
827

@@ -12,6 +31,10 @@ All notable changes to this project will be documented in this file. The format
1231
- \(FM-8679\) - Support added for CentOS 8 [\#1117](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1117) ([david22swan](https://github.com/david22swan))
1332
- MODULES-10041 - allow define password\_encryption for version above 10 [\#1111](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1111) ([k2patel](https://github.com/k2patel))
1433

34+
### Fixed
35+
36+
- Remove duplicate REFERENCE.md file with strange unicode character at end of filename [\#1108](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1108) ([nudgegoonies](https://github.com/nudgegoonies))
37+
1538
## [v6.2.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v6.2.0) (2019-09-12)
1639

1740
[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v6.1.0...v6.2.0)

REFERENCE.md

Lines changed: 213 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ _Private Classes_
6262
**Functions**
6363

6464
* [`postgresql::default`](#postgresqldefault): This function pull default values from the `params` class or `globals` class if the value is not present in `params`.
65+
* [`postgresql::postgresql_acls_to_resources_hash`](#postgresqlpostgresql_acls_to_resources_hash): This internal function translates the ipv(4|6)acls format into a resource
66+
* [`postgresql::postgresql_escape`](#postgresqlpostgresql_escape): This function safely escapes a string using a consistent random tag
67+
* [`postgresql::postgresql_password`](#postgresqlpostgresql_password): This function returns the postgresql password hash from the clear text username / password
6568
* [`postgresql_acls_to_resources_hash`](#postgresql_acls_to_resources_hash): This internal function translates the ipv(4|6)acls format into a resource suitable for create_resources. It is not intended to be used outsid
6669
* [`postgresql_escape`](#postgresql_escape): This function safely escapes a string using a consistent random tag
6770
* [`postgresql_password`](#postgresql_password): This function returns the postgresql password hash from the clear text username / password
@@ -493,6 +496,30 @@ Allow Puppet to manage the recovery.conf file.
493496

494497
Default value: `undef`
495498

499+
##### `manage_datadir`
500+
501+
Data type: `Any`
502+
503+
Set to false if you have file{ $datadir: } already defined
504+
505+
Default value: `undef`
506+
507+
##### `manage_logdir`
508+
509+
Data type: `Any`
510+
511+
Set to false if you have file{ $logdir: } already defined
512+
513+
Default value: `undef`
514+
515+
##### `manage_xlogdir`
516+
517+
Data type: `Any`
518+
519+
Set to false if you have file{ $xlogdir: } already defined
520+
521+
Default value: `undef`
522+
496523
##### `manage_package_repo`
497524

498525
Data type: `Any`
@@ -507,6 +534,14 @@ Data type: `Any`
507534

508535
Specifies working directory under which the psql command should be executed. May need to specify if '/tmp' is on volume mounted with noexec option.
509536

537+
Default value: `undef`
538+
539+
##### `manage_selinux`
540+
541+
Data type: `Any`
542+
543+
544+
510545
Default value: `undef`
511546

512547
### postgresql::lib::devel
@@ -974,14 +1009,6 @@ Set timezone for the PostgreSQL instance
9741009

9751010
Default value: $postgresql::params::timezone
9761011

977-
##### `password_encryption`
978-
979-
Data type: `Any`
980-
981-
Set Password Authentication when password-based authentication methods used
982-
983-
Default value: $postgresql::params::password_encryption
984-
9851012
##### `manage_pg_hba_conf`
9861013

9871014
Data type: `Any`
@@ -1014,6 +1041,30 @@ Working directory for the PostgreSQL module
10141041

10151042
Default value: $postgresql::params::module_workdir
10161043

1044+
##### `manage_datadir`
1045+
1046+
Data type: `Any`
1047+
1048+
Set to false if you have file{ $datadir: } already defined
1049+
1050+
Default value: $postgresql::params::manage_datadir
1051+
1052+
##### `manage_logdir`
1053+
1054+
Data type: `Any`
1055+
1056+
Set to false if you have file{ $logdir: } already defined
1057+
1058+
Default value: $postgresql::params::manage_logdir
1059+
1060+
##### `manage_xlogdir`
1061+
1062+
Data type: `Any`
1063+
1064+
Set to false if you have file{ $xlogdir: } already defined
1065+
1066+
Default value: $postgresql::params::manage_xlogdir
1067+
10171068
##### `roles`
10181069

10191070
Data type: `Hash[String, Hash]`
@@ -1046,6 +1097,22 @@ Sets PostgreSQL version
10461097

10471098
Default value: `undef`
10481099

1100+
##### `manage_selinux`
1101+
1102+
Data type: `Boolean`
1103+
1104+
1105+
1106+
Default value: $postgresql::params::manage_selinux
1107+
1108+
##### `password_encryption`
1109+
1110+
Data type: `Any`
1111+
1112+
1113+
1114+
Default value: $postgresql::params::password_encryption
1115+
10491116
### postgresql::server::contrib
10501117

10511118
Install the contrib postgresql packaging.
@@ -1479,7 +1546,15 @@ Data type: `Any`
14791546

14801547
Specifies a hash of environment variables used when connecting to a remote server.
14811548

1482-
Default value: $postgresql::server::default_connect_settings
1549+
Default value: postgresql::default('default_connect_settings')
1550+
1551+
##### `database_resource_name`
1552+
1553+
Data type: `Any`
1554+
1555+
Specifies the resource name of the DB being managed. Defaults to the parameter $database, if left blank.
1556+
1557+
Default value: $database
14831558

14841559
### postgresql::server::grant
14851560

@@ -1592,6 +1667,14 @@ Specifies whether to grant or revoke the privilege. Default is to grant the priv
15921667

15931668
Default value: 'present'
15941669

1670+
##### `object_arguments`
1671+
1672+
Data type: `Array[String[1],0]`
1673+
1674+
1675+
1676+
Default value: []
1677+
15951678
### postgresql::server::grant_role
15961679

15971680
Define for granting membership to a role.
@@ -2244,6 +2327,14 @@ Data type: `Any`
22442327

22452328
Specifies the path to locate this tablespace.
22462329

2330+
##### `manage_location`
2331+
2332+
Data type: `Any`
2333+
2334+
Set to false if you have file{ $location: } already defined
2335+
2336+
Default value: `true`
2337+
22472338
##### `owner`
22482339

22492340
Data type: `Any`
@@ -2632,6 +2723,119 @@ Data type: `String`
26322723

26332724

26342725

2726+
### postgresql::postgresql_acls_to_resources_hash
2727+
2728+
Type: Ruby 4.x API
2729+
2730+
This is an autogenerated function, ported from the original legacy version.
2731+
It /should work/ as is, but will not have all the benefits of the modern
2732+
function API. You should see the function docs to learn how to add function
2733+
signatures for type safety and to document this function using puppet-strings.
2734+
2735+
https://puppet.com/docs/puppet/latest/custom_functions_ruby.html
2736+
2737+
---- original file header ----
2738+
postgresql_acls_to_resources_hash.rb
2739+
---- original file header ----
2740+
2741+
suitable for create_resources. It is not intended to be used outside of the
2742+
postgresql internal classes/defined resources.
2743+
2744+
@return This function accepts an array of strings that are pg_hba.conf rules. It
2745+
will return a hash that can be fed into create_resources to create multiple
2746+
individual pg_hba_rule resources.
2747+
2748+
The second parameter is an identifier that will be included in the namevar
2749+
to provide uniqueness. It must be a string.
2750+
2751+
The third parameter is an order offset, so you can start the order at an
2752+
arbitrary starting point.
2753+
2754+
#### `postgresql::postgresql_acls_to_resources_hash(Any *$args)`
2755+
2756+
This is an autogenerated function, ported from the original legacy version.
2757+
It /should work/ as is, but will not have all the benefits of the modern
2758+
function API. You should see the function docs to learn how to add function
2759+
signatures for type safety and to document this function using puppet-strings.
2760+
2761+
https://puppet.com/docs/puppet/latest/custom_functions_ruby.html
2762+
2763+
---- original file header ----
2764+
postgresql_acls_to_resources_hash.rb
2765+
---- original file header ----
2766+
2767+
suitable for create_resources. It is not intended to be used outside of the
2768+
postgresql internal classes/defined resources.
2769+
2770+
@return This function accepts an array of strings that are pg_hba.conf rules. It
2771+
will return a hash that can be fed into create_resources to create multiple
2772+
individual pg_hba_rule resources.
2773+
2774+
The second parameter is an identifier that will be included in the namevar
2775+
to provide uniqueness. It must be a string.
2776+
2777+
The third parameter is an order offset, so you can start the order at an
2778+
arbitrary starting point.
2779+
2780+
Returns: `Data type` Describe what the function returns here
2781+
2782+
##### `*args`
2783+
2784+
Data type: `Any`
2785+
2786+
The original array of arguments. Port this to individually managed params
2787+
to get the full benefit of the modern function API.
2788+
2789+
### postgresql::postgresql_escape
2790+
2791+
Type: Ruby 4.x API
2792+
2793+
postgresql_escape.rb
2794+
---- original file header ----
2795+
2796+
@return Safely escapes a string using $$ using a random tag which should be consistent
2797+
2798+
#### `postgresql::postgresql_escape(Any *$args)`
2799+
2800+
postgresql_escape.rb
2801+
---- original file header ----
2802+
2803+
@return Safely escapes a string using $$ using a random tag which should be consistent
2804+
2805+
Returns: `Data type` Describe what the function returns here
2806+
2807+
##### `*args`
2808+
2809+
Data type: `Any`
2810+
2811+
The original array of arguments. Port this to individually managed params
2812+
to get the full benefit of the modern function API.
2813+
2814+
### postgresql::postgresql_password
2815+
2816+
Type: Ruby 4.x API
2817+
2818+
postgresql_password.rb
2819+
---- original file header ----
2820+
2821+
@return Returns the postgresql password hash from the clear text username / password.
2822+
2823+
#### `postgresql::postgresql_password(Any *$args)`
2824+
2825+
postgresql_password.rb
2826+
---- original file header ----
2827+
2828+
@return Returns the postgresql password hash from the clear text username / password.
2829+
2830+
Returns: `Data type` Describe what the function returns here
2831+
2832+
##### `*args`
2833+
2834+
Data type: `Any`
2835+
2836+
The original array of arguments. Port this to individually managed params
2837+
to get the full benefit of the modern function API.
2838+
26352839
### postgresql_acls_to_resources_hash
26362840

26372841
Type: Ruby 3.x API

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-postgresql",
3-
"version": "6.3.0",
3+
"version": "6.4.0",
44
"author": "Inkling/Puppet Labs",
55
"summary": "Offers support for basic management of PostgreSQL databases.",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)