Noel McLoughlin
c476099a5e
Tidyup codenamemap.yaml
2018-05-10 09:43:19 +01:00
Noel McLoughlin
82ef464e86
Remove 'from_repo' in defaults & pkg_dev in codenamemap (not needed)
2018-05-08 09:40:51 +01:00
noelmcloughlin
a4e184b79c
fromrepo support
2018-04-09 14:59:49 +01:00
noelmcloughlin
0551e3f2ab
Update Fedora oscode mappings
2018-03-28 14:54:57 +01:00
noelmcloughlin
a34a4c270c
Homebrew Postgres on MacOS
2018-03-08 21:27:47 +00:00
Nicolas Rodriguez
7ced4e2aa4
Add support for Debian Stretch
2017-06-20 23:40:46 +02:00
YetAnotherMinion
ea695fa7d6
Support upstream repo for Fedora 25, 24, and 23
...
Resolves #143
Add a macro to override base_url for upstream package url using the grain from 3 most recent Fedora distributions
2017-02-05 13:12:53 -06: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
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
Denys Havrysh
0bb5e69b8d
Debian: make codenamemap even if lsb-release
pkg not installed
2016-09-19 17:22:07 +03:00
Denys Havrysh
c79dfeb6ec
Make setting use_upstream_repo
install PostgreSQL 9.5 by default
2016-09-13 16:42:36 +03:00
Denys Havrysh
8c4dc07467
Map Pillar dicts for PostgreSQL entities to the Salt state arguments
2016-09-09 18:02:47 +03:00
Denys Havrysh
c285f1006c
Introduce osmajorreleasemap
for RedHat release specific commands
2016-09-05 13:49:33 +03:00
Denys Havrysh
8db04833c2
Set sane defaults when use_upstream_repo
and version
Pillars are set
2016-09-04 15:26:46 +03: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
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
c16c78a38e
Removed leading spaces
2016-07-08 16:03:55 -04:00
Tim Goodaire
153c0d64bb
Simplify codenamemap
2016-07-08 11:25:59 -04: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
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
8ddfbd2403
Add codenamemap entry for Ubuntu Wily Werewolf
2016-06-06 14:13:47 +02:00
Matt Sadler
a7dbcdcf38
Add xenial
2016-04-30 13:16:46 -06:00
Rui Martins
5810ab75e2
Support for Ubuntu 12.04 LTS (Precise)
2016-02-01 15:31:34 +00:00
Adrien Bréfort
abd8314225
Add missing conf_dir for Ubuntu Codenames.
2015-11-17 12:35:40 +01:00
John Keates
810ff093ad
Merge branch 'master' of https://github.com/johnkeates/postgres-formula
2015-08-05 12:08:11 +02:00
John Keates
a2cb701014
Update codemap
2015-07-31 02:08:08 +02:00
Mads Sülau Jørgensen
58f8abb55e
Fixed conf_dir and pkg_dev on debian
...
There should be a better way of doing this, as I'm hardcoding the version name into the config dir.
On Debian based systems, postgresql is configured in "clusters" using some Debian specific tools. The main cluster is called ... main, which is why the `conf_dir` has a suffix of `main`.
2015-07-10 16:37:19 +02:00
Dominic Ferrantelli
965577ade7
added pkg_repo defaults for trusty and utopic
2015-05-05 17:14:35 -07: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