Commit graph

19 commits

Author SHA1 Message Date
Imran Iqbal
06e5944133 Allow port to be configurable
Regex:

- `^`        Line start
- `#*\s*`    Find line even if commented out
- `(port)`   'port' -- capture as backreference `\1`
- `\s*=\s*`  Equals sign, whether or not surrounded by whitespace
- `\d{4,5}`  Existing port value, expected at 4/5 digits
- `(.*)`     Remainder (i.e. comment) -- capture as backreference `\2`
- `$`        Line end
2018-06-09 00:21:40 +01:00
Marius Kotsbak
dd526f1de2 Make formula relative to actual directory by using 'tpldir' 2018-05-11 22:35:50 +02: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
3f5c6b5010 Merge branch 'master' into fromrepo 2018-04-23 15:33:49 -06:00
noelmcloughlin
82c2e6ccb6 Merge branch 'master' of https://github.com/saltstack-formulas/postgres-formula into alts 2018-04-22 01:42:12 -06:00
Denys Havrysh
15f3d5f5b4 Fix compatibility with Salt 2018.3.0 2018-04-12 12:35:24 +03: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
Brian Glogower
feb2b386ce
Allow setting dir mode for conf_dir in pillar
The current mode of 0775 causes start problems:

`FATAL:  data directory "/var/lib/postgresql/9.6/main" has group or world access`
2018-03-31 13:03:16 -07:00
Gilles Dartiguelongue
60cc787b16
Add support for configure pg_ident.conf 2018-03-12 16:40:27 +01:00
noelmcloughlin
a34a4c270c Homebrew Postgres on MacOS 2018-03-08 21:27:47 +00:00
N
9e6adde7b5
Merge branch 'master' into alternatives 2018-03-06 16:26:08 +00:00
Noel McLoughin
db90890184 Tidyup alternatives system priority hardcoding 2018-02-22 22:07:43 +00:00
Noel McLoughin
1065e1c67c 'env' should be [] not {} in defaults.yml 2018-01-22 14:06:03 +00:00
Denys Havrysh
22446cc53e Resolve #148: workaround prereq causing infinite recursion 2017-02-15 12:05:56 +02:00
Denys Havrysh
79b83fe414 Make local backup of pg_hba.conf file before modification 2017-01-13 12:09:45 +02:00
Denys Havrysh
69a59b6f63 Skip configuring ACLs in `pg_hba.conf` if not provided 2017-01-12 11:34:41 +02:00
Denys Havrysh
b7771fec8c Fix requisite for tablespace directories 2017-01-09 16:01:50 +02:00
Denys Havrysh
783041b8cc Separate states for baking VM or container image 2017-01-08 17:41:12 +02:00
Renamed from postgres/server.sls (Browse further)