Commit graph

196 commits

Author SHA1 Message Date
Vladislav Malakhin
05aae61812 Update upstream.sls
Fix package name for Debian upstream
2016-07-25 16:27:06 +07: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
Gilles Dartiguelongue
c1ea789690 Switch version specific Debian pkg_dev to "virtual" package
This package depends on the proper version per release.
2016-06-07 12:07:32 +02:00
Gilles Dartiguelongue
749d2f2e12 Drop redundant -D datadir from Arch initdb command 2016-06-07 12:07:32 +02:00
Gilles Dartiguelongue
e0ed6b6e77 Kill create_cluster pillar switch, refs: #100
It is just a variant of init_db. A more correct solution would be to
support configuring a different initdb command while passing values from
the pillar by default like version. This would make it truly generic but
is probably not achievable given current pillar self-referencing
capabilities (ie. none).

Thus, I decided to make it OS family specific since Debian provides its
own tools to manage clusters, etc. Gentoo also has a specific way to
initialize a new cluster which does not fit with commands.initdb so
the current if/elif would be extended when support is added for Gentoo.
2016-06-07 12:00:50 +02:00
Niels Abspoel
dd53a6bea9 Merge pull request #101 from EvaSDK/debian-family-fixes
Debian family fixes
2016-06-06 15:52:30 +02:00
Gilles Dartiguelongue
6ab619f8c5 Set pkg_dev for all debian variants 2016-06-06 14:45:27 +02:00
Gilles Dartiguelongue
ddf0e4733b Set datadir for Debian family OSes, refs: #100 2016-06-06 14:37:51 +02:00
Gilles Dartiguelongue
4a00acf26a Split postgresql-cluster-prepared in two states, refs: #100
Previous write up lead the two pillar settings overwriting each other in the same state.
We can now properly select whether to create a cluster and/or initialize a new database.

Also the commands will not fail if both settings are false as found on Debian family OSes
as this is taken care of by the packaging system for main cluster.
2016-06-06 14:37:51 +02:00
Gilles Dartiguelongue
8ddfbd2403 Add codenamemap entry for Ubuntu Wily Werewolf 2016-06-06 14:13:47 +02:00
Wolodja Wentland
4945d0d1ba Merge pull request #99 from a-powell/master
Adding pkg dependency for directory permissions.
2016-06-05 19:53:51 +02:00
Alex Powell
dca04c76d1 Adding pkg dependency for directory permissions. 2016-06-05 12:55:00 +01:00
Forrest
a5012f0168 Merge pull request #95 from aboe76/fix_archlinux_postgresql_client
fix client package on archlinux
2016-05-25 14:16:20 -07:00
Niels Abspoel
d046fe9909 fix client package on archlinux 2016-05-25 23:06:12 +02:00
Forrest
d3586654ef Merge pull request #94 from aboe76/archlinux_support
add archlinux defaults
2016-05-25 13:29:15 -07:00
Niels Abspoel
f1a45675d0 add archlinux defaults 2016-05-25 22:16:59 +02:00
Niels Abspoel
efba14c7a2 Merge pull request #93 from tgoodaire/master
Allow initdb to be run as other users, cleanup of dependencies
2016-05-25 21:57:35 +02:00
Forrest
0d17024189 Merge pull request #92 from dahrens/issue_91
Reload postgresql server instead of restarting it
2016-05-25 09:49:04 -07:00
Tim Goodaire
3ee730996b Cleanup, including restructuring and renaming 2016-05-25 12:12:48 -04:00
Dennis Ahrens
52f27d2df7 Reload postgresql server instead of restarting it
In case of changes in postgresql.conf and pg_hba.conf the
postgresql will now reload instead of restart.
2016-05-25 11:12:53 +02:00
Tim Goodaire
fac8b6b936 Rename runtime_dir to data_dir 2016-05-24 11:40:14 -04:00
Tim Goodaire
e4bb5bf133 Improvements to initdb stuff 2016-05-24 11:02:30 -04:00
Tim Goodaire
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
2016-05-23 15:02:26 -04:00
Tim Goodaire
61acd4fd75 Explicitly list the grain that we're filtering by
(even though it's the default)
2016-05-23 15:02:26 -04:00
Wolodja Wentland
e9e41eb12c Merge pull request #90 from tgoodaire/master
Convert hard-coded postgres user and group to variables, enforce owne…
2016-05-20 18:22:39 +02:00
Tim Goodaire
e36478bcd6 Convert hard-coded postgres user and group to variables, enforce ownership of conf dir, don't create pg_hba.conf unless initdb has succeeded 2016-05-20 12:12:40 -05:00
Forrest
aba8414809 Merge pull request #88 from mattysads/master
Add Xenial to code name map
2016-05-01 11:53:31 -07:00
Matt Sadler
a7dbcdcf38 Add xenial 2016-04-30 13:16:46 -06:00
Forrest
6d6c7f7e9b Merge pull request #86 from campbellmc/pg.conf_backup_patch
Added option to disable creation of backup file when postgresql.conf …
2016-03-14 16:14:02 -07:00
Campbell
11f4f0f580 Added option to disable creation of backup file when postgresql.conf changes 2016-03-14 19:19:32 +00:00
puneet kandhari
a0d76f3418 Merge pull request #85 from alexjennings/master
Upstream repo for RedHat
2016-02-20 09:53:45 -06:00
alex
82f468ed53 Upstream repo for RedHat 2016-02-20 14:12:08 +00:00
Forrest
033e531872 Merge pull request #84 from retrry/master
Add postgresql overrides for CentOS 6/7
2016-02-17 11:32:18 -08:00
Tadas Barzdzius
ca34e0b79e Add postgresql overrides for CentOS 6/7 2016-02-17 12:57:42 +02:00
Wolodja Wentland
7e7841844e Merge pull request #83 from infoportugal/master
Support for Ubuntu 12.04 LTS (Precise)
2016-02-01 16:06:50 +00:00
Rui Martins
5810ab75e2 Support for Ubuntu 12.04 LTS (Precise) 2016-02-01 15:31:34 +00:00
Forrest
8567a126de Merge pull request #82 from blbradley/revert-pr-73-and-77
do not manage permissions of postgres config directory
2016-01-15 11:40:27 -08:00
Brandon Bradley
dea3c52880 do not manage permissions of postgres config directory 2016-01-15 09:04:31 -06:00
Brian Jackson
014a58073a Merge pull request #77 from saltstack-formulas/puneetk-patch-1
Remove backwards incompatible change
2015-11-23 09:58:39 -08:00
puneet kandhari
471ac94a5b Remove backwards incompatible change 2015-11-23 11:42:26 -06:00
puneet kandhari
1b7097207f Merge pull request #72 from tenso-m/dropped
add dropped state
2015-11-23 06:54:52 -06:00