Commit graph

321 commits

Author SHA1 Message Date
Brett Smith
265043c229 feat(codenamemap): add support for Debian 12 2024-01-17 16:46:06 -05:00
teankie
12666c3b13
fix(upstream): install keyring only in old versions
Solves #327: postgresql-common conflicts with pgdg-keyring

Co-authored-by: teankie <remcomank@eleven.nl>
2023-02-09 07:17:56 -03:00
Imran Iqbal
fdf5f36c2d
feat(codenamemap): add support for Ubuntu 22.04 2022-07-18 07:03:55 +01:00
Javier Bértoli
7bba14a61c fix(opensuse): fix repo key parameter
Also, fix tests for the different RedHat's family members
2022-02-04 20:57:30 -03:00
Javier Bértoli
b6a28fee0d feat(debian): use repository keyring instead of key_id 2022-02-04 18:02:08 -03:00
Imran Iqbal
060c8df630
fix(redhat): fix pkg_deps to be able to install PostgreSQL 13 2021-07-20 16:25:49 +01:00
Imran Iqbal
8a11bd679a
feat(codenamemap): update to current supported Fedora versions 2021-07-20 16:24:58 +01:00
Pedro Worcel
216192dece feat(debian): add bullseye support 2021-07-13 10:15:04 +12:00
Eugene Chepurniy
2de775be1e fix(osmap.yaml): fix PGDG repo file creation for Amazon Linux 2021-07-06 15:11:56 +03:00
noelmcloughlin
92e0ad383c chore(version): bump to modern version 2021-06-09 21:43:13 +01:00
noelmcloughlin
9e145be0ed chore(clean): remove directory after pkg remove 2021-06-06 21:12:30 +01:00
noelmcloughlin
eb63ec85e0 fix(jinja): use json filter 2021-05-20 16:56:08 +01:00
Imran Iqbal
fc53d977b3
test: standardise use of share suite & _mapdata state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
2021-03-23 21:31:59 +00:00
Javier Bértoli
26b223323f fix(repo): check whether pkg_repo is set 2021-02-26 08:58:20 -03:00
Javier Bértoli
750d8aab7a fix(repo): reorder dependencies to prevent errors 2021-02-25 18:48:20 -03:00
noelmcloughlin
4c0f796f00 fix(cent7): postgres11 needs libicu installed 2021-01-07 11:47:08 +00:00
N
f589e96824
Merge pull request #303 from noelmcloughlin/suse
fix(suse): version 11+ repo support on suse
2020-12-08 10:53:53 +00:00
N
44ac9ff9d4
Merge pull request #306 from noelmcloughlin/pkg
fix(archlinux): avoid nonetype error when grain is missing
2020-12-07 10:24:36 +00:00
noelmcloughlin
0a6cf8fefa fix(archlinux): avoid nonetype error 2020-12-05 23:30:03 +00:00
N
150926401e
Merge pull request #304 from noelmcloughlin/archlinux
feat(archlinux): add support
2020-12-05 13:45:46 +00:00
noelmcloughlin
8b44c068fc fix(jinja): syntax correction 2020-12-04 14:04:56 +00:00
noelmcloughlin
3a955e0270 fix(archlinux): use consistent jinja repo check 2020-12-03 18:43:42 +00:00
noelmcloughlin
d6d1068395 fix(python): use python3 postres on cent7/8 2020-12-03 11:58:31 +00:00
noelmcloughlin
b3f381e547 fix(suse): version 11+ repo support on suse 2020-12-02 23:33:09 +00:00
Julien Levieil
ab6b97e8c3 fix(upstream): require_in/require use_upstream 2020-09-29 10:55:31 +11:00
sticky-note
5e6511b783 fix(macros): fix format_kwargs macro 2020-07-27 11:14:24 +11:00
Imran Iqbal
8735cf8ad1 style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
2020-07-19 23:28:10 +01:00
LitniAlex
07044bf7c1 fix(postgres.server): reverted how posrgre.server.image is included 2020-07-06 18:24:52 +03:00
LitniAlex
278893c2f0 fix(contributing): postgresql-service-reload type 2020-07-06 17:26:52 +03:00
LitniAlex
69b57e3b69 fix(contributing): postgresql-repo state ID requires python3-apt package 2020-07-06 17:24:28 +03:00
LitniAlex
68a791ef09 fix(contributing): runnig formula inside container 2020-06-25 14:35:50 +03:00
Imran Iqbal
e6b14853d5 fix(libtofs): “files_switch” mess up the variable exported by “map.jinja” [skip ci]
* Checked using https://github.com/myii/ssf-formula/pull/131
2020-02-14 19:10:42 +00:00
Imran Iqbal
d538798ee4
fix(mac_shortcut.sh): fix shellcheck error
```bash
In postgres/templates/mac_shortcut.sh line 3:
shortcutName='${1}'
             ^----^ SC2016: Expressions don't expand in single quotes, use double quotes for that.
```
2019-12-27 19:59:32 +00:00
Imran Iqbal
9cc95c0209
feat(codenamemap): update for current versions 2019-12-27 19:46:38 +00:00
Imran Iqbal
d606b28692
fix(macros.jinja): apply suggestion from PR
Co-Authored-By: Denys Havrysh <Denys.Gavrysh@gmail.com>
2019-10-28 09:24:04 +00:00
Imran Iqbal
7ff798a27e
fix(macros.jinja): use user kwarg for schemas (required on FreeBSD)
* Not available in `2017.7`:
  - https://docs.saltstack.com/en/2017.7/ref/states/all/salt.states.postgres_schema.html
