Updated postgres to add the map, and modified the init to support this. Updated readme as well.
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
# pkg.install
|
||||
postgresql:
|
||||
pkg.installed:
|
||||
{% if grains['os_family'] == 'RedHat' %}
|
||||
- name: postgresql
|
||||
{% elif grains['os_family'] == 'Debian' %}
|
||||
- name: postgresql-9.1
|
||||
{% endif %}
|
||||
{% from postgres/map.jinja import postgres with context %}
|
||||
|
||||
postgresql:
|
||||
pkg:
|
||||
- installed
|
||||
- name: {{ postgres.pkg }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user