Skip to content

Release prep v7.5.0 #1304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

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).

## [v7.5.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.5.0) (2021-09-27)

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

### Added

- Use Puppet-Datatype Sensitive for Passwords [\#1279](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1279) ([cocker-cc](https://github.com/cocker-cc))

### Fixed

- \(IAC-1598\) - Remove Support for Debian 8 [\#1302](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1302) ([david22swan](https://github.com/david22swan))
- Inline file contents in the catalog [\#1299](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1299) ([ekohl](https://github.com/ekohl))
- Fix changing default encoding [\#1296](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1296) ([smortex](https://github.com/smortex))

## [v7.4.1](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.4.1) (2021-08-25)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v7.4.0...v7.4.1)
Expand Down
25 changes: 12 additions & 13 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* `postgresql::server::config`
* `postgresql::server::initdb`
* `postgresql::server::install`
* `postgresql::server::late_initdb`: Manage the default encoding when database initialization is managed by the package
* `postgresql::server::passwd`
* `postgresql::server::reload`
* `postgresql::server::service`
Expand Down Expand Up @@ -863,7 +864,7 @@ The following parameters are available in the `postgresql::server` class:

##### <a name="postgres_password"></a>`postgres_password`

Data type: `Variant[String, Sensitive[String]]`
Data type: `Optional[Variant[String[1], Sensitive[String[1]], Integer]]`

Sets the password for the postgres user to your specified value. By default, this setting uses the superuser account in the Postgres database, with a user called postgres and no password.

Expand Down Expand Up @@ -2571,7 +2572,7 @@ Default value: ``true``

##### <a name="password_hash"></a>`password_hash`

Data type: `Variant[String, Sensitive[String]]`
Data type: `Variant[Boolean, String, Sensitive[String]]`

Sets the hash to use during password creation.

Expand Down Expand Up @@ -2713,7 +2714,7 @@ Create a new schema.

#### Examples

#####
#####

```puppet
postgresql::server::schema {'private':
Expand Down Expand Up @@ -2944,7 +2945,7 @@ Default value: ``undef``

##### <a name="database_password"></a>`database_password`

Data type: `Variant[String, Sensitive[String]]`
Data type: `Optional[Variant[String, Sensitive[String]]]`

Specifies the password to connect with.

Expand Down Expand Up @@ -3106,8 +3107,6 @@ The name of the database you are trying to validate a connection with.

##### <a name="db_password"></a>`db_password`

Data type: `Variant[String, Sensitive[String]]`

The password required to access the target PostgreSQL database.

##### <a name="db_username"></a>`db_username`
Expand Down Expand Up @@ -3321,7 +3320,7 @@ This function pull default values from the `params` class or `globals` class if

#### Examples

#####
#####

```puppet
postgresql::default('variable')
Expand All @@ -3335,7 +3334,7 @@ Returns: `Any`

##### Examples

######
######

```puppet
postgresql::default('variable')
Expand Down Expand Up @@ -3371,27 +3370,27 @@ Type: Ruby 4.x API

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

#### `postgresql::postgresql_password(Variant[String[1],Integer] $username, Variant[String[1], Sensitive[String[1]], Integer] $password)`
#### `postgresql::postgresql_password(Variant[String[1], Integer] $username, Variant[String[1], Sensitive[String[1]], Integer] $password, Optional[Boolean] $sensitive)`

The postgresql::postgresql_password function.

Returns: `String` The postgresql password hash from the clear text username / password.
Returns: `Variant[String, Sensitive[String]]` The postgresql password hash from the clear text username / password.

##### `username`

Data type: `Variant[String[1],Integer]`
Data type: `Variant[String[1], Integer]`

The clear text `username`

##### `password`

Data type: `Variant[String[1],Integer]`
Data type: `Variant[String[1], Sensitive[String[1]], Integer]`

The clear text `password`

##### `sensitive`

Data type: `Boolean`
Data type: `Optional[Boolean]`

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

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-postgresql",
"version": "7.4.1",
"version": "7.5.0",
"author": "puppetlabs",
"summary": "Offers support for basic management of PostgreSQL databases.",
"license": "Apache-2.0",
Expand Down
2 changes: 2 additions & 0 deletions pdk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
ignore: []