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
Denys Havrysh
7307ab8dc9
Fix SLS rendering because of pkgs_extra
Jinja var isn't set by default
2016-09-02 11:14:09 +03:00
Forrest
761014ec47
Merge pull request #114 from fortune-juggle/fix/specs
...
fixes formula to comply to its spec
2016-08-09 09:14:58 -07:00
Nicole Scherfenberg
2e26b6f606
fixes formula to comply to its spec
...
The reworks in merge #110 broke this formulas kitchen based specs.
This MR changes a few minor things, mostly pillar.example and other inconsistent documentations.
Also, the use of db_user for `postgres_tablespace.present` and `postgres_database.present` now fits the states options, as db_password etc can be specified as well.
2016-08-05 20:44:45 +02:00
Niels Abspoel
da0c915d7c
Merge pull request #113 from itbabu/lc_ctype
...
Fix typo
2016-08-02 22:57:55 +02:00
Marco Badan
e7f82a1981
Fix typo
2016-08-02 22:50:16 +02:00
Forrest
767b418822
Merge pull request #110 from dynjnelson/master
...
revamp cluster initialization, fix usage of user/owner/runas/db_user, add dependencies
2016-08-01 12:45:48 -07:00
Forrest
e8dd599fd7
Merge pull request #112 from XRasher/XRasher-patch-1
...
Update upstream.sls
2016-07-25 09:03:37 -07:00
Vladislav Malakhin
05aae61812
Update upstream.sls
...
Fix package name for Debian upstream
2016-07-25 16:27:06 +07:00
Jon Nelson
90cfea1e15
- change C.UTF-8 to en_us.UTF-8 in example pillar, as the former does not
...
work on all distributions
2016-07-19 10:10:56 -05:00
Jon Nelson
1c72c7c3a1
- for encoding, lc_type, and lc_collate, only set them on the database if
...
they are explicitly supplied. Otherwise use the postgres database
defaults.
2016-07-19 10:10:07 -05:00
Jon Nelson
7a7396fcb2
remove explicit LC_ALL environment variable setting that only works on some distros
2016-07-19 10:09:39 -05:00
Jon Nelson
45887735c6
properly quote identifiers with double quotes. This is rarely necessary.
2016-07-12 09:48:21 -05:00
Jon Nelson
278c2e4ce8
support 'owner' argument to tablespace_create
2016-07-11 19:14:31 -05:00
Jon Nelson
9b5526a680
- add 'runas', 'user', and 'owner' to all database object creation
...
(where appropriate)
- add missing 'requires' on database objects (schemas require databases,
databases require users, etc....)
- alter structure of schema and extension configuration:
now schema and extension configuration follows the other items in that
they are expected to be *dictionaries* where the key is the name of
the object and the value is another subdictionary of configuration.
2016-07-11 19:14:31 -05:00
Jon Nelson
0220b67a85
- re-arrange cluster initialization to a set of variables in a dictionary
...
which control three things:
1. should we initialize?
2. if so, how?
3. what environment variables and user to use
The approach taken is very similar to what the Apache formula uses, namely:
a default dictionary which is over-ridden by:
os-specific defaults,
then os codename defaults,
then os finger defaults,
and finally user-specified pillar values
- this also adds support for grains['osfinger']
2016-07-11 15:29:11 -05:00
Forrest
783d78bde7
Merge pull request #108 from tgoodaire/master
...
Remove leading spaces
2016-07-08 13:12:00 -07:00
Tim Goodaire
c16c78a38e
Removed leading spaces
2016-07-08 16:03:55 -04:00
Tim Goodaire
e257da507f
Merge remote-tracking branch 'upstream/master'
2016-07-08 16:02:43 -04:00
Forrest
31b2733b6f
Merge pull request #107 from tgoodaire/simplify_codenamemap
...
Simplify codenamemap
2016-07-08 10:31:02 -07:00
Tim Goodaire
153c0d64bb
Simplify codenamemap
2016-07-08 11:25:59 -04:00
Tim Goodaire
982ee93f9a
Revert "Simplify codenamemap"
...
This reverts commit bba8eabf35
.
2016-07-07 16:05:35 -04:00
Tim Goodaire
bba8eabf35
Simplify codenamemap
2016-07-07 15:41:44 -04:00
Niels Abspoel
e15861cb64
Merge pull request #103 from netmanagers/master
...
Allow to specify a tablespace for a database
2016-06-08 20:22:44 +02:00
Javier Bértoli
9719e2354e
Allow to specify a tablespace for a database
...
* Tablespaces have to be created before the databases
* Add pillar examples
* Add tests
2016-06-08 07:36:28 -03:00
Niels Abspoel
87a9980729
Merge pull request #102 from EvaSDK/master
...
Fix broken Arch initdb from merge of PR#101
2016-06-07 20:45:38 +02:00