Commit graph

416 commits

Author SHA1 Message Date
Niels Abspoel
761b1ca49e
Merge pull request #226 from noelmcloughlin/fromrepo2
add fromrepo support for pg client
2018-06-17 14:14:30 +02:00
Niels Abspoel
844ae9742c
Merge pull request #218 from myii/PR_port
Allow `port` to be configurable
2018-06-17 13:40:48 +02:00
Niels Abspoel
0c6f9a4c2b
Merge pull request #225 from myii/patch-1
Use upstream instructions for Apt `pkg_repo` (remove unnecessary `version`)
2018-06-17 12:41:41 +02:00
Niels Abspoel
4a8059954d
Merge pull request #227 from noelmcloughlin/fixtypo
fix typo in package name
2018-06-17 12:40:36 +02:00
N
70ee621b78 fix typo in package name 2018-06-16 21:50:30 +01:00
N
04a09dcc36 add fromrepo support for client binaries 2018-06-16 21:02:01 +01:00
Jerzy Drozdz
ed1315feed Fixed variable typo 2018-06-16 19:24:55 +02:00
N
81919a9d46
Merge pull request #224 from jdsieci/remove_install_dev_by_default
Client should not install dev libs by default
2018-06-16 18:00:24 +01:00
N
e3ffa44810 Handle postgres dev package dependencies 2018-06-16 17:55:51 +01:00
Imran Iqbal
79ab1a2930 Avoid duplicate Jinja conditional block by moving service restart 2018-06-16 13:12:40 +01:00
Imran Iqbal
e474db9476 Use upstream instructions for Apt pkg_repo (remove unnecessary version)
Upstream instructions: https://www.postgresql.org/download/linux/ubuntu/.

* deb http://apt.postgresql.org/pub/repos/apt/ YOUR_UBUNTU_VERSION_HERE-pgdg main
2018-06-16 05:37:17 +01:00
Jerzy Drozdz
b20a8e77b4 Fixed problems with per database extensions and schemas 2018-06-14 23:59:04 +02:00
Jerzy Drozdz
ee532daf66 Client should not install dev libs by default 2018-06-14 23:50:57 +02:00
Imran Iqbal
9fdce93004 Set default version to 10 2018-06-13 02:07:16 +01:00
Imran Iqbal
311cb3d187 Enable replication connections by default in pg_hba.conf
Upstream commit:

- be37c2120a
- 9 Mar 2017
- master REL_11_BETA1 REL_10_4 ... REL_10_BETA1
2018-06-13 02:07:16 +01:00
Imran Iqbal
65683252c4 Use separate state for restarting service re: postgresql.conf 2018-06-12 19:54:42 +01:00
Imran Iqbal
e1a19ed78f Use top-level postgres.port and existing states to set port 2018-06-12 10:21:27 +01:00
N
d9c071a547
Merge pull request #219 from noelmcloughlin/better_jinja_syntax
Improve Jinja2 syntax in repo.yaml
2018-06-12 09:20:05 +01:00
Noel McLoughlin
8fce906d1b tidyup bad jinja2 syntax 2018-06-11 19:07:20 +01:00
Imran Iqbal
0d9a5ba239 Append Managed by SaltStack comment to port setting
* Regex modified:
  - Ensure whitespace before comment is maintained
  - Consistent with surrounding lines in the file
* Used YAML pipe `>-` due to the colon-space (`: `) in the comment
2018-06-11 02:42:24 +01:00
N
6840bf3839
Merge pull request #204 from noelmcloughlin/python
use upstream repo for python if configured
2018-06-09 19:16:09 +01:00
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
N
800259dffe
Merge pull request #217 from myii/patch-2
Prevent default `fromrepo` being evaluated as string 'None'
2018-06-06 19:45:11 +01:00
Imran Iqbal
cdca9108e0 Add fromrepo to pillar.example 2018-06-06 16:37:56 +01:00
Imran Iqbal
2c6483f235 Use default filter for fromrepo instead of or 2018-06-06 16:37:56 +01:00
Imran Iqbal
6a77bbbecd Prevent remaining defaults from being evaluated as string 'None' 2018-06-06 16:37:54 +01:00
N
84e027c4b8
Merge pull request #215 from myii/patch-1
Update `codenamemap` for Ubuntu
2018-06-06 14:41:59 +01:00
myii
bfb158c0e3
Prevent default fromrepo being evaluated as string 'None'
Bare `fromrepo:` results in `{..., 'fromrepo': 'None', ...}`
2018-06-06 05:40:09 +01:00
myii
008526b9e5
Update codenamemap for Ubuntu
Modified for current supported versions as shown at:

* https://packages.ubuntu.com/search?keywords=postgresql&searchon=names
2018-06-05 16:12:08 +01:00
N
e6be41aa15
Merge branch 'master' into python 2018-05-17 16:27:05 +01:00
noelmcloughlin
be07072e4f use upstream repo for python if configured 2018-05-17 16:25:55 +01:00
Niels Abspoel
d22b66dfd0
Merge pull request #211 from mkotsbak/fix_relative_references
Make formula relative to actual directory by using 'tpldir'
2018-05-11 22:45:34 +02: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
Niels Abspoel
e08f52aaca
Merge pull request #212 from noelmcloughlin/tidyUpCodenamemap
Tidyup codenamemap.yaml for Fedora
2018-05-10 11:30:03 +02:00
Noel McLoughlin
c476099a5e Tidyup codenamemap.yaml 2018-05-10 09:43:19 +01:00
N
6e21e4914a
Merge pull request #209 from noelmcloughlin/fromrepo
Introduce fromrepo support.
2018-05-09 17:45:32 +01:00
Noel McLoughlin
82ef464e86 Remove 'from_repo' in defaults & pkg_dev in codenamemap (not needed) 2018-05-08 09:40:51 +01:00
N
89fa6e87e1
Merge pull request #210 from mkotsbak/patch-1
Better default data directory permission
2018-05-04 14:38:41 +01:00
Marius B. Kotsbak
b5e3fdd3b0
Better data directory permission
Postgresql won't start without directory permission 0700.
2018-05-03 17:24:59 +02:00
noelmcloughlin
3f5c6b5010 Merge branch 'master' into fromrepo 2018-04-23 15:33:49 -06:00
N
bc72dff950
Merge pull request #203 from noelmcloughlin/upstream
Tidyup upstream.sls
2018-04-23 15:15:13 -06:00
noelmcloughlin
8dfc5a5983 Tidyup if/else in upstream.sls 2018-04-23 11:44:44 -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
N
14e360170a
Merge pull request #206 from noelmcloughlin/fixDirMode
Convert hex to decimal in defaults.yaml
2018-04-21 11:45:16 +01:00
Javier Bértoli
a8c1e9da64
Merge pull request #207 from vutny/fix-salt-2018.3-compat
Fix compatibility with Salt 2018.3.0
2018-04-12 07:02:20 -03:00
Denys Havrysh
15f3d5f5b4 Fix compatibility with Salt 2018.3.0 2018-04-12 12:35:24 +03:00
noelmcloughlin
9b289b8402 Convert hex to decimal 2018-04-09 15:50:17 +01:00
noelmcloughlin
a4e184b79c fromrepo support 2018-04-09 14:59:49 +01:00
N
b51b592a99
Merge pull request #199 from noelmcloughlin/clientdir
Add client/ directory
2018-04-09 14:31:19 +01:00