Skip to content

Commit f25730a

Browse files
authored
Merge pull request puppetlabs#959 from puppetlabs/release
5.3.0 Release Mergeback
2 parents 8177489 + 392558f commit f25730a

File tree

5 files changed

+61
-13
lines changed

5 files changed

+61
-13
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
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/)
44
and this project adheres to [Semantic Versioning](http://semver.org).
55

6+
## Supported Release [5.3.0]
7+
### Summary
8+
Implements rubocop changes within the module, alongside other smaller changes.
9+
10+
#### Added
11+
- ensure=>absent added to postgresql::server:role.
12+
- Support added for Fedora 27.
13+
- scram-sha-256 added as a valid ph_hba_rule auth method.
14+
- 9.6 settings inherited for later PgSQL versions on FreeBSD.
15+
- A require has been added for puppet.
16+
17+
#### Changed
18+
- Changes made to avoid the useless loading of files by augeas.
19+
- Modulesync changes.
20+
- psql_path defaulted to postgresql::server::psql_path.
21+
- Rubocop changes have been made.
22+
23+
#### Removed
24+
- Debian 9 support deprecated.
25+
626
## Supported Release 5.2.1
727
### Summary
828
Bug fix for issue introduced in 5.2.0
@@ -956,3 +976,5 @@ Notable features:
956976
* Remove trailing commas. (e6af5e5)
957977

958978
2012-08-16 - Version 0.2.0 released
979+
980+
[5.3.0]:https://github.com/puppetlabs/puppetlabs-apache/compare/5.2.1...5.3.0

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,8 @@ amount of control over your security settings.
411411

412412
**Tasks:**
413413

414+
* [`sql`](#tasks)
415+
414416
### Classes
415417

416418
#### postgresql::client
@@ -1668,10 +1670,10 @@ Creates or drops a role or user in PostgreSQL.
16681670

16691671
Specify whether to create or drop the role.
16701672

1671-
Specifying `present` will create the role.
1672-
Specifying `absent` will drop the role.
1673+
Specifying 'present' creates the role.
1674+
Specifying 'absent' drops the role.
16731675

1674-
Default value: `present`.
1676+
Default value: 'present'.
16751677

16761678
##### `connection_limit`
16771679

@@ -2067,6 +2069,7 @@ arbitrary SQL against a database. Please refer to to
20672069
[the Bolt documentation](https://puppet.com/docs/bolt/latest/bolt.html) on how
20682070
to execute a task.
20692071

2072+
20702073
## Limitations
20712074

20722075
Works with versions of PostgreSQL from 8.1 through 9.5.
@@ -2084,6 +2087,7 @@ Other systems might be compatible, but are not being actively tested.
20842087
While this module supports both 1.x and 2.x versions of the puppetlabs-apt
20852088
module, it does not support puppetlabs-apt 2.0.0 or 2.0.1.
20862089

2090+
20872091
### PostGIS support
20882092

20892093
PostGIS is currently considered an unsupported feature, as it doesn't work on

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": "5.2.1",
3+
"version": "5.3.0",
44
"author": "Inkling/Puppet Labs",
55
"summary": "Offers support for basic management of PostgreSQL databases.",
66
"license": "Apache-2.0",

readmes/README_ja_JP.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* [定義できるタイプ](#defined-types)
2121
* [タイプ](#types)
2222
* [関数](#functions)
23+
* [タスク](#tasks)
2324
5. [制約事項 - OSの互換性など](#limitations)
2425
6. [開発 - モジュール貢献についてのガイド](#development)
2526
* [コントリビュータ - モジュール貢献者の一覧](#contributors)
@@ -318,7 +319,7 @@ exec { 'rake db:migrate':
318319
}
319320
```
320321

321-
## 参考
322+
## リファレンス
322323

323324
postgresqlモジュールには、サーバー設定用に多数のオプションがあります。以下の設定をすべて使うことはないかもしれませんが、これらを使用することで、セキュリティ設定をかなり制御することができます。
324325

@@ -365,6 +366,10 @@ postgresqlモジュールには、サーバー設定用に多数のオプショ
365366
* [postgresql_password](#function-postgresql_password)
366367
* [postgresql_acls_to_resources_hash](#function-postgresql_acls_to_resources_hashacl_array-id-order_offset)
367368

369+
**タスク:**
370+
371+
* [`sql`](#tasks)
372+
368373
### クラス
369374

370375
#### postgresql::client
@@ -421,7 +426,7 @@ PostgreSQL docsパッケージリソースが存在する必要があるかど
421426

422427
デフォルト値: OSによって異なります。
423428

424-
##### `confdir`
429+
##### `confdir` 
425430

426431
ターゲットプラットフォームのデフォルトのPostgreSQL設定ディレクトリをオーバーライドします。
427432

@@ -957,7 +962,7 @@ PostgreSQLサービスのデフォルトのリロードコマンドをオーバ
957962

958963
##### `service_restart_on_change`
959964

960-
設定変更をアクティブにするにはサービスの再起動が必要な設定エントリが変更された場合に、PostgreSQLサービスを再起動する際のデフォルト動作をオーバーライドします。
965+
設定変更をアクティブにするためにサービスの再起動が必要な設定エントリが変更された場合に、PostgreSQLサービスを再起動する際のデフォルト動作をオーバーライドします。
961966

962967
デフォルト値: `true`
963968

@@ -969,7 +974,7 @@ PostgreSQLサービスのデフォルトのステータスチェックコマン
969974

970975
##### `user`
971976

972-
ファイルシステム内のPostgreSQL関連ファイルのデフォルトのPostgreSQLスーパーユーザおよびオーナーをオーバーライドします
977+
ファイルシステム内のPostgreSQL関連ファイルのデフォルトのPostgreSQLスーパーユーザおよび所有者をオーバーライドします
973978

974979
デフォルト値: 'postgres'。
975980

@@ -1037,7 +1042,7 @@ PostgreSQLのCOMMENTコマンドを使用して、データベースについて
10371042

10381043
##### `connect_settings`
10391044

1040-
リモートサーバーに接続する際に使用される環境変数のハッシュを指定します
1045+
リモートサーバーへの接続時に使用する環境変数のハッシュを指定します
10411046

10421047
デフォルト値: ローカルのPostgresインスタンスに接続します。
10431048

@@ -1149,7 +1154,7 @@ PostgreSQLのCOMMENTコマンドを使用して、データベースについて
11491154

11501155
#### `connect_settings`
11511156

1152-
リモートサーバーに接続する際に使用される環境変数のハッシュを指定します
1157+
リモートサーバーへの接続時に使用する環境変数のハッシュを指定します
11531158

11541159
デフォルト値: ローカルのPostgresインスタンスに接続します。
11551160

@@ -1189,6 +1194,10 @@ PostgreSQL拡張を管理します。
11891194

11901195
拡張を有効化するデータベースを指定します。
11911196

1197+
##### `schema`
1198+
1199+
拡張を有効化するスキーマを指定します。
1200+
11921201
##### `ensure`
11931202

11941203
拡張を有効化するか無効化するかを指定します。
@@ -1484,7 +1493,16 @@ PostgreSQLコマンド'REASSIGN OWNED'をデータベースに対して実行し
14841493
**注意して使用してください。**
14851494

14861495
#### postgresql::server::role
1487-
PostgreSQLのロールまたはユーザを作成します。
1496+
1497+
PostgreSQLのロールまたはユーザを作成もしくは削除します。
1498+
1499+
##### `ensure`
1500+
1501+
ロールを作成するか削除するかを指定します。
1502+
1503+
'present'を指定するとロールが作成され、'absent'を指定するとロールが削除されます。
1504+
1505+
デフォルト値: 'present'。
14881506

14891507
##### `connection_limit`
14901508
ロールが同時に接続可能な数を指定します。
@@ -1828,6 +1846,10 @@ puppet apply --execute 'notify { 'test': message => postgresql_password('usernam
18281846

18291847
**この関数は、モジュールによる内部的な使用のみ可能です。**
18301848

1849+
### タスク
1850+
1851+
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)を参照してください。
1852+
18311853
## 制約事項
18321854

18331855
PostgreSQLのバージョン8.1~9.5で動作します。
@@ -1842,7 +1864,7 @@ PostgreSQLのバージョン8.1~9.5で動作します。
18421864

18431865
### Aptモジュールのサポート
18441866

1845-
このモジュールは1.xと2.x両方のバージョンの'puppetlabs-apt'モジュールをサポートしていますが、'puppetlabs-apt'の2.0.0と2.0.1はサポートしていません
1867+
このモジュールは1.xと2.x両方のバージョンの`puppetlabs-apt` モジュールをサポートしていますが、2.0.0と2.0.1の`puppetlabs-apt`はサポートしていません
18461868

18471869
### PostGISのサポート
18481870

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def psql(psql_cmd, user = 'postgres', exit_codes = [0, 1], &block)
8787

8888
# Configure all nodes in nodeset
8989
c.before :suite do
90-
run_puppet_access_login(user: 'admin') if pe_install?
90+
run_puppet_access_login(user: 'admin') if pe_install? && puppet_version =~ %r{(5\.\d\.\d)}
9191
# Set up selinux if appropriate.
9292
if fact('osfamily') == 'RedHat' && fact('selinux') == 'true'
9393
pp = <<-EOS

0 commit comments

Comments
 (0)