Commit graph

413 commits

Author SHA1 Message Date
Alexander Weidinger
3a6cb010d6 Readme: added instructions for FreeBSD Jails 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
Niels Abspoel
7cb86d1183
Merge pull request #248 from noelmcloughlin/fixes
selinux fcontext for postgres_database.present
2018-10-18 21:42:49 +02:00
N
dddb669f3b
handle selinux enforcing for tablespaces/db 2018-10-18 15:57:29 +01:00
Javier Bértoli
656dc4b76d
Merge pull request #244 from bebosudo/bebosudo_whitespaces_hba
Edit pg_hba template to work with jinja 'trim whitespaces' option on salt master
2018-10-17 11:13:26 -03:00
Niels Abspoel
5108b88a8b
Merge pull request #245 from gilou/optional_prepare
Make the preparation/initdb optional
2018-10-15 19:38:11 +02:00
Niels Abspoel
99c15acac9
Merge pull request #247 from noelmcloughlin/fixes
Fix 'requisites were not found'
2018-10-15 19:37:39 +02:00
N
a521af36ad
Fix 'requisites were not found' issue 2018-10-15 15:51:23 +01:00
Javier Bértoli
ccfe9c2b7c
Merge pull request #246 from gilou/path_repo
allow to add bin_dir to path
2018-10-11 08:51:10 -03:00
Gilou
5c094a05ca Rename setting to add_profile, add an example to explain it 2018-10-11 02:37:51 +02:00
Gilou
728dbb64e5 add warning in sh file 2018-10-10 18:04:35 +02:00
Gilou
f2c13abe9c add a profile.d script to add bin_dir to path 2018-10-10 18:04:35 +02:00
Gilou
187c86fe97 set dependencies accordingly: if asked to prepare, depend on the cmd being run, otherwise, only depend on the file 2018-10-09 20:02:22 +02:00
Gilou
6de97ce0f1 only run initdb/prepare cmd if asked for it, and let it run by default. 2018-10-09 19:48:47 +02:00
Niels Abspoel
809faa4734
Merge pull request #243 from alxwr/master
FreeBSD: use correct client package
2018-10-05 10:55:22 +02:00
Alberto Chiusole
a302d61059 Edit pg_hba template to work with jinja 'trim whitespaces' option on the master. 2018-10-03 23:33:06 +02:00
Alexander Weidinger
2a330ade40 FreeBSD: use correct client package 2018-10-03 21:51:00 +02:00
Niels Abspoel
096293be22
Merge pull request #238 from noelmcloughlin/macos
Fix file.managed for macos
2018-08-31 09:41:43 +02:00
N
e67e2ad8b7 fix macos states 2018-08-30 22:42:44 +01:00
N
110bfb15ca fix dirpath on macos 2018-08-30 22:27:05 +01:00
Niels Abspoel
943d6c94d2
Merge pull request #237 from noelmcloughlin/macOSissue
fix postgres.dev state rendering error
2018-08-23 20:26:04 +02:00
N
3df515a036 fix rendering error 2018-08-23 10:31:09 +01:00
Niels Abspoel
8dfba2abdc
Merge pull request #223 from jdsieci/fix_per_database_extensions_schemas
Fixed problems with per database extensions and schemas #140
2018-07-29 16:56:36 +02:00
Niels Abspoel
08b9b1a99d
Merge pull request #235 from noelmcloughlin/dev_init
move dev.sls to dev/init.sls
2018-07-29 16:56:17 +02:00
N
fdf1bdc99d move dev.sls to dev/init.sls 2018-07-25 22:31:35 +01:00
Niels Abspoel
faa487dd8d
Merge pull request #234 from noelmcloughlin/remove_states
Enhance remove S/W support
2018-07-25 10:19:09 +02:00
N
9d2f69a865 Enhance remove S/W support 2018-07-25 00:18:42 +01:00
Niels Abspoel
332fe7b2b5
Merge pull request #232 from myii/PR_cluster
Allow configuration of cluster `name`, `locale` & `encoding`
2018-06-28 09:15:33 +02:00
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