diff --git a/CHANGELOG.md b/CHANGELOG.md index a05fed5008..2e06180c5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,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). +## Supported Release [5.4.0] +### Summary +This is a minor release, it makes this module PDK-compliant for easier maintenance and includes a roll up of maintenance changes. + +#### Added +- PDK conversion [MODULES-6330](https://tickets.puppetlabs.com/browse/MODULES-6330). +- Parameter for `postgresql::server::database`: + - `ensure` Capability to revoke database privileges [PostgreSQL documentation for `grant`](http://www.postgresql.org/docs/current/static/sql-grant.html). +- Parameter for `postgresql::server::database_grant`: + - `ensure` Capability to revoke database privileges [PostgreSQL documentation for `grant`](http://www.postgresql.org/docs/current/static/sql-grant.html). + +#### Fixed +- Documentation error, `reassign_owned_by` uses `*_role` not `*_owner`. + ## Supported Release [5.3.0] ### Summary Implements rubocop changes within the module, alongside other smaller changes. @@ -25,7 +39,7 @@ Implements rubocop changes within the module, alongside other smaller changes. ## Supported Release 5.2.1 ### Summary -Bug fix for issue introduced in 5.2.0 +Bug fix for issue introduced in 5.2.0 #### Fixed - issue where the module was attempting to install extensions before a database was available. ([SERVER-2003](https://tickets.puppetlabs.com/browse/SERVER-2003)) @@ -977,4 +991,5 @@ Notable features: 2012-08-16 - Version 0.2.0 released +[5.4.0]:https://github.com/puppetlabs/puppetlabs-apache/compare/5.3.0...5.4.0 [5.3.0]:https://github.com/puppetlabs/puppetlabs-apache/compare/5.2.1...5.3.0 diff --git a/metadata.json b/metadata.json index ad5a312279..97085c8279 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-postgresql", - "version": "5.3.0", + "version": "5.4.0", "author": "Inkling/Puppet Labs", "summary": "Offers support for basic management of PostgreSQL databases.", "license": "Apache-2.0", diff --git a/readmes/README_ja_JP.md b/readmes/README_ja_JP.md index 7d35811ba8..9f4710c333 100644 --- a/readmes/README_ja_JP.md +++ b/readmes/README_ja_JP.md @@ -124,9 +124,9 @@ REASSIGN OWNEDを使用して、データベース内にあるすべてのオブ ```puppet postgresql::server::reassign_owned_by { 'new owner is meerkat': - db => 'test_db', - old_owner => 'marmot', - new_owner => 'meerkat', + db => 'test_db', + old_role => 'marmot', + new_role => 'meerkat', } ``` @@ -1152,6 +1152,16 @@ PostgreSQLのCOMMENTコマンドを使用して、データベースについて データベース固有のパーミッションについて`postgresql::server::database_grant`をラッピングして、grantベースのユーザアクセス権を管理します。詳細については、[PostgreSQLマニュアルの`grant`](http://www.postgresql.org/docs/current/static/sql-grant.html)を参照してください。 +##### `ensure` + +権限を付与するか、無効化するかを指定します。無効化する'absent'はPostgreSQLバージョン9.1.24以降でのみ機能します。 + +有効な値: 'present'、'absent'。 +* 権限を付与するには'present'を指定します。 +* 権限を無効化するには'absent'を指定します。 + +デフォルト値: 'present'。 + #### `connect_settings` リモートサーバーへの接続時に使用する環境変数のハッシュを指定します。 @@ -1237,6 +1247,16 @@ PostgreSQL拡張を管理します。 ロールのgrantベースのアクセス権を管理します。詳細については、[PostgreSQLマニュアルの`grant`](http://www.postgresql.org/docs/current/static/sql-grant.html)を参照してください。 +##### `ensure` + +権限を付与するか、無効化するかを指定します。デフォルトでは権限を付与します。 + +有効な値: 'present'、'absent'。 +* 権限を付与するには'present'を指定します。 +* 権限を無効化するには'absent'を指定します。 + +デフォルト値: 'present'。 + ##### `db` アクセス権を付与するデータベースを指定します。 @@ -1493,7 +1513,6 @@ PostgreSQLコマンド'REASSIGN OWNED'をデータベースに対して実行し **注意して使用してください。** #### postgresql::server::role - PostgreSQLのロールまたはユーザを作成もしくは削除します。 ##### `ensure` @@ -1594,6 +1613,16 @@ postgresql::server::role { 'myusername': ユーザのgrantベースのアクセス権を管理します。詳細については、PostgreSQLマニュアルの`grant`の項を参照してください。 +##### `ensure` + +権限を付与するか、無効化するかを指定します。デフォルトでは権限を付与します。 + +有効な値: 'present'、'absent'。 +* 権限を付与するには'present'を指定します。 +* 権限を無効化するには'absent'を指定します。 + +デフォルト値: 'present'。 + ##### `connect_settings` リモートサーバーへの接続時に使用する環境変数のハッシュを指定します。 @@ -1814,7 +1843,7 @@ Unixソケットとident認証を使用するとき、このユーザとして 接続するときに使用するポートを定義します。 -デフォルト値: '' +デフォルト値: '' ##### `run_as` @@ -1848,7 +1877,8 @@ puppet apply --execute 'notify { 'test': message => postgresql_password('usernam ### タスク -postgresqlモジュールの'sqlサンプルタスクは、データベースに対して任意のSQLを実行します。タスクの実行方法については、[Puppet Enterpriseマニュアル](https://puppet.com/docs/pe/2017.3/orchestrator/running_tasks.html)または[Boltマニュアル](https://puppet.com/docs/bolt/latest/bolt.html)を参照してください。 +Postgresqlモジュールにはサンプルタスクがあり、ユーザはデータベースに対して任意のSQLを実行できます。[PEマニュアル](https://puppet.com/docs/pe/2017.3/orchestrator/running_tasks.html)または[Boltマニュアル](https://puppet.com/docs/bolt/latest/bolt.html) で、タスクを実行する方法に関する情報を参照してください。 + ## 制約事項 @@ -1864,7 +1894,8 @@ PostgreSQLのバージョン8.1~9.5で動作します。 ### Aptモジュールのサポート -このモジュールは1.xと2.x両方のバージョンの`puppetlabs-apt` モジュールをサポートしていますが、2.0.0と2.0.1の`puppetlabs-apt`はサポートしていません。 +このモジュールは1.xと2.x両方のバージョンの'puppetlabs-apt'モジュールをサポートしていますが、'puppetlabs-apt'の2.0.0と2.0.1はサポートしていません。 + ### PostGISのサポート