Niels Abspoel
be80f7426b
Merge pull request #233 from SuperTux88/dont-change-modes
...
Don't set modes with every run
2018-06-25 14:04:30 +02:00
Benjamin Neff
62675f2777
Don't set modes with every run
...
* `postgresql-cluster-prepared`: `dir_mode` is set in `postgresql-config-dir`
* `postgresql-config-dir`: `file_mode` for some files is set to 600, and I think all other files are good with default mode. So don't touch any files, only change dirs.
2018-06-25 01:22:15 +02:00
Imran Iqbal
f24b962ebc
Move concatenation of cluster preparation command to map.jinja
2018-06-24 16:18:21 +01:00
N
007d639a6e
Merge pull request #231 from myii/patch-1
...
Fix `conf_dir` => `data_dir` required for preparing cluster
2018-06-21 12:26:36 +01:00
Imran Iqbal
944a077e56
Fix pillar.get
for MacOS
user/group early lookup
2018-06-21 09:41:05 +01:00
Imran Iqbal
9ce98916be
Remove trailing slash so pkgrepo.absent
works for Apt
2018-06-21 09:41:05 +01:00
Imran Iqbal
34aae257e5
Allow configuration of cluster name
, locale
& encoding
2018-06-21 08:30:08 +01:00
Imran Iqbal
67d6b8a545
Ensure service starts after cluster created
2018-06-21 08:06:08 +01:00
Imran Iqbal
c3a32eb0aa
Fix conf_dir
=> data_dir
required for preparing cluster
2018-06-21 06:19:21 +01:00
Niels Abspoel
9865664963
Merge pull request #228 from noelmcloughlin/confdata1
...
Allow conf/data directory separation
2018-06-20 10:46:26 +02:00
Jerzy Drozdz
6d895423c1
Added support for explicit state names in format_state macro
2018-06-19 20:52:25 +02:00
Jerzy Drozdz
d9fa886c6d
Formating changes, to improve readability
2018-06-19 20:39:14 +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
Niels Abspoel
aa91079a3c
Merge pull request #222 from myii/PR_psql10_acls
...
Enable replication connections by default in `pg_hba.conf`
2018-06-19 08:23:03 +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
Niels Abspoel
85fb4bff4d
Merge pull request #229 from noelmcloughlin/fixbug
...
Fix 'fromrepo' bug in fedora macro
2018-06-17 14:36:48 +02:00
N
bbe6fb3ff6
Fix 'fromrepo' bug in fedora macro
2018-06-17 13:25:14 +01:00
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