updated postgresql module

added service
added python module
added archlinux support
This commit is contained in:
Niels Abspoel
2014-02-09 17:50:23 +01:00
parent 13c25bfbfc
commit 62b7d6c47f
4 changed files with 26 additions and 0 deletions

View File

@@ -1,8 +1,17 @@
{% set postgres = salt['grains.filter_by']({
'Debian': {
'pkg': 'postgresql-9.1',
'python': 'python-pygresql',
'service': 'postgresql-9-1',
},
'RedHat': {
'pkg': 'postgresql',
'python': 'postgresql-python',
'service': 'postgresql',
},
'Arch': {
'pkg': 'postgresql',
'python': 'python-psycopg2',
'service': 'postgresql',
},
}, merge=salt['pillar.get']('postgres:lookup')) %}