Skip to content

Commit 7d7a82a

Browse files
committed
defaults and include setup_pgdg_* properties
1 parent e3a7aa0 commit 7d7a82a

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This file is used to list changes made in the last 3 major versions of the postg
55
## Unreleased
66

77
- Cast `server_config` keys to strings in `postgresql_config` to avoid unnecessary converges
8+
- Add `setup_pgdg_*` properties to `postgresql_install` to allow more fine grained control over derived `yum_repository` resources
89

910
## 12.0.3 - *2024-12-30*
1011

documentation/postgresql_install.md

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,30 @@
1717

1818
## Properties
1919

20-
| Name | Name? | Type | Default | Description | Allowed Values |
21-
| ---------------------------------- | ----- | --------------- | ------- | ------------------------------------------------ | -------------- |
22-
| `sensitive` | | true, false | | | |
23-
| `version` | | String, Integer | | Version to install | |
24-
| `source` | | String, Symbol | | Installation source | repo, os |
25-
| `client_packages` | | String, Array | | Client packages to install | |
26-
| `server_packages` | | String, Array | | Server packages to install | |
27-
| `repo_pgdg` | | true, false | | Create pgdg repo | |
28-
| `repo_pgdg_common` | | true, false | | Create pgdg-common repo | |
29-
| `repo_pgdg_source` | | true, false | | Create pgdg-source repo | |
30-
| `repo_pgdg_updates_testing` | | true, false | | Create pgdg-updates-testing repo | |
31-
| `repo_pgdg_source_updates_testing` | | true, false | | Create pgdg-source-updates-testing repo | |
32-
| `yum_gpg_key_uri` | | String | | YUM/DNF GPG key URL | |
33-
| `apt_repository_uri` | | String | | apt repository URL | |
34-
| `apt_gpg_key_uri` | | String | | apt GPG key URL | |
35-
| `initdb_additional_options` | | String | | Additional options to pass to the initdb command | |
36-
| `initdb_locale` | | String | | Locale to use for the initdb command | |
37-
| `initdb_encoding` | | String | | Encoding to use for the initdb command | |
38-
| `initdb_user` | | String | | User to run the initdb command as | |
20+
| Name | Name? | Type | Default | Description | Allowed Values |
21+
| ---------------------------------- | ----- | --------------- | ----------------- | ------------------------------------------------ | -------------- |
22+
| `sensitive` | | true, false | `true` | | |
23+
| `version` | | String, Integer | `'17'` | Version to install | |
24+
| `source` | | String, Symbol | `:repo` | Installation source | repo, os |
25+
| `client_packages` | | String, Array | platform specific | Client packages to install | |
26+
| `server_packages` | | String, Array | platform specific | Server packages to install | |
27+
| `repo_pgdg` | | true, false | `true` | Create pgdg repo | |
28+
| `setup_repo_pgdg` | | true, false | value of previous | Whether or not to manage the pgdg repo | |
29+
| `repo_pgdg_common` | | true, false | `true` | Create pgdg-common repo | |
30+
| `setup_repo_pgdg_common` | | true, false | value of previous | Whether or not to manage the pgdg_common repo | |
31+
| `repo_pgdg_source` | | true, false | `false` | Create pgdg-source repo | |
32+
| `setup_repo_pgdg_source` | | true, false | value of previous | Whether or not to manage the pgdg_source repo | |
33+
| `repo_pgdg_updates_testing` | | true, false | `false` | Create pgdg-updates-testing repo | |
34+
| `setup_repo_pgdg_updates_testing` | | true, false | value of previous | Whether or not to manage the pgdg_updates_testing repo | |
35+
| `repo_pgdg_source_updates_testing` | | true, false | `false` | Create pgdg-source-updates-testing repo | |
36+
| `setup_repo_pgdg_source_updates_testing` | | true, false | value of previous | Whether or not to manage the pgdg_source_updates_testing repo | |
37+
| `yum_gpg_key_uri` | | String | platform specific | YUM/DNF GPG key URL | |
38+
| `apt_repository_uri` | | String | https://download.postgresql.org/pub/repos/apt/ | apt repository URL | |
39+
| `apt_gpg_key_uri` | | String | https://download.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt GPG key URL | |
40+
| `initdb_additional_options` | | String | | Additional options to pass to the initdb command | |
41+
| `initdb_locale` | | String | | Locale to use for the initdb command | |
42+
| `initdb_encoding` | | String | | Encoding to use for the initdb command | |
43+
| `initdb_user` | | String | `'postgres'` | User to run the initdb command as | |
3944

4045
## Libraries
4146

0 commit comments

Comments
 (0)