From a3670a50c4ecd048e926b88e0b9990e7ab1a67da Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 27 Sep 2021 14:49:54 +0000 Subject: [PATCH] Release prep v7.5.0 --- CHANGELOG.md | 14 ++++++++++++++ REFERENCE.md | 25 ++++++++++++------------- metadata.json | 2 +- pdk.yaml | 2 ++ 4 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 pdk.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e68fbf4ce..16e0bd37b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/REFERENCE.md b/REFERENCE.md index 8b5439bab1..d4babcca97 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -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` @@ -863,7 +864,7 @@ The following parameters are available in the `postgresql::server` class: ##### `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. @@ -2571,7 +2572,7 @@ Default value: ``true`` ##### `password_hash` -Data type: `Variant[String, Sensitive[String]]` +Data type: `Variant[Boolean, String, Sensitive[String]]` Sets the hash to use during password creation. @@ -2713,7 +2714,7 @@ Create a new schema. #### Examples -##### +##### ```puppet postgresql::server::schema {'private': @@ -2944,7 +2945,7 @@ Default value: ``undef`` ##### `database_password` -Data type: `Variant[String, Sensitive[String]]` +Data type: `Optional[Variant[String, Sensitive[String]]]` Specifies the password to connect with. @@ -3106,8 +3107,6 @@ The name of the database you are trying to validate a connection with. ##### `db_password` -Data type: `Variant[String, Sensitive[String]]` - The password required to access the target PostgreSQL database. ##### `db_username` @@ -3321,7 +3320,7 @@ This function pull default values from the `params` class or `globals` class if #### Examples -##### +##### ```puppet postgresql::default('variable') @@ -3335,7 +3334,7 @@ Returns: `Any` ##### Examples -###### +###### ```puppet postgresql::default('variable') @@ -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] diff --git a/metadata.json b/metadata.json index 7b5838204e..7146f83496 100644 --- a/metadata.json +++ b/metadata.json @@ -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", diff --git a/pdk.yaml b/pdk.yaml new file mode 100644 index 0000000000..4bef4bd0f9 --- /dev/null +++ b/pdk.yaml @@ -0,0 +1,2 @@ +--- +ignore: []