postgres-formula/postgres/upstream.sls
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

14 lines
450 B
Text

{% from "postgres/map.jinja" import postgres with context %}
{% if grains['os_family'] == 'Debian' %}
install-postgresql-repo:
pkgrepo.managed:
- humanname: PostgreSQL Official Repository
- name: {{ postgres.pkg_repo }} {{ postgres.version }}
- keyid: B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
- keyserver: keyserver.ubuntu.com
- file: {{ postgres.pkg_repo_file }}
- require_in:
- pkg: {{ postgres.pkg }}
{% endif %}