2019-10-27 20:17:03 +00:00
Imran Iqbal
1f3cfccc0d
fix(python.sls): fix salt-lint errors
```bash
Examining postgres/python.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
postgres/python.sls:8
    - name: {{ postgres.pkg_python}}
```
2019-10-09 18:08:20 +01:00
Imran Iqbal
bf5b4d6fd7
fix(manage.sls): fix salt-lint errors
```bash
Examining postgres/manage.sls of type state
[201] Trailing whitespace
postgres/manage.sls:57

[201] Trailing whitespace
postgres/manage.sls:67
```
2019-10-09 18:08:20 +01:00
N
eca6d97e59
fix(freebsd): no libpqdev freebsd package 2019-09-11 14:39:03 +01:00
Niels Abspoel
3df38b1be2
Merge pull request #280 from noelmcloughlin/archlinux
feat(archlinux): add support, fixing rendering errors
2019-09-03 20:29:24 +02:00
N
e9709254c6
feat(archlinux): add support, fixing rendering errors 2019-09-03 14:36:16 +01:00
Imran Iqbal
5160365a71 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.6.0)
2019-08-17 16:06:31 +01:00
Imran Iqbal
1f0fd92674
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix (or ignore) errors shown below:

```bash
postgres-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./postgres/repo.yaml
  4:2       error    syntax error: found character '%' that cannot start any token
  6:89      error    line too long (110 > 88 characters)  (line-length)
  9:89      error    line too long (95 > 88 characters)  (line-length)
  13:89     error    line too long (104 > 88 characters)  (line-length)
  14:89     error    line too long (106 > 88 characters)  (line-length)

./postgres/defaults.yaml
  3:1       warning  missing document start "---"  (document-start)
  4:22      warning  truthy value should be one of [false, true]  (truthy)
  5:16      warning  truthy value should be one of [false, true]  (truthy)
  5:22      warning  too few spaces before comment  (comments)
  20:10     warning  truthy value should be one of [false, true]  (truthy)
  40:8      warning  missing starting space in comment  (comments)
  41:89     error    line too long (97 > 88 characters)  (line-length)
  71:11     error    too many spaces after colon  (colons)
  72:12     warning  truthy value should be one of [false, true]  (truthy)
  74:15     warning  truthy value should be one of [false, true]  (truthy)
  85:6      warning  missing starting space in comment  (comments)
  89:11     warning  truthy value should be one of [false, true]  (truthy)
  90:24     warning  truthy value should be one of [false, true]  (truthy)
  91:56     error    too few spaces after comma  (commas)

./postgres/codenamemap.yaml
  3:2       error    syntax error: found character '%' that cannot start any token
  8:89      error    line too long (98 > 88 characters)  (line-length)
  49:89     error    line too long (110 > 88 characters)  (line-length)
  53:89     error    line too long (99 > 88 characters)  (line-length)

./postgres/osmap.yaml
  1:2       error    syntax error: found character '%' that cannot start any token
  5:89      error    line too long (115 > 88 characters)  (line-length)

./postgres/osfamilymap.yaml
  1:2       error    syntax error: found character '%' that cannot start any token
  57:89     error    line too long (90 > 88 characters)  (line-length)
  58:89     error    line too long (113 > 88 characters)  (line-length)
  134:89    error    line too long (103 > 88 characters)  (line-length)
  135:89    error    line too long (127 > 88 characters)  (line-length)
  205:89    error    line too long (91 > 88 characters)  (line-length)
  206:89    error    line too long (91 > 88 characters)  (line-length)

pillar.example
  3:1       warning  missing document start "---"  (document-start)
  8:22      warning  truthy value should be one of [false, true]  (truthy)
  13:16     warning  truthy value should be one of [false, true]  (truthy)
  20:4      warning  missing starting space in comment  (comments)
  21:4      warning  missing starting space in comment  (comments)
  42:4      warning  missing starting space in comment  (comments)
  65:4      warning  missing starting space in comment  (comments)
  87:4      error    syntax error: found character '%' that cannot start any token

test/salt/pillar/postgres.sls
  4:2       error    syntax error: found character '%' that cannot start any token
```
2019-08-16 17:00:02 +01:00
Imran Iqbal
84eef0cf07 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.2)
2019-07-25 09:36:51 +01:00
John Keates
904ba271ca
feat(debian): add buster support 2019-07-24 22:12:26 +02:00
John Keates
e5700f48c5
Update codenamemap.yaml 2019-07-24 20:14:35 +02:00
Imran Iqbal
72ff82ce75 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
2019-07-19 12:34:38 +01:00
julien levieil
8745365d71 fix(freebsd-user): fix FreeBSD daemon's user for PostgreSQL >= 9.6
For postgresql 9.6 and newer, the default unix user used by postgresql
daemon has changed to 'postgres', and the default data directory is:
/var/db/postgres/data96

Closes #263
2019-05-16 09:35:35 +11:00
Imran Iqbal
65519cb06f
Merge pull request #264 from sticky-note/master
fix(sysrc-svc): workaround *BSD minion indefinitely hanging on start
2019-05-12 23:24:58 +01:00
sam
0aa8b4a048 fix(sysrc-svc): workaround *BSD minion indefinitely hanging on start
Check https://github.com/saltstack/salt/issues/44848 for further details
2019-05-13 08:44:52 +11:00