Commit graph

260 commits

Author SHA1 Message Date
Javier Bértoli
0942d5f764 Merge pull request #144 from ThinkAlexandria/fedora_support
Support upstream repo for Fedora 25, 24, and 23
2017-02-05 18:40:32 -03:00
YetAnotherMinion
ea695fa7d6 Support upstream repo for Fedora 25, 24, and 23
Resolves #143
Add a macro to override base_url for upstream package url using the grain  from 3 most recent Fedora distributions
2017-02-05 13:12:53 -06:00
Javier Bértoli
9ece3e9180 Merge pull request #139 from leansalt/pillar-extension-fix
add example on how to enable extension on a db
2017-01-24 16:21:22 -03:00
ek9
7d692958ee add example on how to enable extension on a db 2017-01-24 18:15:46 +01:00
Wolodja Wentland
98d39f296e Merge pull request #137 from vutny/skip-acls
Skip configuring ACLs in `pg_hba.conf` if not provided
2017-01-12 14:58:51 +00:00
Denys Havrysh
69a59b6f63 Skip configuring ACLs in `pg_hba.conf` if not provided 2017-01-12 11:34:41 +02:00
Javier Bértoli
7aacf9816f Merge pull request #136 from vutny/start-postgresql-even-if-there-is-no-init
Attempt to start and manage PostgreSQL service even if init system fails
2017-01-09 14:12:07 -03:00
Denys Havrysh
52d57d3576 Describe `postgres.server.image` state in README 2017-01-09 16:22:45 +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
Denys Havrysh
186e972075 Use `bake_image` Pillar setting to control PG startup behavior 2017-01-07 16:19:14 +02:00
Denys Havrysh
d48f6f2a50 Make sure the service is enabled on "deb"-based operating systems 2017-01-06 16:54:33 +02:00
Denys Havrysh
87f6cd880c Make clean state run by explicitly checking if init system is available 2017-01-06 16:37:07 +02:00
Denys Havrysh
d4ed4be16e Attempt to start and manage PostgreSQL service even if init system fails 2017-01-06 16:33:40 +02:00
Javier Bértoli
80077169ce Merge pull request #135 from vutny/set-postgresql.conf-backup-extension
Fix and set useful backup extension for postgresql.conf file
2017-01-04 09:35:00 -03:00
Denys Havrysh
3a022aa5b7 Correct listen_addresses option example for postgresql.conf file 2016-12-20 12:05:32 +02:00
Denys Havrysh
a291d40ef1 Fix and set useful backup extension for postgresql.conf file 2016-12-19 12:29:14 +02:00
Forrest
663db90006 Merge pull request #132 from vutny/workaround-salt-bug-37935
Workaround a bug in saltstack/salt#37935 for release v2016.11.0
2016-12-01 09:11:20 -08:00
Denys Havrysh
ab38a069fa Workaround a bug in saltstack/salt#37935 for release v2016.11.0 2016-12-01 16:11:37 +02:00
Javier Bértoli
c898531e9b Merge pull request #130 from vutny/remove-imported-states-modules
Remove outdated modules for managing PostgreSQL tablespaces
2016-11-04 08:02:46 -03:00
Denys Havrysh
e474debefe Remove outdated modules for managing PostgreSQL tablespaces 2016-11-04 11:49:11 +02:00
Forrest
dc1861b67f Merge pull request #129 from vutny/manage-postgres-with-client
[REFACTORING] Add `postgres.manage` state to provision DB objects
2016-10-20 09:12:30 -07:00
Denys Havrysh
74ddea8bdb [REFACTORING] Add postgres.manage state to provision DB objects 2016-10-20 12:54:39 +03:00
Javier Bértoli
62c54f04d7 Merge pull request #128 from Laogeodritt/laogeodritt-fix-acl
Fix missing spaces in long pg_hba.conf lines
2016-10-09 14:29:30 -03:00
Marc-Alexandre Chan
a04fe4681b Fix missing spaces in long pg_hba.conf lines
In generated pg_hba.conf, fix missing spaces between arguments if an argument is longer than the column width allotted to that argument in the line.
2016-10-09 07:29:52 -04:00
Forrest
69154a74f6 Merge pull request #127 from vutny/manage-postgres-with-client
Manage PostgreSQL entities with `client.sls` states
2016-10-05 09:15:17 -07:00
Denys Havrysh
234a76f1e9 Manage PostgreSQL entities with client.sls states 2016-10-04 14:38:21 +03:00
Javier Bértoli
523d10c652 Merge pull request #126 from vutny/client-bin-path
RedHat: make client binaries available in `$PATH`
2016-10-04 06:31:47 -03:00
Denys Havrysh
9518737477 Move setting client_bins item to the osmap lookup dict 2016-10-03 14:04:26 +03:00
Denys Havrysh
d5dcac95a7 RedHat: make client binaries available in $PATH 2016-09-26 18:03:11 +03:00
Javier Bértoli
ea8c88c601 Merge pull request #123 from vutny/remove-upstream-repo
Ensure upstream repo is configured or absent depending on `use_upstream_repo`
2016-09-23 19:25:01 -03:00
Denys Havrysh
84713e8fea Set use_upstream_repo: True by default 2016-09-23 17:50:57 +03:00
Denys Havrysh
b4edec9f43 Ensure upstream repo is configured or absent depending on use_upstream_repo 2016-09-22 17:05:25 +03:00
Forrest
1e87f91e8b Merge pull request #124 from heap/support-client-only
Support only including postgres.client
2016-09-21 23:15:37 -07:00
Toby Brain
b043047af4 Support only including postgres.client 2016-09-22 11:22:24 +10:00
Forrest
b972237104 Merge pull request #122 from vutny/debian-codenamemap
Debian: make codenamemap even if `lsb-release` pkg not installed
2016-09-19 10:44:52 -07:00
Denys Havrysh
0bb5e69b8d Debian: make codenamemap even if lsb-release pkg not installed 2016-09-19 17:22:07 +03:00
Javier Bértoli
0746f6091f Merge pull request #121 from mbrannigan/master
ensure template compatible with python 2
2016-09-15 10:33:32 -03:00
Mike Brannigan
e2cf9e96d7 ensure template compatible with python 2 2016-09-15 08:20:24 -05:00
Forrest
414f117011 Merge pull request #120 from vutny/use_upstream_repo-9.5
Make setting `use_upstream_repo` install PostgreSQL 9.5 by default
2016-09-13 09:34:45 -07:00
Denys Havrysh
c79dfeb6ec Make setting use_upstream_repo install PostgreSQL 9.5 by default 2016-09-13 16:42:36 +03:00
Javier Bértoli
1cfa7e0085 Merge pull request #119 from vutny/use-state-arguments-in-pillar
Map Pillar dicts for PostgreSQL entities to the Salt state arguments
2016-09-12 05:55:33 -03:00
Denys Havrysh
8c4dc07467 Map Pillar dicts for PostgreSQL entities to the Salt state arguments 2016-09-09 18:02:47 +03:00
Forrest
dd0be32810 Merge pull request #118 from vutny/acls-template
Better ACL handling in the `pg_hba.conf` file
2016-09-08 09:12:16 -07:00
Denys Havrysh
1ec55e0b96 Better ACL handling in the pg_hba.conf file 2016-09-06 14:44:35 +03:00
Forrest
6d150e60db Merge pull request #117 from vutny/osmajorreleasemap
Introduce `osmajorreleasemap` for RedHat release specific commands
2016-09-05 12:08:46 -07:00
Denys Havrysh
c285f1006c Introduce osmajorreleasemap for RedHat release specific commands 2016-09-05 13:49:33 +03:00
Forrest
a6c4185b85 Merge pull request #116 from vutny/upstream-version
Set sane defaults when `use_upstream_repo` and `version` Pillars are set
2016-09-04 11:32:37 -07:00
Denys Havrysh
8db04833c2 Set sane defaults when use_upstream_repo and version Pillars are set 2016-09-04 15:26:46 +03:00
Forrest
6651ddc498 Merge pull request #115 from vutny/fix-rendering-without-extras
Fix SLS rendering because of `pkgs_extra` Jinja variable isn't set by default
2016-09-02 09:48:07 -07:00