Skip to content

5.4.0 Mergeback #971

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 3 commits into from
Mar 27, 2018
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
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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))
Expand Down Expand Up @@ -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
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": "5.3.0",
"version": "5.4.0",
"author": "Inkling/Puppet Labs",
"summary": "Offers support for basic management of PostgreSQL databases.",
"license": "Apache-2.0",
Expand Down
45 changes: 38 additions & 7 deletions readmes/README_ja_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
```

Expand Down Expand Up @@ -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`

リモートサーバーへの接続時に使用する環境変数のハッシュを指定します。
Expand Down Expand Up @@ -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`

アクセス権を付与するデータベースを指定します。
Expand Down Expand Up @@ -1493,7 +1513,6 @@ PostgreSQLコマンド'REASSIGN OWNED'をデータベースに対して実行し
**注意して使用してください。**

#### postgresql::server::role

PostgreSQLのロールまたはユーザを作成もしくは削除します。

##### `ensure`
Expand Down Expand Up @@ -1594,6 +1613,16 @@ postgresql::server::role { 'myusername':

ユーザのgrantベースのアクセス権を管理します。詳細については、PostgreSQLマニュアルの`grant`の項を参照してください。

##### `ensure`

権限を付与するか、無効化するかを指定します。デフォルトでは権限を付与します。

有効な値: 'present'、'absent'。
* 権限を付与するには'present'を指定します。
* 権限を無効化するには'absent'を指定します。

デフォルト値: 'present'。

##### `connect_settings`

リモートサーバーへの接続時に使用する環境変数のハッシュを指定します。
Expand Down Expand Up @@ -1814,7 +1843,7 @@ Unixソケットとident認証を使用するとき、このユーザとして

接続するときに使用するポートを定義します。

デフォルト値: ''
デフォルト値: ''

##### `run_as`

Expand Down Expand Up @@ -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) で、タスクを実行する方法に関する情報を参照してください。


## 制約事項

Expand All @@ -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のサポート

Expand Down