Updated postgres to add the map, and modified the init to support this. Updated readme as well.

This commit is contained in:
Forrest Alvarez
2014-01-26 04:06:22 +00:00
parent 7b65e18e3d
commit 1ed1159748
3 changed files with 31 additions and 8 deletions

8
postgres/map.jinja Normal file
View File

@@ -0,0 +1,8 @@
{% set postgres = salt['grains.filter_by']({
'Debian': {
'pkg': 'postgresql-9.1',
},
'RedHat': {
'pkg': 'postgresql',
},
}, merge=salt['pillar.get']('postgres:lookup')) %}