Commit graph

35 commits

Author SHA1 Message Date
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
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
LitniAlex
69b57e3b69 fix(contributing): postgresql-repo state ID requires python3-apt package 2020-07-06 17:24:28 +03:00
N
eca6d97e59
fix(freebsd): no libpqdev freebsd package 2019-09-11 14:39:03 +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
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
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
Alexander Weidinger
5931800719 Fix: use correct directories in FreeBSD 2019-01-14 14:59:21 +01:00
Alexander Weidinger
8a5353d693 Fix: use correct user and group to run initdb in FreeBSD 2019-01-14 14:58:58 +01:00
Alexander Weidinger
2a330ade40 FreeBSD: use correct client package 2018-10-03 21:51:00 +02:00
Niels Abspoel
9865664963
Merge pull request #228 from noelmcloughlin/confdata1
Allow conf/data directory separation
2018-06-20 10:46:26 +02:00
Niels Abspoel
a827825050
Merge pull request #220 from noelmcloughlin/macos_fix
Fix  /Library/LaunchDaemons/limit.maxfiles.plist on MacOS
2018-06-19 08:24:16 +02:00
N
bdbc784f0f limits file has jinja context; fix #213 2018-06-18 23:56:30 +01:00
N
764863fc8e Split conf/data directories, support 2018-06-18 23:46:29 +01:00
Niels Abspoel
501b0b678a
Merge pull request #221 from noelmcloughlin/devpkg
Fix dev package os dependencies
2018-06-18 19:37:57 +02:00
N
70ee621b78 fix typo in package name 2018-06-16 21:50:30 +01:00
N
e3ffa44810 Handle postgres dev package dependencies 2018-06-16 17:55:51 +01:00
Niels Abspoel
3d8d8486ed
Merge pull request #205 from noelmcloughlin/alts
Unique state ID and alternative for dev package
2018-05-10 11:31:48 +02:00
noelmcloughlin
a4e184b79c fromrepo support 2018-04-09 14:59:49 +01:00
noelmcloughlin
cc30fbb903 Updated alternatives solution 2018-03-31 22:51:52 +01:00
N
43b51148fe
Merge pull request #201 from noelmcloughlin/fedora2
Use osmap for OS handling of fedora repo
2018-03-31 20:15:34 +01:00
noelmcloughlin
70491364bd Add OS grain filter_by. Move Fedora to osmap 2018-03-31 20:13:23 +01:00
noelmcloughlin
d93d80bae2 Avoid corrupted upstream install on Debian's 2018-03-28 12:05:37 +01:00
noelmcloughlin
44f5b7d158 Merge branch 'master' of https://github.com/saltstack-formulas/postgres-formula into notOSmap 2018-03-27 18:42:53 +01:00
noelmcloughlin
8887f96ed8 rename osmap to osfamilymap 2018-03-27 18:41:48 +01:00
Renamed from postgres/osmap.yaml (Browse further)