Commit graph

729 commits

Author SHA1 Message Date
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
puneet kandhari
7bfde30dde Merge pull request #74 from tenso-m/extra
replace pkg_contrib with pkgs_extra
2015-11-23 06:54:22 -06:00
puneet kandhari
9ef3abbb4c Merge pull request #73 from tenso-m/dir-perms
ensure proper permissions for postgresql dir
2015-11-23 06:53:56 -06:00
puneet kandhari
2956529010 Merge pull request #75 from tenso-m/suse
add Suse default values
2015-11-23 06:53:26 -06:00
puneet kandhari
f74bcc5c96 Merge pull request #76 from tenso-m/refactoring
small refactoring
2015-11-23 06:52:42 -06:00
Roman Inflianskas
b71fa41bfd small refactoring 2015-11-23 14:50:51 +03:00
Roman Inflianskas
d11ba6d14a replace pkg_contrib with pkgs_extra 2015-11-23 14:50:46 +03:00
Roman Inflianskas
38e5962600 ensure proper permissions for postgresql dir 2015-11-23 14:50:42 +03:00
Roman Inflianskas
c54fcc7646 add Suse default values 2015-11-23 14:49:19 +03:00
Roman Inflianskas
2f6cbb39b6 add dropped state 2015-11-23 14:27:40 +03:00
Forrest
4f3e1cb8db Merge pull request #71 from tenso-m/master
Schemas support, better extensions support
2015-11-17 11:25:43 -08:00
Roman Inflianskas
2204733990 support options in extensions 2015-11-17 18:14:17 +03:00
Roman Inflianskas
8edafaf7a4 support schemas 2015-11-17 18:14:17 +03:00
puneet kandhari
401912743e Merge pull request #70 from abrefort/master
Add missing conf_dir for Ubuntu Codenames.
2015-11-17 07:07:30 -06:00
Adrien Bréfort
abd8314225 Add missing conf_dir for Ubuntu Codenames. 2015-11-17 12:35:40 +01:00
Forrest
70dc865448 Merge pull request #69 from blast-hardcheese/chores/moving-initdb-command
Moving initdb command definition
2015-11-15 12:21:00 -08:00
Devon Stewart
de16b00297 Adding initdb command to pillar example 2015-11-15 11:06:59 -08:00
Devon Stewart
e2b6eab753 On second thought, initdb command should be defined in defaults.yaml 2015-11-10 11:07:58 -08:00