Commit graph

27 commits

Author SHA1 Message Date
noelmcloughlin
8887f96ed8 rename osmap to osfamilymap 2018-03-27 18:41:48 +01:00
Denys Havrysh
d4ed4be16e Attempt to start and manage PostgreSQL service even if init system fails 2017-01-06 16:33:40 +02:00
Denys Havrysh
c285f1006c Introduce osmajorreleasemap for RedHat release specific commands 2016-09-05 13:49:33 +03: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
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
Brian Jackson
967fa6504b Switch to new style map.jinja
Move this formula to the new style map.jinja. Still need to sort out RedHat
handling, but it's not any worse than it was before (i.e. horribly broken)
2015-04-22 17:47:02 -05:00
Dominic Ferrantelli
f6e68157a3 added client formula and required default values 2015-04-21 13:06:41 -07:00
Alan Pearce
3baf9ca8e1 Add switch to install contrib package 2015-02-14 17:36:04 +00:00
Alan Pearce
b317cebf18 Add option to use upstream repo on Debian 2015-02-01 14:40:45 +00:00
Will Saxon
a58f153fb1 Remove duplication in map.jinja
This change addresses #26 by consolidating Ubuntu and Debian
configuration back under the 'Debian' os_family grain.

The main difference between the various Ubuntu and Debian versions is
the version of postgresql in use; package/service names and directory
patterns are identical. This change separates the version number into
its own pg_version dictionary, which is used as needed by the postgres
dictionary.
2014-12-31 16:58:41 -05:00
John Keates
503c5f9eea Fix indentation on line 54 2014-12-22 15:18:17 +01:00
John Keates
4aabfdeae8 Add support for Debian 7 and Debian 8 2014-12-22 15:02:13 +01:00
Adrien Bréfort
4ced50dac3 Remove default cluster creation for Ubuntu.
Since this is already done by the post-install script.
2014-12-21 23:11:00 +01:00
Adrien Bréfort
69ef32edb4 Add Ubuntu 14.10 map support. 2014-12-21 22:22:07 +01:00
Berry Langerak
a8afe3ed58 Re-adding variables that I removed by accident.: 2014-10-06 11:48:12 +02:00
Berry Langerak
cfbc2910ed Fixing merge conflict. 2014-10-06 11:43:45 +02:00
Berry Langerak
c9aeea4c66 Added the ability to add custom configuration to the postgresql.conf configuration file. 2014-10-06 11:34:43 +02:00
Berry Langerak
59e6f3e1fd Removing the static 9.3 from init.sls, moving it to a variable. 2014-10-06 10:38:12 +02:00
Berry Langerak
aef555ad80 Fixing issues with Centos (initdb, and service name). 2014-10-06 10:14:34 +02:00
Berry Langerak
f96844c7c0 Adding PostgreSQL 9.3 support for Ubuntu 14.04
- Added conditional support for PostgreSQL 9.3.
- Added conf_dir and create_cluster variables to denote actions based on
  OS / release.
2014-10-01 16:55:01 +02:00
Nitin Madhok
6875fa39fa Revert "update map.jinja Debian grain for postgresql 9.3" 2014-09-25 12:24:34 -04:00
Brandon Bradley
ffc266221b update map.jinja Debian grain for postgresql 9.3 2014-09-25 08:18:28 -05:00
Audrey Roy
ac7e017eb5 Ubuntu uses Debian mapping. 2014-05-15 14:54:53 -07:00
Audrey Roy
c244688496 Add pg_hba.conf, Ubuntu mapping, and example.. 2014-05-15 14:44:39 -07:00
Ken Smith
509d1787d0 Corrected service name on Debian/Ubuntu 2014-02-27 11:37:02 -05:00
Niels Abspoel
62b7d6c47f updated postgresql module
added service
added python module
added archlinux support
2014-02-09 17:50:23 +01:00
Forrest Alvarez
1ed1159748 Updated postgres to add the map, and modified the init to support this. Updated readme as well. 2014-01-26 04:06:22 +00:00