Merge pull request #1 from techhat/master

Add pkg.install for postgres
This commit is contained in:
Joseph Hall 2013-07-16 09:27:14 -07:00
commit 6cdef1d8bb

9
init.sls Normal file
View file

@ -0,0 +1,9 @@
# pkg.install
postgresql:
pkg.installed:
{% if grains['os_family'] == 'RedHat' %}
- name: postgresql
{% elif grains['os_family'] == 'Debian' %}
- name: postgresql-9.1
{% endif %}