90cfea1e15- change C.UTF-8 to en_us.UTF-8 in example pillar, as the former does not work on all distributions
Jon Nelson
2016-07-19 10:10:56 -05:00
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.
Jon Nelson
2016-07-19 10:10:07 -05:00
7a7396fcb2remove explicit LC_ALL environment variable setting that only works on some distros
Jon Nelson
2016-07-19 10:09:39 -05:00
45887735c6properly quote identifiers with double quotes. This is rarely necessary.
Jon Nelson
2016-07-12 09:48:21 -05:00
278c2e4ce8support 'owner' argument to tablespace_create
Jon Nelson
2016-07-11 19:13:48 -05:00
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.
Jon Nelson
2016-07-11 13:18:17 -05:00
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']
Jon Nelson
2016-07-08 15:34:45 -05:00
783d78bde7Merge pull request #108 from tgoodaire/master
Forrest
2016-07-08 13:12:00 -07:00
c16c78a38eRemoved leading spaces
Tim Goodaire
2016-07-08 16:03:55 -04:00
e257da507fMerge remote-tracking branch 'upstream/master'
Tim Goodaire
2016-07-08 16:02:43 -04:00
31b2733b6fMerge pull request #107 from tgoodaire/simplify_codenamemap
Forrest
2016-07-08 10:31:02 -07:00
153c0d64bbSimplify codenamemap
Tim Goodaire
2016-07-07 15:41:44 -04:00
982ee93f9aRevert "Simplify codenamemap"
Tim Goodaire
2016-07-07 16:05:35 -04:00
bba8eabf35Simplify codenamemap
Tim Goodaire
2016-07-07 15:41:44 -04:00
0d17024189Merge pull request #92 from dahrens/issue_91
Forrest
2016-05-25 09:49:04 -07:00
3ee730996bCleanup, including restructuring and renaming
Tim Goodaire
2016-05-25 12:12:48 -04:00
52f27d2df7Reload postgresql server instead of restarting it
Dennis Ahrens
2016-05-25 11:12:53 +02:00
fac8b6b936Rename runtime_dir to data_dir
Tim Goodaire
2016-05-24 11:40:14 -04:00
e4bb5bf133Improvements to initdb stuff
Tim Goodaire
2016-05-24 11:02:30 -04:00
8a4eb569f4- Added initdb_user configuration, renamed postgres_user and postgres_group to user and group - Corrected inadvertent changes to postgres_user - Fixed postgres_user - Explicitly list the grain that we're filtering by even though it's default - Place *BSD user and runas into osmap instead of hardcoding
Tim Goodaire
2016-05-23 12:19:32 -05:00
61acd4fd75Explicitly list the grain that we're filtering by (even though it's the default)
Tim Goodaire
2016-05-23 14:51:17 -04:00
e36478bcd6Convert hard-coded postgres user and group to variables, enforce ownership of conf dir, don't create pg_hba.conf unless initdb has succeeded
Tim Goodaire
2016-05-20 12:12:40 -05:00
aba8414809Merge pull request #88 from mattysads/master
Forrest
2016-05-01 11:53:31 -07:00
a7dbcdcf38Add xenial
Matt Sadler
2016-04-30 13:16:46 -06:00
6d6c7f7e9bMerge pull request #86 from campbellmc/pg.conf_backup_patch
Forrest
2016-03-14 16:14:02 -07:00
11f4f0f580Added option to disable creation of backup file when postgresql.conf changes
Campbell
2016-03-14 19:19:32 +00:00