saltstack-formulas/postgres-formula — pull request #27 by saxonww (2014-12-31 22:23:55+00:00)
Title: 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.

I've tested this with a postgres install on Ubuntu 14.04, and it seems to work fine. I think it should work on all platforms.